Template:Tag

From Spring
Revision as of 06:32, 3 June 2012 by Enetheru (talk | contribs) (added range and required to template, and made default template variables blank.)
Jump to navigationJump to search

A template for documenting various tags used in the engine (gamedata files, defs etc)

Usage:

{{tag|name=foo|type=int|default=10|description=Then type your description}}

or alternatively:

{{tag
|name = bar
|type = float
|default = 3.14
|description = Then your description}}

Result:

foo - type
int - default: 10
Then type your description

or alternatively:

bar - type
float - default: 3.14
Then your description