Template:Tag

From Spring
Revision as of 13:12, 3 June 2012 by Enetheru (talk | contribs) (removed visibility of special variable.)
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
|range = [0-100]
|special = Required
|default = 3.14
|description = Then your description}}

Result:

foo int
Default: 10, Then type your description

or alternatively:


bar float
Default: 3.14, Then your description