Content added Content deleted
(rewrote (simpler, more flexible override, fixes non-working), + tracking category for display-always syntax (unused?)) |
(fix (subpages not enabled in template namespace on this wiki)) |
||
Line 1: | Line 1: | ||
{{#switch:{{ |
{{#switch:{{#titleparts:{{PAGENAME}}|1|-1}} |
||
|{{{display on|doc}}} |
|{{{display on|doc}}} |
||
|{{#ifeq:{{{1}}}|override|{{SUBPAGENAME}}|%}}} = <div class="messagebox" style="text-align:center;"> |
|{{#ifeq:{{{1}}}|override|{{SUBPAGENAME}}|%}}} = <div class="messagebox" style="text-align:center;"> |
||
This [[template:documentation|documentation subpage]] contains instructions, categories, or other information for [[w:Project:Transclusion costs and benefits|technical reasons]].<br /><small>To view the {{SUBJECTSPACE}} page itself, see {{{1|[[{{SUBJECTSPACE}}:{{ |
This [[template:documentation|documentation subpage]] contains instructions, categories, or other information for [[w:Project:Transclusion costs and benefits|technical reasons]].<br /><small>To view the {{SUBJECTSPACE}} page itself, see {{{1|[[{{SUBJECTSPACE}}:{{#titleparts:{{PAGENAME}}|1|1}}]]}}}.</small> |
||
</div>{{{category|[[Category:Template documentation|<noinclude> </noinclude>{{PAGENAME}}]]}}} |
</div>{{{category|[[Category:Template documentation|<noinclude> </noinclude>{{PAGENAME}}]]}}} |
||
}}{{#ifeq:{{{1}}}|override|[[Category:Documentation subpage using 1=override]]}}<noinclude> |
}}{{#ifeq:{{{1}}}|override|[[Category:Documentation subpage using 1=override]]}}<noinclude> |