Difference between revisions of "User:Alistaire/Template:DefsStdTemplateHeader/doc"

From RimWorld Wiki
Jump to navigation Jump to search
(Testing documentation)
 
(→‎Examples: More examples, parameters)
Line 1: Line 1:
 
Example documentation<br/><br/>
 
Example documentation<br/><br/>
 +
 +
==Parameters==
 +
 +
{|
 +
! Parameter !! Explanation
 +
|-
 +
| tag || ''(optional):'' What tag to display on the first row
 +
|}
 +
<br/>
  
 
==Examples==
 
==Examples==
  
 
{|
 
{|
| {{User:Alistaire/Template:DefsStdTemplateHeader|tag=thingDef}}
+
! Input !! Output
 +
|-
 +
|<pre>{{User:Alistaire/Template:DefsStdTemplateHeader}} |-
 +
|}</pre>
 +
|{{User:Alistaire/Template:DefsStdTemplateHeader}} |-
 +
|}
 +
|-
 +
|<pre>{{User:Alistaire/Template:DefsStdTemplateHeader|tag=thingDef}} |-
 +
|}</pre>
 +
|{{User:Alistaire/Template:DefsStdTemplateHeader|tag=thingDef}} |-
 +
|}
 
|-
 
|-
|
 
 
|}
 
|}

Revision as of 12:37, 12 April 2015

Example documentation

Parameters

Parameter Explanation
tag (optional): What tag to display on the first row


Examples

Input Output
{{User:Alistaire/Template:DefsStdTemplateHeader}} |-
|}
Parents: none specified
<>Alistaire/Template:DefsStdTemplateHeader/doc
Element Contents Notes
{{User:Alistaire/Template:DefsStdTemplateHeader|tag=thingDef}} |-
|}
Parents: none specified
<>thingDef
Element Contents Notes