Template:Documentation subpage: Difference between revisions

Template page
Content added Content deleted
(restrict categorisation to template, project and user namespaces, per talk)
(updated to work with citizen skin)
 
(40 intermediate revisions by 20 users not shown)
Line 1: 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}}}
<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>
| <!-- doc page -->
</div><templatestyles src="Template:Mbox/styles.css" />
</includeonly>{{
<includeonly>
#ifeq: {{{doc-notice|show}}} | show
[[Category:Template documentation pages]]
| {{mbox
</includeonly>
| type = notice
| image = [[File:Edit-copy green.svg|40px]]
| text =
'''This is a [[Wikipedia:Template documentation|documentation]] [[Wikipedia:Subpages|subpage]] for {{{1|[[:{{SUBJECTSPACE}}:{{BASEPAGENAME}}]]}}}'''.<br />It contains usage information, [[Wikipedia:Categorization|categories]], [[Help:Interlanguage links|interlanguage links]] 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>[[Category:{{
#switch: {{SUBJECTSPACE}}
| Template = Template documentation pages
| User = User documentation
| #default = Wikipedia documentation
}}]]</includeonly>
}}<includeonly>
| <!-- if not on a /doc subpage, do nothing -->
}}</includeonly><noinclude>
{{documentation}}
<!-- Add categories and interwikis to the /doc subpage, not here! -->
</noinclude>

Latest revision as of 18:49, 16 December 2023

Cookies help us deliver our services. By using our services, you agree to our use of cookies.