Template:DraftLink View history

m (Changed switch to return nothing for main space)
(Changed "template" parameter to "transclude", added transclude option for main pages, default is no)
 
Line 1: Line 1:
<noinclude>{{doc}}</noinclude>{{#switch:{{NAMESPACE}}
<noinclude>{{doc}}</noinclude>{{#switch:{{NAMESPACE}}
|User = {{#titleparts:{{FULLPAGENAME}}|1}}/
|User = {{#titleparts:{{FULLPAGENAME}}|1}}/
|Template = {{#ifeq:{{{template|}}}|link|Template:}}
|Template = {{#ifeq:{{{transclude|}}}|no|Template:}}
|=}}{{{1|{{#ifeq:{{NAMESPACE}}|User|{{#titleparts:{{FULLPAGENAME}}|1|2}}|{{ROOTPAGENAME}}}}}}}
|{{#ifeq:{{{transclude|no}}}|yes|:}}}}{{{1|{{#ifeq:{{NAMESPACE}}|User|{{#titleparts:{{FULLPAGENAME}}|1|2}}|{{ROOTPAGENAME}}}}}}}

Latest revision as of 01:32, 3 June 2015

Documentation icon Template documentation[create]
Please add categories to the /doc subpage.
Subpages of this template.

DraftLink