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
Content added Content deleted
(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 (7 revisions imported from templatewiki:Template:Documentation_subpage: Requested.) |
||
Line 1: | Line 1: | ||
⚫ | |||
-->{{#ifeq:{{lc:{{SUBPAGENAME}}}} |{{{override|doc}}} |
|||
| <!-- doc page --> |
|||
| <!--(this template has been transcluded on a /doc or /{{{override}}} page)--> |
|||
⚫ | |||
⚫ | |||
⚫ | |||
| {{ombox |
|||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
| text = '''This is a [[Help:Template documentation|documentation]] [[mw:Help:Subpages|subpage]] for {{#if: {{{1|}}} | {{{1}}} | [[:{{SUBJECTSPACE}}:{{BASEPAGENAME}}]] }}.'''<br /> |
|||
| style = margin-bottom:1.0em; |
|||
⚫ | It contains usage information, [[Categorization|categories]] |
||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | '''This is a [[Wikipedia:Template documentation|documentation]] [[Wikipedia:Subpages|subpage]] for {{{1|[[:{{SUBJECTSPACE}}:{{BASEPAGENAME}}]]}}}'''.<br />It contains usage information, [[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}}}}}}}}. |
||
#if: {{{inhibit|}}} |
|||
}} |
|||
⚫ | |||
⚫ | |||
#switch: {{SUBJECTSPACE}} |
|||
⚫ | |||
| Template = Template |
|||
⚫ | |||
-->{{#if:{{{inhibit|}}} |<!--(don't categorize)--> |
|||
⚫ | |||
| <includeonly><!-- |
|||
⚫ | |||
⚫ | |||
| [[Category:{{#switch:{{SUBJECTSPACE}} |Template=Template |Module=Module |User=User |#default=Wikipedia}} documentation pages]] |
|||
⚫ | |||
⚫ | |||
| <nowiki /><!-- if not on a /doc subpage, do nothing --> |
|||
}}<!-- |
|||
⚫ | |||
--></includeonly> |
|||
{{documentation}} |
|||
}}<!-- |
|||
<!-- Add categories and interwikis to the /doc subpage, not here! --> |
|||
</noinclude> |
|||
(completing initial #ifeq: at start of template:) |
|||
⚫ | |||
| <!--(this template has not been transcluded on a /doc or /{{{override}}} page)--> |
|||
}}<!-- |
|||
--></includeonly><noinclude>{{Documentation}}</noinclude> |
Revision as of 23:41, August 22, 2020
Template documentation (for the above template, sometimes hidden or invisible)
Visit Template:Documentation subpage/doc to edit this text! (How does this work?)