Template:Documentation subpage
From TrainzOnline
(Difference between revisions)
(genesis, port unchanged from WikiMedia+cat w/{{Mediawiki}) |
(defang -- needs parserfunction {{#switch: and many {{#if: conditionals) |
||
Line 1: | Line 1: | ||
− | < | + | <div style="background:#808Ec0; color:white; text-align:center; float:center; font-size:145%; padding:6px 0 6px 0;"><big><!--XXX<xincludeonly> |
− | | <!-- doc page --> | + | {{#ifeq: {{lc:{{SUBPAGENAME}}}} | {{{override|doc}}} |
− | </ | + | | <XXX!-- doc page --XXX><div style:"background:#90EE90;"> |
+ | </XXXincludeonly>{{ | ||
#ifeq: {{{doc-notice|show}}} | show | #ifeq: {{{doc-notice|show}}} | show | ||
| {{mbox | | {{mbox | ||
Line 7: | Line 8: | ||
| image = [[File:Edit-copy green.svg|40px]] | | image = [[File:Edit-copy green.svg|40px]] | ||
| text = | | text = | ||
− | '''This is a [[ | + | XXX---> |
+ | '''This is a [[TrainzOnline:Template documentation|documentation]] [[TrainzOnline:Subpages|subpage]]'''<includeonly><!-- | ||
+ | --> for {{{1|[[:{{SUBJECTSPACE}}:{{BASEPAGENAME}}]]}}}'''</includeonly>.<br /></big></div><div> </div><div style:"background:#90EE90;">It contains usage information,<!-- | ||
+ | --> [[TrainzOnline:Categorization|categories]]<!--XXX | ||
+ | , [[wikipedia:Help:Interlanguage links|interlanguage links]] | ||
+ | XXX--> and other informational content that is best arranged so that it is not part of the original <!--XXX | ||
+ | {{ #if: {{{text2|}}} | {{{text2}}} | {{ #if: {{{text1|}}} | {{{text1}}} | {{ #ifeq: {{SUBJECTSPACE}} | {{ns:User}} | {{lc:{{SUBJECTSPACE}}}} template page | | ||
+ | XXX--->template page, such as in many cases, examples of how to use the template in question.<br/> | ||
+ | * Documentation subpages were developed to reduce server demands, or to protect the code version of widely used templates.<!--XXX | ||
+ | {{ #if: {{SUBJECTSPACE}} |{{lc:{{SUBJECTSPACE}}}} page|article}}}}}}}}. | ||
}} | }} | ||
− | }} | + | }} |
+ | {{ | ||
#if: {{{inhibit|}}} | #if: {{{inhibit|}}} | ||
− | | <!-- skip --> | + | | <!-- skip --XXX> |
| <includeonly>{{#ifexist:{{NAMESPACE}}:{{BASEPAGENAME}}|[[Category:{{ | | <includeonly>{{#ifexist:{{NAMESPACE}}:{{BASEPAGENAME}}|[[Category:{{ | ||
#switch: {{SUBJECTSPACE}} | #switch: {{SUBJECTSPACE}} | ||
Line 17: | Line 28: | ||
| Module = Module | | Module = Module | ||
| User = User | | User = User | ||
− | | #default = | + | | #default = TrainzOnline |
− | }} documentation pages]]|[[Category:Documentation subpages without corresponding pages]]}}</includeonly> | + | }} [[Template:documentation pages]] |
+ | |[[Category:Documentation subpages without corresponding pages]]}} | ||
+ | </includeonly> | ||
}}<includeonly> | }}<includeonly> | ||
− | | <!-- if not on a /doc subpage, do nothing --> | + | |
− | }}</includeonly><noinclude>{{Mediawiki}} | + | | <!-- if not on a /doc subpage, do nothing --XXX> |
− | {{documentation}} | + | }}</includeonly>--><noinclude> |
+ | {{DEFAULTSORT:{{{defaultsort|{{PAGENAME}}}}}}} | ||
+ | {{Mediawiki}} | ||
+ | {{tl|documentation}}{{FAB-todo|Restore working versions once ParserFunctions are turned on. | ||
+ | }} | ||
<!-- Add categories and interwikis to the /doc subpage, not here! --> | <!-- Add categories and interwikis to the /doc subpage, not here! --> | ||
</noinclude> | </noinclude> |
Revision as of 18:35, 5 July 2013
It contains usage information, categories and other informational content that is best arranged so that it is not part of the original template page, such as in many cases, examples of how to use the template in question.
- Documentation subpages were developed to reduce server demands, or to protect the code version of widely used templates.
{{documentation}}∅