Template:Documentation subpage: Difference between revisions

updated to work with citizen skin
m (Changed header to read annaxitation bill of 2016)
(updated to work with citizen skin)
 
(26 intermediate revisions by 11 users not shown)
Line 1:
<div class="mbox mbox-normal" role="presentation"><span class="mbox-title"><span class="mbox-icon metadata">[[File:OOjs UI icon notice.svg|14px|link=]]</span>'''This is a [[Wikipedia:Template documentation|documentation]] [[Wikipedia:Subpages|subpage]] for {{{1|[[:{{SUBJECTSPACE}}:{{BASEPAGENAME}}]]}}}'''.</span>
<includeonly>{{#ifeq: {{lc:{{SUBPAGENAME}}}} | {{{override|doc}}}
'''This<div isclass="mbox-text">In amost [[w:Wikipedia:Templatecases documentation|documentation]] [[w:Wikipedia:Subpages|subpage]] for {{{1|[[:{{SUBJECTSPACE}}:{{BASEPAGENAME}}]]}}}'''.<br />Itit contains usage information, example, [[w:Wikipedia: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>
| <!-- doc page -->
</div><templatestyles src="Template:Mbox/styles.css" />
</includeonly>{{
<includeonly>
#ifeq: {{{doc-notice|show}}} | show
[[Category:Template documentation pages]]
| {{mbox Knox
</includeonly>{{
| type = notice
| image = [[File:Edit-copy green.svg|40px]]
| text =
'''This is a [[w:Wikipedia:Template documentation|documentation]] [[w:Wikipedia:Subpages|subpage]] for {{{1|[[:{{SUBJECTSPACE}}:{{BASEPAGENAME}}]]}}}'''.<br />It contains usage information, [[w:Wikipedia: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}}}}}}}}.
}}
}}{{DEFAULTSORT:{{{defaultsort|{{PAGENAME}}}}}}}{{
#if: {{{inhibit|}}}
| <!-- skip -->
| <includeonly>{{#ifexist:{{NAMESPACE}}:{{BASEPAGENAME}}|[[Category:{{
#switch: {{SUBJECTSPACE}}
| Template = Template
| Module = Module
| User = User
| #default = Wikisource
}} documentation pages]]|[[Category:Documentation subpages without corresponding pages]]}}</includeonly>
}}<includeonly>
| <!-- if not on a /doc subpage, do nothing -->
}}</includeonly><noinclude>
{{documentation}}
<!-- Add categories to the /doc subpage and interwikis in Wikidata, not here! -->
<templatedata>
{
"params": {
"1": {},
"override": {},
"doc-notice": {},
"text2": {},
"text1": {},
"defaultsort": {},
"inhibit": {},
"New header anaxation bill of 2016": {}
},
"description": "Anaxation bill of 2016",
"format": "inline"
}
</templatedata>
</noinclude>