This template is protected from editing.

Difference between revisions of "Template:Availability"

From Team Fortress Wiki
Jump to: navigation, search
m (fix)
m (lc)
Line 1: Line 1:
 
<includeonly>{{
 
<includeonly>{{
   #if:{{{1|}}}|{{dictionary/templatecore/avail-{{{1|error}}}}}}}<!--  
+
   #if:{{{1|}}}|{{dictionary/templatecore/avail-{{lc:{{{1|error}}}}}}}}}<!--  
 
   -->{{ {{#ifeq:{{SUBPAGENAME}}|fi|lc|ucfirst}}: <!-- Workaround. Finnish has all lowercase; everything else keeps case but first letter is UC -->{{
 
   -->{{ {{#ifeq:{{SUBPAGENAME}}|fi|lc|ucfirst}}: <!-- Workaround. Finnish has all lowercase; everything else keeps case but first letter is UC -->{{
   #if:{{{2|}}}|{{availability/sep}}{{dictionary/templatecore/avail-{{{2|error}}}}}}}{{
+
   #if:{{{2|}}}|{{availability/sep}}{{dictionary/templatecore/avail-{{lc:{{{2|error}}}}}}}}}{{
   #if:{{{3|}}}|{{availability/sep}}{{dictionary/templatecore/avail-{{{3|error}}}}}}}{{
+
   #if:{{{3|}}}|{{availability/sep}}{{dictionary/templatecore/avail-{{lc:{{{3|error}}}}}}}}}{{
   #if:{{{4|}}}|{{availability/sep}}{{dictionary/templatecore/avail-{{{4|error}}}}}}}{{
+
   #if:{{{4|}}}|{{availability/sep}}{{dictionary/templatecore/avail-{{lc:{{{4|error}}}}}}}}}{{
   #if:{{{5|}}}|{{availability/sep}}{{dictionary/templatecore/avail-{{{5|error}}}}}}}{{
+
   #if:{{{5|}}}|{{availability/sep}}{{dictionary/templatecore/avail-{{lc:{{{5|error}}}}}}}}}{{
   #if:{{{6|}}}|{{availability/sep}}{{dictionary/templatecore/avail-{{{6|error}}}}}}}{{
+
   #if:{{{6|}}}|{{availability/sep}}{{dictionary/templatecore/avail-{{lc:{{{6|error}}}}}}}}}{{
   #if:{{{7|}}}|{{availability/sep}}{{dictionary/templatecore/avail-{{{7|error}}}}}}}{{
+
   #if:{{{7|}}}|{{availability/sep}}{{dictionary/templatecore/avail-{{lc:{{{7|error}}}}}}}}}{{
   #if:{{{8|}}}|{{availability/sep}}{{dictionary/templatecore/avail-{{{8|error}}}}}}}<!--  
+
   #if:{{{8|}}}|{{availability/sep}}{{dictionary/templatecore/avail-{{lc:{{{8|error}}}}}}}}}<!--  
 
   --> }}{{
 
   --> }}{{
 
   #if:{{{other1|{{{other|}}}}}}|{{availability/sep}}{{{other1|{{{other|}}}}}}}}{{
 
   #if:{{{other1|{{{other|}}}}}}|{{availability/sep}}{{{other1|{{{other|}}}}}}}}{{

Revision as of 23:29, 5 October 2011

Documentation for Availability

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

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).

Usage

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

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

Translation