Difference between revisions of "Template:EnsureNamespace"

From AtlasWiki
Jump to: navigation, search
(Created page with "<noinclude> Ensures that the parameter passed in starts with a namespace, if none is present, the XCSG namespace is assumed to be correct, and is automatically added. </noincl...")
 
(Undo accidental replacement with a different template)
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
<noinclude>
 
<noinclude>
 
Ensures that the parameter passed in starts with a namespace, if none is present, the XCSG namespace is assumed to be correct, and is automatically added.
 
Ensures that the parameter passed in starts with a namespace, if none is present, the XCSG namespace is assumed to be correct, and is automatically added.
</noinclude><includeonly>{{#arraydefine:arg|{{{1|}}}|:|}}{{#if:{{#arrayaccess:arg|1}}|{{{1}}}|XCSG:{{{1}}}}}</includeonly>
+
</noinclude><includeonly>{{#arraydefine:arg|{{{1|}}}|:|}}{{#if:{{#arrayindex:arg|1}}|{{{1}}}|XCSG:{{{1}}}}}</includeonly>

Latest revision as of 13:14, 22 May 2014

Ensures that the parameter passed in starts with a namespace, if none is present, the XCSG namespace is assumed to be correct, and is automatically added.