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


From ModEnc
Jump to: navigation, search

This template generates a standardized flag header.


A separate flag header should be used for each context the flag is used in. Distinct contexts include files and sections where flag usage differs. For example, Type is used in rules(md).ini for SuperWeaponTypes, sound(md).ini for VocTypes, and eva(md).ini for VoxTypes. This ensures that contextual flag usage is documented with accuracy.

This template includes Category:INI Flags automatically.

|files={{Categ|ini=ini-name}}, ...
|types={{Categ|section-name}}, ...

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

The exact name of the flag. Defaults to {{PAGENAME}}.
Which file the flag can be used in. Template:Categ, with {{{ini}}} set to the correct ini-name, should be used for consistency. Defaults to {{Categ|ini=rules}}.
Possible values the flag accepts. Template:Values should be used for consistency.
Special values, if any. For example, −11 is a special value for Ammo. This parameter is optional2.
The default value for the flag. This parameter is optional2.
What version of the appropriate EXE extension (Ares or HyperPatch) is required before this flag can be used. This parameter should only be used if rponly, aresflag or hpflag is set to yes.
The sections the flag pertains to. Template:Categ should be used for consistency.
Which games the flag is parsed in. To select a game, add a parameter in the form of code=yes. For example, yr=yes indicates that the flag is parsed in Yuri's Revenge.
If this flag is obsolete in Red Alert 2 and Yuri's Revenge, then add this to include the Obsolete banner.
Add this one instead of 'ra2obsolete' if the flag is obsolete in Tiberian Sun as well as Red Alert 2 and Yuri's Revenge
If this is a flag introduced in the RockPatch, add this.
If this is a flag introduced in Ares, add this.
If this flag is introduced by HyperPatch, add this.

Parameter Codes for games

Code Game
td Tiberian Dawn
co The Covert Operations
ra Red Alert
cs Counterstrike
am Aftermath
ts Tiberian Sun
fs Firestorm
hp HyperPatch
ra2 Red Alert 2
yr Yuri's Revenge
ares Ares
gen Generals
zh Zero Hour
tw Tiberium Wars
kw Kane's Wrath


1 For negative numbers, − should be used for the sign instead of a hyphen.

2 If there is no explicit value, do not set this parameter.