Template:Documentation subpage: Difference between revisions
From Chalo Chatu, Zambia online encyclopedia
m 1 revision imported |
Chalochatu (talk | contribs) No edit summary Tag: Reverted |
||
Line 1: | Line 1: | ||
<includeonly><!-- | <includeonly><!-- | ||
-->{{#ifeq:{{lc:{{SUBPAGENAME}}}} |{{{override|doc}}} | -->{{#ifeq:{{lc:{{SUBPAGENAME}}}}|{{{override|doc}}} | ||
| <!-- (we are on /doc or /{{{override}}}) --> | |||
{{#ifeq:{{{doc-notice|show}}}|show | |||
| {{#ifexist:Template:Mbox | |||
| {{Mbox | |||
| type = notice | |||
| style = margin-bottom:1.0em; | |||
| image = [[File:Edit-copy green.svg|40px|alt=|link=]] | |||
| text = '''This is a [[{{ns:Project}}:Template documentation|documentation]] [[{{ns:Project}}:Subpages|subpage]] for {{{1|[[:{{SUBJECTSPACE}}:{{BASEPAGENAME}}]]}}}.'''<br /> | |||
It contains usage information, [[{{ns:Project}}:Categorization|categories]] and other content that is not part of the original | |||
'''This is a [[ | {{#if:{{{text2|}}}|{{{text2}}}|{{#if:{{{text1|}}}|{{{text1}}}|{{#ifeq:{{SUBJECTSPACE}}|{{ns:User}}|{{lc:{{SUBJECTSPACE}}}} template page|{{#if:{{SUBJECTSPACE}}|{{lc:{{SUBJECTSPACE}}}} page|article}}}}}}}. | ||
}} | |||
}} | | <!-- Fallback notice if {{Mbox}} is missing --> | ||
<div style="border:1px solid #a2a9b1;background:#f8f9fa;margin:0 0 1.0em 0;padding:.6em;"> | |||
[[File:Edit-copy green.svg|40px|left|alt=]] | |||
<div style="margin-left:48px;"> | |||
<b>This is a [[{{ns:Project}}:Template documentation|documentation]] [[{{ns:Project}}:Subpages|subpage]] for {{{1|[[:{{SUBJECTSPACE}}:{{BASEPAGENAME}}]]}}}.</b><br /> | |||
It contains usage information, [[{{ns:Project}}:Categorization|categories]] and other content that is not part of the original | |||
{{#if:{{{text2|}}}|{{{text2}}}|{{#if:{{{text1|}}}|{{{text1}}}|{{#ifeq:{{SUBJECTSPACE}}|{{ns:User}}|{{lc:{{SUBJECTSPACE}}}} template page|{{#if:{{SUBJECTSPACE}}|{{lc:{{SUBJECTSPACE}}}} page|article}}}}}}}. | |||
</div> | |||
<div style="clear:both;"></div> | |||
</div> | |||
}} | |||
}} | |||
{{DEFAULTSORT:{{{defaultsort|{{PAGENAME}}}}}}} | |||
{{#if:{{{inhibit|}}}| | |||
<!-- (don’t categorize) --> | |||
| | |||
{{#ifexist:{{NAMESPACE}}:{{BASEPAGENAME}} | |||
| [[Category:{{#switch:{{SUBJECTSPACE}}|Template=Template|Module=Module|User=User|#default={{SITENAME}}}} documentation pages]] | |||
| [[Category:Documentation subpages without corresponding pages]] | |||
}} | |||
}} | |||
| <!-- (we are NOT on /doc or /{{{override}}}) --> | |||
}} | |||
</includeonly><noinclude>{{Documentation}}</noinclude> |