Template:Tag: Difference between revisions
From Spring
Jump to navigationJump to search
m re-aranged special to be last. |
m added usage of {{new|} to page as example. |
||
| Line 19: | Line 19: | ||
|type = float | |type = float | ||
|range = [0-100] | |range = [0-100] | ||
|default = 3.14 | |default = 3.14 | ||
|special = {{new|88.0}} | |||
|description = Then your description}}</pre> | |description = Then your description}}</pre> | ||
Result: | Result: | ||
| Line 27: | Line 27: | ||
|type = float | |type = float | ||
|range = [0-100] | |range = [0-100] | ||
|default = 3.14 | |default = 3.14 | ||
|special = {{new|88.0}} | |||
|description = Then your description}} | |description = Then your description}} | ||
</noinclude> | </noinclude> | ||
Revision as of 01:48, 4 June 2012
A template for documenting various tags used in the engine (gamedata files, defs etc)
Usage:
{{tag}}
result:
- type name Default: ?
- description
Usage:
{{tag|name=foo|type=int|range=[0-100]|special=Required|default=10|description=Then type your description}}
Result:
- int foo [0-100] Default: 10 Required
- Then type your description
Usage:
{{tag|name=foo|type=int|default=10|description=Then type your description}}
Result:
- int foo Default: 10
- Then type your description
Usage:
{{tag
|name = bar
|type = float
|range = [0-100]
|default = 3.14
|special = {{new|88.0}}
|description = Then your description}}
Result:
- float bar [0-100] Default: 3.14 New in version 88.0
- Then your description