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 (made "Values:" a link to my new value types tutorial - I hope it's OK)
(css'd)
Line 1: Line 1:
{|align="left" width="100%" cellspacing="0" cellpadding="0" style="border-collapse: collapse;"
+
{|align="left" width="100%" cellspacing="0" cellpadding="0" class="template_flag blacklink"
|-style="border-bottom-color:#aaaaaa;border-bottom-style:solid;border-bottom-width:1px;"
+
|-
|style="padding-left: 2px;" bgcolor="#e5e5e5" width="15%"|'''Flag:'''
+
|'''Flag:'''
|style="padding-left: 3px;" bgcolor="#f0f0f0"|{{{name}}}
+
|{{{name}}}
|-style="border-bottom-color:#aaaaaa;border-bottom-style:solid;border-bottom-width:1px;"
+
|-
|style="padding-left: 2px;" bgcolor="#e5e5e5"|'''Files:'''
+
|'''Files:'''
|style="padding-left: 3px;" bgcolor="#f0f0f0"|{{{files}}}
+
|{{{files}}}
|-style="border-bottom-color:#aaaaaa;border-bottom-style:solid;border-bottom-width:1px;"
+
|-
|style="padding-left: 2px;" bgcolor="#e5e5e5"|'''[[Value types|Values]]:'''
+
|'''[[Help:Values|Values]]:'''
|style="padding-left: 3px;" bgcolor="#f0f0f0"|{{{values}}}
+
|{{{values}}}
|-style="border-bottom-color:#aaaaaa;border-bottom-style:solid;border-bottom-width:1px;"
+
|-
|style="padding-left: 2px;" bgcolor="#e5e5e5"|'''Special Values:'''
+
|'''Special Values:'''
|style="padding-left: 3px;" bgcolor="#f0f0f0"|{{{special}}}
+
|{{{special}}}
|-style="border-bottom-color:#aaaaaa;border-bottom-style:solid;border-bottom-width:1px;"
+
|-
|style="padding-left: 2px;" bgcolor="#e5e5e5"|'''Default:'''
+
|'''Default:'''
|style="padding-left: 3px;" bgcolor="#f0f0f0"|{{{default}}}
+
|{{{default}}}
|-style="border-bottom-color:#aaaaaa;border-bottom-style:solid;border-bottom-width:1px;"
+
|-
|style="padding-left: 2px;" bgcolor="#e5e5e5"|'''Applicable to:'''
+
|'''Applicable to:'''
|style="padding-left: 3px;" bgcolor="#f0f0f0"|{{{types}}}
+
|{{{types}}}
|-style="border-bottom-color:#aaaaaa;border-bottom-style:solid;border-bottom-width:1px;"
+
|-
|style="padding-left: 2px;" bgcolor="#e5e5e5"|'''Works in Game(s):'''
+
|'''Works in Game(s):'''
|style="padding-left: 3px;" bgcolor="#f0f0f0"|{{{games}}}
+
|{{{games}}}
 
|}<br><br><br><br><br><br><br><br>
 
|}<br><br><br><br><br><br><br><br>
 
<includeonly>[[Category:INI Flags]]</includeonly>
 
<includeonly>[[Category:INI Flags]]</includeonly>

Revision as of 15:56, 15 August 2006










{{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.