Difference between revisions of "Template:Availability/doc"

From Team Fortress Wiki
Jump to: navigation, search
(Added Contract)
m
Line 28: Line 28:
 
* {{code|strangifier-crate-82}} {{dictionary/templatecore/avail-strangifier-crate-82}}. 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]]
 
* {{code|contract}} produces {{dictionary/templatecore/avail-contract}}
 
* {{code|contract}} produces {{dictionary/templatecore/avail-contract}}
 +
* {{code|xmas2015}} produces {{dictionary/templatecore/avail-xmas2015}}
  
 
=== Usage ===
 
=== Usage ===

Revision as of 17:19, 23 December 2015

{{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