Difference between revisions of "Template:Constant table documentation"
From Dragon Age Toolset Wiki
BryanDerksen (Talk | contribs) |
m (Adding documentation) |
||
Line 1: | Line 1: | ||
− | This set of templates are used for formatting tables of constants. | + | <includeonly>[[Category:Formatting templates]]</includeonly>This set of templates are used for formatting tables of constants. |
*[[Template:Constant table start]] | *[[Template:Constant table start]] | ||
Line 5: | Line 5: | ||
*[[Template:Constant table end]] | *[[Template:Constant table end]] | ||
− | < | + | == Usage == |
+ | <pre> | ||
+ | {{Constant table start | ||
+ | |sourcefile = script.ldf | ||
+ | |sourcemodule = | ||
+ | }} | ||
+ | {{Constant table row | ||
+ | |name = SAMPLE_FIRST_CONSTANT | ||
+ | |type = int | ||
+ | |value = 9 | ||
+ | |description = | ||
+ | |sourcefile = script.ldf | ||
+ | |sourcemodule = | ||
+ | }} | ||
+ | {{Constant table row | ||
+ | |name = SAMPLE_SECOND_CONSTANT | ||
+ | |type = int | ||
+ | |value = 7 | ||
+ | |description = | ||
+ | |sourcefile = script.ldf | ||
+ | |sourcemodule = | ||
+ | }} | ||
+ | : | ||
+ | {{Constant table row | ||
+ | |name = SAMPLE_LAST_CONSTANT | ||
+ | |type = int | ||
+ | |value = 11 | ||
+ | |description = | ||
+ | |sourcefile = script.ldf | ||
+ | |sourcemodule = | ||
+ | }} | ||
+ | {{Constant table end}} | ||
+ | <!-- | ||
+ | == Remarks == --> | ||
+ | <!-- This section contains additional comments, observations and known issues. --> | ||
+ | <!-- | ||
+ | == Examples == --> | ||
+ | <!-- This section contains examples transcluded from the snippet library. --> | ||
+ | <!-- | ||
+ | == See also == --> | ||
+ | <!-- This section contains links to articles, functions or constant groups. --> | ||
+ | </pre> |
Latest revision as of 23:23, 1 August 2011
This set of templates are used for formatting tables of constants.
Usage
{{Constant table start |sourcefile = script.ldf |sourcemodule = }} {{Constant table row |name = SAMPLE_FIRST_CONSTANT |type = int |value = 9 |description = |sourcefile = script.ldf |sourcemodule = }} {{Constant table row |name = SAMPLE_SECOND_CONSTANT |type = int |value = 7 |description = |sourcefile = script.ldf |sourcemodule = }} : {{Constant table row |name = SAMPLE_LAST_CONSTANT |type = int |value = 11 |description = |sourcefile = script.ldf |sourcemodule = }} {{Constant table end}} <!-- == Remarks == --> <!-- This section contains additional comments, observations and known issues. --> <!-- == Examples == --> <!-- This section contains examples transcluded from the snippet library. --> <!-- == See also == --> <!-- This section contains links to articles, functions or constant groups. -->