Difference between revisions of "Template:Bundle row"

From Team Fortress Wiki
Jump to: navigation, search
m (Ugh! Syntax.)
m (Rename (currently unused) "date-translated" parameter to make its purpose/function a little more obvious)
Line 64: Line 64:
 
}}]]
 
}}]]
 
}}
 
}}
| {{#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}}|{{{localized-date|{{{date}}}}}}]]|{{{localized-date|{{{date}}}}}}}}</includeonly><noinclude>
 
{{translation switching|de, es, fr, pt-br, ru}}
 
{{translation switching|de, es, fr, pt-br, ru}}
 
{{doc begin}}
 
{{doc begin}}
Line 79: Line 79:
 
   | item-n = English name of the nth 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 = 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
+
   | localized-date = Translated/localized date of the patch date; not necessary for the English article
 
}}</pre>
 
}}</pre>

Revision as of 23:09, 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)
  | localized-date = Translated/localized date of the patch date; not necessary for the English article
}}