Template:Variable table documentation

From Dragon Age Toolset Wiki
Revision as of 22:52, 17 July 2009 by BryanDerksen (Talk | contribs) (creating a set of templates to format variable tables in a uniform manner)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

This template set includes the following templates:

It's intended to allow uniform formatting of variable tables for documentation purposes.

For exmample, the following set of templates:

{{Variable table start}}
{{Variable table row| AREA_WORLD_MAP_ENABLED | int | | If this is set to 1, the party can switch to travel on the world map at any point within the area. | }}
{{Variable table row| ENTERED_FOR_THE_FIRST_TIME | int | | Defaults to false. If false, set true when an area is first entered and exploration XP is awarded.}}
{{Variable table end}}

Produces:

Variable name Type Default Description
AREA_WORLD_MAP_ENABLED int If this is set to 1, the party can switch to travel on the world map at any point within the area.
ENTERED_FOR_THE_FIRST_TIME int FALSE If false, set true when an area is first entered and exploration XP is awarded.