Template:DraftLink View history

(change to ROOTPAGENAME and support template)
(Changed "template" parameter to "transclude", added transclude option for main pages, default is no)
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
<noinclude>{{doc}}</noinclude>{{#switch:{{NAMESPACE}}|User={{#titleparts:{{FULLPAGENAME}}|1}}/|Template=Template:|}}{{{1|{{#ifeq:{{NAMESPACE}}|User|{{#titleparts:{{FULLPAGENAME}}|1|2}}|{{ROOTPAGENAME}}}}}}}
<noinclude>{{doc}}</noinclude>{{#switch:{{NAMESPACE}}
|User = {{#titleparts:{{FULLPAGENAME}}|1}}/
|Template = {{#ifeq:{{{transclude|}}}|no|Template:}}
|{{#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