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

ModEnc:Templates

From ModEnc
Revision as of 14:32, 31 May 2005 by Renegade (talk | contribs) (Not every INI has a Type...)
Jump to: navigation, search

This is a list of Templates available on ModEnc. It will be updated everytime a new one is added. Usage of these templates is simple: Just put {{templatename}} somewhere in a page's text, and it gets replaced by the template. In some cases, you have to give a parameter.

If you have ideas for more templates, feel free to suggest them on the talk-page or code them yourself. But don't forget to update this list.

{{categories}}

Adds the table of categories seen on the main page. Should not be necessary somewhere else.
Template:Categories

{{disambig}}

Adds the disambiguation-notice. Example usage here.

This phrase can refer to several things; please pick one from the list below.


{{discussed|http://www.fullurl.tld}}

Adds the "Work in Progress"-template. The parameter does not accept PHP-variable-parts (i.e. attachments like ?var=value), which renders it useless for forum-posts. I'll think of a solution for this.

Wip tools.png Work in Progress
This page is the result of a currently running discussion. The information on it is subject to change. If you wish to follow the discussion or want to know more about the history of this page, please follow this link.

{{flag|name=|values=|special=|default=|games=}}

Adds the standard header for INI-flags. Example usage here.
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.


Tiberian Dawn The Covert Operations Red Alert Counterstrike Aftermath Tiberian Sun Firestorm HyperPatch Red Alert 2 Yuri's Revenge Ares Generals Zero Hour Tiberium Wars Kane's Wrath
Flag: Flag's name
File(s): Which files can it be used in?
Values: Possible values
Special Values: Special values, like -1 for unlimited
Default: Default value
Applicable to: Can be added to which Types/sections?


{{meanings|Bracket-input}}

In some cases, a word is strongly associated with a certain meaning, but can still mean something else. In that case, a disambiguation page may not be the best choice - use {{meanings}} instead.

This is the primary usage of Templates; for other meanings, see Templates (Bracket-input).

As you can see, {{meanings}} creates a link to a page named exactly as the current page, with an additional bracket; the bracket's content has to be determined by the parameter. On the Cost-page, this is used to add an additional link to Cost (Multiplier), but you could also append a real disambiguation page throught the use of {{meanings|disambiguation}}.