(change to ROOTPAGENAME and support template) |
(Changed "template" parameter to "transclude", added transclude option for main pages, default is no) |
||
(One intermediate revision by the same user not shown) | |||
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 = {{#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
Template documentation[create]
Please add categories to the /doc subpage. Subpages of this template. |
DraftLink