Template:Documentation subpage: Difference between revisions

rm conditional (subpages need to be enabled in the template namespace)
(simplified usage, moved documentation to subpage)
(rm conditional (subpages need to be enabled in the template namespace))
Line 1:
{| style="width:100%; border:1px solid #CCC;"
{{#ifeq:{{lc:{{SUBPAGENAME}}}}|{{{override|doc}}}|
|-
<!-- on documentation subpages -->
<table| style="width:100%30px;"| border[[Image:1px solid #CCC;">Edit-paste.svg|30px]]
| <td>This is a [[template:documentation|documentation subpage]], where instructions, categories, or other information are stored for [[w:Project:Transclusion costs and benefits|technical reasons]]. To view the {{SUBJECTSPACE}} page itself, see {{{1|[[{{SUBJECTSPACE}}:{{BASEPAGENAME}}]]}}}.</td>
<tr style="vertical-align:top;">
}|}<noinclude>{{documentation}}</noinclude>
<td style="width:30px;"> [[Image:Edit-paste.svg|30px]]</td>
<td>This is a [[template:documentation|documentation subpage]], where instructions, categories, or other information are stored for [[w:Project:Transclusion costs and benefits|technical reasons]]. To view the {{SUBJECTSPACE}} page itself, see {{{1|[[{{SUBJECTSPACE}}:{{BASEPAGENAME}}]]}}}.</td>
</tr>
</table>{{#if: {{{inhib|{{{inhibit|}}}}}} |<!-- skip -->|[[category:Documentation subpages<noinclude>| {{PAGENAME}}</noinclude>]]}}
<!-- on template pages -->
''This [[template:documentation|documentation]] is transcluded from {{{2|[[{{FULLPAGENAME}}/doc]]}}}''.
}}<noinclude>{{documentation}}</noinclude>