Template:Documentation subpage: Difference between revisions

updated to work with citizen skin
imported>Malyctenar
(br + span = div; do show the template at its own page (so that also the noinclude bit in the category makes sense))
(updated to work with citizen skin)
 
(120 intermediate revisions by 50 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><!-- only show on documentation subpages -->
<div class="mbox-text">In most cases it contains usage information, example, [[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>
{{#ifeq: {{lc:{{SUBPAGENAME}}}} | {{{override|doc}}} |
</div><templatestyles src="Template:Mbox/styles.css" />
</includeonly><div class="messagebox" id="template_doc_page_viewed_directly" style="text-align: center">
<includeonly>
This subpage contains [[Wikipedia:Template documentation|documentation]], [[Wikipedia:Categories|categories]] and other content that is not part of the template.
[[Category:Template documentation pages]]
<div style="font-size: 88%">To view the {{lc:{{NAMESPACE}}}} page itself, see {{{1|[[{{SUBJECTSPACE}}:{{BASEPAGENAME}}]]}}}.</div></div>
</includeonly>
{{DEFAULTSORT:{{PAGENAME}}}}{{#if:{{{inhibit|}}}|<!-- skip -->|[[Category:Documentation subpages<noinclude>| </noinclude>]]}}
<includeonly>}}</includeonly><noinclude>
{{documentation}}
<!-- Add categories and interwikis to the /doc subpage, not here! -->
</noinclude>