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

Difference between revisions of "ModEnc:Templates"

From ModEnc
Jump to: navigation, search
 
Line 16: Line 16:
 
{{discussed|http://www.fullurl.tld}}
 
{{discussed|http://www.fullurl.tld}}
  
==<nowiki>{{flag|name=|values=|special=|games=}}</nowiki>==
+
==<nowiki>{{flag|name=|values=|special=|default=|games=}}</nowiki>==
Adds the standard header for INI-flags.<br><br>
+
Adds the standard header for INI-flags. Example usage [[BuildLimit|here]].<br><br>
{{flag|name=Flag's name|values=Possible values|special=Special values, like -1 for unlimited|games=Works in which games?}}
+
{{flag|name=Flag's name|values=Possible values|special=Special values, like -1 for unlimited|default=Default value|games=Works in which games?}}

Revision as of 14:23, 28 April 2005

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.

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): rules(md).ini
Values: Possible values
Special Values: Special values, like -1 for unlimited
Default: Default value