Template:Flag: Difference between revisions
Appearance
en>Renegade Some fixing, updating |
en>Renegade m Made the default files-link a category link as well. |
||
| Line 22: | Line 22: | ||
|- | |- | ||
|'''Files:''' | |'''Files:''' | ||
|{{{files|{{ | |{{{files|{{Categ|Rules(md).ini}}}}} | ||
|- | |- | ||
|'''[[Help:Values|Values]]:''' | |'''[[Help:Values|Values]]:''' | ||
Revision as of 20:45, 6 February 2007
|
|
|
|
|
|
| Flag: | Flag |
| Files: | Rules(md).ini |
| Values: | ERROR - No value type set! Please edit this page and fix the Flag template! |
| Special Values: | [no special value] |
| Default: | [no default] |
| Applicable to: | InfantryTypes, VehicleTypes, AircraftTypes, BuildingTypes |
Usage:
{{Flag
|name=
|files=
|values=
|special=
|default=
|types=
|games
}}
| Code | Game | Code | Game |
|---|---|---|---|
| td | Tiberian Dawn | co | The Covert Operations |
| ra | Red Alert | cs | Counterstrike |
| am | Aftermath | ts | Tiberian Sun |
| fs | Firestorm | ets | Extended Tiberian Sun |
| ra2 | Red Alert 2 | yr | Yuri's Revenge |
| rp | RockPatch | gen | Generals |
| zh | Zero Hour | tw | Tiberium Wars |
Copy-paste the code above and fill out the parameters as follows:
- name: The exact name of the flag (Defaults to page name)
- files: In which files this flag can be used (Defaults to Rules(md).ini)
- values: Possible values/value types
- special: Special values, if any (like -1 for unlimited)
- default: The default value for this flag
- types: Where you can use this flag (Defaults to all *Types]]
- games: In which games this flag is usable. To select a game, add a parameter in the form of code=yes to your template call, e.g. yr=yes. A list of available codes is to the right of this text.
Notes
- If there is no value for special or default, do not set anything.
- If a value begins with a - (minus), prefix it with .
- 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.





