Difference between revisions of "Template:Availability/doc"

From Team Fortress Wiki
Jump to: navigation, search
m (Entries)
(+chemistryset)
Line 22: Line 22:
 
* {{code|unusual}} produces {{dictionary/templatecore/avail-unusual}}
 
* {{code|unusual}} produces {{dictionary/templatecore/avail-unusual}}
 
* {{code|retired}} produces {{dictionary/templatecore/avail-retired}}
 
* {{code|retired}} produces {{dictionary/templatecore/avail-retired}}
 +
* {{code|chemistryset}} produces {{dictionary/templatecore/avail-chemistryset}}
  
 
=== Usage ===
 
=== Usage ===

Revision as of 17:51, 11 February 2014

{{availability}} is used to display and autotranslate the 'Availability' section in {{Item infobox}}. Preferably, the shortcut {{avail}} should be used.

Note: strings for 'Drop', 'Craft', etc, can be translated at Template:Dictionary/common strings.

Entries

Defined in Template:Dictionary/templatecore (no translatable strings). Please do not create one-off or special case availability strings there, only the most common should be added (see the method in Usage below). To alter the separator (i.e. the comma) per language, edit {{availability/sep}}.

Usage

To have other entries that are not in the autotranslate list, add them afterward like:

| availability = {{avail|drop|purchase}}, Halloween