ModEnc is currently in Maintenance Mode: Changes could occur at any given moment, without advance warning.

Difference between revisions of "Template:Flag"

From ModEnc
Jump to: navigation, search
m (hmpf, one more break.)
m (made "Values:" a link to my new value types tutorial - I hope it's OK)
Line 7: Line 7:
 
|style="padding-left: 3px;" bgcolor="#f0f0f0"|{{{files}}}
 
|style="padding-left: 3px;" bgcolor="#f0f0f0"|{{{files}}}
 
|-style="border-bottom-color:#aaaaaa;border-bottom-style:solid;border-bottom-width:1px;"
 
|-style="border-bottom-color:#aaaaaa;border-bottom-style:solid;border-bottom-width:1px;"
|style="padding-left: 2px;" bgcolor="#e5e5e5"|'''Values:'''
+
|style="padding-left: 2px;" bgcolor="#e5e5e5"|'''[[Value types|Values]]:'''
 
|style="padding-left: 3px;" bgcolor="#f0f0f0"|{{{values}}}
 
|style="padding-left: 3px;" bgcolor="#f0f0f0"|{{{values}}}
 
|-style="border-bottom-color:#aaaaaa;border-bottom-style:solid;border-bottom-width:1px;"
 
|-style="border-bottom-color:#aaaaaa;border-bottom-style:solid;border-bottom-width:1px;"

Revision as of 11:14, 15 August 2006

Flag: {{{name}}}
Files: {{{files}}}
Values: {{{values}}}
Special Values: {{{special}}}
Default: {{{default}}}
Applicable to: {{{types}}}
Works in Game(s): {{{games}}}









{{Flag
|name=
|files=
|values=
|special=
|default=
|types=
|games=
}}

Copy-paste the code above and fill out the parameters as follows:

  • name: The exact name of the flag
  • files: In which files this flag can be used
  • values: Possible values
  • special: Special values, if any (like -1 for unlimited)
  • default: The default value for this flag
  • types: Where you can use this flag
  • games: In which games this flag is usable

If there is no value, put "None"; capitalization is important in this case, as there may also be the value "none", which would be lower-case only.
Note: This template is intended to be put directly at the page's beginning - no extra horizontal lines, to empty lines, nothing. Either relocate the TOC via __TOC__ or disable it entirely via __NOTOC__.
Template includes Category:INI Flags automatically.

See example usages here and here.