Difference between revisions of "Template:Bundle row"

From Team Fortress Wiki
Jump to: navigation, search
m (Somehow I reverted my own change. "Not on sale" -> "Not for sale")
(Remove second #ifexist to check whether item is for sale; combine price and boolean columns)
Line 55: Line 55:
 
{{Item price|gbp|item={{{bundle}}}|tooltips=yes}}
 
{{Item price|gbp|item={{{bundle}}}|tooltips=yes}}
  
{{Item price|eur|item={{{bundle}}}|tooltips=yes}} | {{lang
+
{{Item price|eur|item={{{bundle}}}|tooltips=yes}} | [[File:Pictogram_minus.png|50px|center]]|title={{lang
 
   | de = Wird nicht verkauft
 
   | de = Wird nicht verkauft
 
   | en = Not for sale
 
   | en = Not for sale
Line 62: Line 62:
 
   | pt-br = Não é vendido
 
   | pt-br = Não é vendido
 
   | ru = Не продается
 
   | ru = Не продается
}}}}
+
}}
| {{#ifexist:Template:Dictionary/price/{{lc:{{{bundle}}}}}|[[File:Pictogram_plus.png|50px|center]]|[[File:Pictogram_minus.png|50px|center]]}}
+
}}
 +
 
 +
 
 +
 
 +
 
 +
}}
 
| {{#ifexist:{{{date}}} Patch{{if lang}}|[[{{{date}}} Patch{{if lang}}|{{{date-translated|{{{date}}}}}}]]|{{{date-translated|{{{date}}}}}}}}</includeonly><noinclude>
 
| {{#ifexist:{{{date}}} Patch{{if lang}}|[[{{{date}}} Patch{{if lang}}|{{{date-translated|{{{date}}}}}}]]|{{{date-translated|{{{date}}}}}}}}</includeonly><noinclude>
 
{{translation switching|de, es, fr, pt-br, ru}}
 
{{translation switching|de, es, fr, pt-br, ru}}

Revision as of 22:40, 10 December 2011

Documentation for Bundle row


This template is used to add rows to Bundles.

Usage

{{Bundle row
  | bundle = Bundle name as given by the Steam WebAPI
  | item-1 = English name of the first item in the bundle
  | item-2 = English name of the second item in the bundle
    ...
  | item-n = English name of the nth item in the bundle
  | date = English date of the patch the weapon has been released, in Patch date format (Month dd, yyyy)
  | date-translated = Translated date of the patch date; not necessary for english article
}}