Content added Content deleted
(rv to working version) |
(rewrote (simpler, more flexible override, fixes non-working), + tracking category for display-always syntax (unused?)) |
||
Line 1: | Line 1: | ||
{{#switch:{{SUBPAGENAME}} |
|||
<includeonly>{{ #ifeq:{{SUBPAGENAME}}|{{ #ifeq: {{{1}}}|override|{{SUBPAGENAME}}|doc}}|</includeonly><!-- show on doc pages only |
|||
|{{{display on|doc}}} |
|||
|{{#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}}:{{BASEPAGENAME}}]]}}}.</small> |
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}}:{{BASEPAGENAME}}]]}}}.</small> |
||
</div>{{{category|[[Category:Template documentation|<noinclude> </noinclude |
</div>{{{category|[[Category:Template documentation|<noinclude> </noinclude>{{PAGENAME}}]]}}} |
||
}}{{#ifeq:{{{1}}}|override|[[Category:Documentation subpage using 1=override]]}}<noinclude> |
|||
<includeonly>}}</includeonly> |
|||
<noinclude> |
|||
{{documentation}} |
{{documentation}} |
||
</noinclude> |
</noinclude> |