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

Template:Flag: Difference between revisions

From ModEnc
Jump to navigation Jump to search
updated with files= and types=
No edit summary
Line 1: Line 1:
'''Flag:''' {{{name}}}<br>
{|align="left" width="100%" cellspacing="0" cellpadding="0" style="border-collapse: collapse;"
'''Files:''' {{{files}}}<br>
|-style="border-bottom-color:#aaaaaa;border-bottom-style:solid;border-bottom-width:1px;"
'''Values:''' {{{values}}}<br>
|style="padding-left: 2px;" bgcolor="#e5e5e5" width="15%"|'''Flag:'''
'''Special Values:''' {{{special}}}<br>
|style="padding-left: 3px;" bgcolor="#f0f0f0"|{{{name}}}
'''Default:''' {{{default}}}<br>
|-style="border-bottom-color:#aaaaaa;border-bottom-style:solid;border-bottom-width:1px;"
'''Applicable to:''' {{{types}}}<br>
|style="padding-left: 2px;" bgcolor="#e5e5e5"|'''Files:'''
'''Works in Game(s):''' {{{games}}}<br>
|style="padding-left: 3px;" bgcolor="#f0f0f0"|{{{files}}}
----<br>
|-style="border-bottom-color:#aaaaaa;border-bottom-style:solid;border-bottom-width:1px;"
|style="padding-left: 2px;" bgcolor="#e5e5e5"|'''Values:'''
|style="padding-left: 3px;" bgcolor="#f0f0f0"|{{{values}}}
|-style="border-bottom-color:#aaaaaa;border-bottom-style:solid;border-bottom-width:1px;"
|style="padding-left: 2px;" bgcolor="#e5e5e5"|'''Special Values:'''
|style="padding-left: 3px;" bgcolor="#f0f0f0"|{{{special}}}
|-style="border-bottom-color:#aaaaaa;border-bottom-style:solid;border-bottom-width:1px;"
|style="padding-left: 2px;" bgcolor="#e5e5e5"|'''Default:'''
|style="padding-left: 3px;" bgcolor="#f0f0f0"|{{{default}}}
|-style="border-bottom-color:#aaaaaa;border-bottom-style:solid;border-bottom-width:1px;"
|style="padding-left: 2px;" bgcolor="#e5e5e5"|'''Applicable to:'''
|style="padding-left: 3px;" bgcolor="#f0f0f0"|{{{types}}}
|-style="border-bottom-color:#aaaaaa;border-bottom-style:solid;border-bottom-width:1px;"
|style="padding-left: 2px;" bgcolor="#e5e5e5"|'''Works in Game(s):'''
|style="padding-left: 3px;" bgcolor="#f0f0f0"|{{{games}}}
|}<br><br><br><br><br><br>
<includeonly>[[Category:INI Flags]]</includeonly>
<noinclude>
<pre>{{Flag
|name=
|files=
|values=
|special=
|default=
|types=
|games=
}}</pre>
Copy-paste the code above and fill out the parameters as follows:<br>
*'''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.
<br>'''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 <nowiki>__TOC__</nowiki> or disable it entirely via <nowiki>__NOTOC__</nowiki>.
<br>Template includes Category:INI Flags automatically.
<br><br>
''See example usages [[Ammo|here]] and [[ButtonList|here]].''
</noinclude>

Revision as of 18:45, 2 May 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.