Difference between revisions of "Template:Availability/doc"

From Team Fortress Wiki
Jump to: navigation, search
(+chemistryset)
Line 23: Line 23:
 
* {{code|retired}} produces {{dictionary/templatecore/avail-retired}}
 
* {{code|retired}} produces {{dictionary/templatecore/avail-retired}}
 
* {{code|chemistryset}} produces {{dictionary/templatecore/avail-chemistryset}}
 
* {{code|chemistryset}} produces {{dictionary/templatecore/avail-chemistryset}}
 +
* {{code|strangifier-series-1}} produces {{dictionary/templatecore/avail-strangifier-series-1}}. Tooltips can be translated at [[Template:Dictionary/common strings#strangifier-series-x, etc]]
 +
* {{code|strangifier-crate-82}} {{dictionary/templatecore/avail-strangifier-crate-82}}. Tooltips can be translated at [[Template:Dictionary/common strings#strangifier-series-x, etc]]
  
 
=== Usage ===
 
=== Usage ===

Revision as of 23:31, 10 April 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