Template:Documentation subpage: Difference between revisions

From TrainzOnline
Jump to navigationJump to search
Fabartus (talk | contribs)
defang -- needs parserfunction {{#switch: and many {{#if: conditionals
Fabartus (talk | contribs)
try this
 
(3 intermediate revisions by the same user not shown)
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>
<br Clear="both"/><table style="border:2px solid green;background:transparent;"><tr><th><div style="background:#e0eEf0; color:green; text-align:center; float:center; font-size:145%; padding:6px 0 6px 0;"><big><!--XXX<xincludeonly>
{{#ifeq: {{lc:{{SUBPAGENAME}}}} | {{{override|doc}}}
{{#ifeq: {{lc:{{SUBPAGENAME}}}} | {{{override|doc}}}
   | <XXX!-- doc page --XXX><div style:"background:#90EE90;">
   | <XXX!-- doc page --XXX><div style:"background:#90EE90;">
Line 10: Line 10:
XXX--->
XXX--->
'''This is a [[TrainzOnline:Template documentation|documentation]] [[TrainzOnline:Subpages|subpage]]'''<includeonly><!--
'''This is a [[TrainzOnline:Template documentation|documentation]] [[TrainzOnline:Subpages|subpage]]'''<includeonly><!--
--> for {{{1|[[:{{SUBJECTSPACE}}:{{BASEPAGENAME}}]]}}}'''</includeonly>.<br /></big></div><div>&nbsp;</div><div style:"background:#90EE90;">It contains usage information,<!--
--> for {{{1|[[:{{SUBJECTSPACE}}:{{BASEPAGENAME}}]]}}}'''</includeonly>.<br /></big></div></th></tr>
 
<tr style:"background:#f0EEf0;"><td><hr/><div>&nbsp;</div>It contains usage information,<!--
--> [[TrainzOnline:Categorization|categories]]<!--XXX
--> [[TrainzOnline:Categorization|categories]]<!--XXX
, [[wikipedia:Help:Interlanguage links|interlanguage links]]
, [[wikipedia:Help:Interlanguage links|interlanguage links]]
Line 16: Line 18:
{{ #if: {{{text2|}}} | {{{text2}}} | {{ #if: {{{text1|}}} | {{{text1}}} | {{ #ifeq: {{SUBJECTSPACE}} | {{ns:User}} | {{lc:{{SUBJECTSPACE}}}} template page |  
{{ #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/>
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
* Documentation subpages were developed to reduce server demands, or to protect the code version of widely used templates.<br><div>&nbsp;</div>
</td></tr></table>{{-}}{{Usage-style}}<!--XXX
{{ #if: {{SUBJECTSPACE}} |{{lc:{{SUBJECTSPACE}}}} page|article}}}}}}}}.  
{{ #if: {{SUBJECTSPACE}} |{{lc:{{SUBJECTSPACE}}}} page|article}}}}}}}}.  
       }}
       }}

Latest revision as of 17:09, 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.