Template:L/nspace: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
(3 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
{{#tag:phptag | | |||
$sNS="{{{1}}}"; | |||
$arFP = explode('\\',$sNS); | |||
$sFP = NULL; | |||
foreach($arFP as $sSeg) { | |||
if (!is_null($sFP)) { | |||
$sFP .= '/'; | |||
} | |||
$sFP .= $sSeg; | |||
} | |||
echo "[[$sFP|$sNS]]"; | |||
}} |
Latest revision as of 20:47, 4 June 2023
[[{{{1}}}|{{{1}}}]]