Template:Documentation subpage: Difference between revisions

From Mariopedia, a wiki on Mario, Yoshi, Wario, Donkey Kong, Super Smash Bros., and more!
Jump to navigationJump to search
(move Category:Wikidata documentation pages to Category:Template documentation pages—these are template documentations after all, just in various namespaces for some reasons; use {{ombox}} so that the styling is consistent even in these exotic cases)
m (12 revisions imported from meta:Template:Documentation_subpage)
 
(20 intermediate revisions by 12 users not shown)
Line 1: Line 1:
<includeonly>{{#ifeq: {{lc:{{SUBPAGENAME}}}} | {{{override|doc}}}
<includeonly>{{#if:{{IsDocSubpage|override={{{override|doc}}}}}
| <!--doc subpage--></includeonly>{{#ifeq:{{{doc-notice|show}}}|show
| <!-- doc page -->
| {{Ombox|type=notice|image=[[File:Edit-copy green.svg|40px|link=]]
</includeonly>{{
|text='''This is a [[Help:Template documentation|documentation]] [[mw:Help:Subpages|subpage]] for {{#if:{{{1|}}}
#ifeq: {{{doc-notice|show}}} | show
| {{ombox
| {{{1}}}
| [[:{{SUBJECTSPACE}}:{{BASEPAGENAME}}]]
| type = notice
}}.'''<br/> It contains usage information, [[Categorization|categories]], and other content that is not part of the original<!--
| image = [[File:Edit-copy green.svg|40px|link=]]
--> {{#if: {{{text2|}}}
| text = '''This is a [[Help:Template documentation|documentation]] [[mw:Help:Subpages|subpage]] for {{#if: {{{1|}}} | {{{1}}} | [[:{{SUBJECTSPACE}}:{{BASEPAGENAME}}]] }}.'''<br />
| {{{text2|}}}
It contains usage information, [[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 }} }} }} }}.
}}
| {{#if: {{{text1|}}}
| {{{text1|}}}
}}{{DEFAULTSORT:{{{defaultsort|{{PAGENAME}}}}}}}{{
#if: {{{inhibit|}}}
| {{#ifeq: {{SUBJECTSPACE}} | {{ns:User}}
| {{lc:{{SUBJECTSPACE}}}} template page
| <!-- skip -->
| {{#if: {{SUBJECTSPACE}}
| <includeonly>{{#ifexist:{{NAMESPACE}}:{{BASEPAGENAME}}|[[Category:{{
#switch: {{SUBJECTSPACE}}
| {{lc:{{SUBJECTSPACE}}}} page
| Template = Template
| article
| Module = Module
}}
| User = User
}}
| #default = Template
}}
}}.
}} documentation pages]]|[[Category:Documentation subpages without corresponding pages]]}}</includeonly>
}}
}}<includeonly>
| <nowiki /><!-- if not on a /doc subpage, do nothing -->
<!--If not on a doc subpage, do nothing-->}}{{DEFAULTSORT:{{{defaultsort|{{PAGENAME}}}}}}}{{#if: {{{inhibit|}}}
| <!--Skip-->
}}</includeonly><noinclude>
| <includeonly>{{#ifexist: {{NAMESPACE}}:{{BASEPAGENAME}}
{{documentation}}
| [[Category:{{#switch: {{SUBJECTSPACE}}
<!-- Add categories and interwikis to the /doc subpage, not here! -->
|Template=Template
</noinclude>
|Module=Module
|User=User
|#default=Template
}} documentation pages{{#translation:}}]]
| [[Category:Documentation subpages without corresponding pages{{#translation:}}]]
}}</includeonly>
}}<includeonly>
}}</includeonly><noinclude>{{Documentation}}<!--Add categories and interwikis to the /doc subpage, not here!--></noinclude>

Latest revision as of 16:37, November 2, 2022

Template documentation (for the above template, sometimes hidden or invisible)