Difference between revisions of "Template:Bundle row"

From Team Fortress Wiki
Jump to: navigation, search
m (Usage: ocd)
m (Added Romanian translation)
 
(41 intermediate revisions by 22 users not shown)
Line 1: Line 1:
 
<includeonly>|-
 
<includeonly>|-
! {{Table icon|{{{bundle}}}}}
+
! {{anchor|{{{bundle}}}}}{{Table icon|{{{bundle}}}|link={{#if:{{{link|}}}|{{{link}}}|{{{bundle}}}}}}}
| {{#if:{{{item-1|}}}|{{item icon|size=50px|{{{item-1}}}}}}}<!--
+
| {{#if:{{{item-1|}}}|{{item icon|size=50px|{{{item-1}}}|link={{{item-1}}}{{if lang}}}}}}<!--
--> {{#if:{{{item-2|}}}|{{item icon|size=50px|{{{item-2}}}}}}}<!--
+
--> {{#if:{{{item-2|}}}|{{item icon|size=50px|{{{item-2}}}|link={{{item-2}}}{{if lang}}}}}}<!--
--> {{#if:{{{item-3|}}}|{{item icon|size=50px|{{{item-3}}}}}}}<!--
+
--> {{#if:{{{item-3|}}}|{{item icon|size=50px|{{{item-3}}}|link={{{item-3}}}{{if lang}}}}}}<!--
--> {{#if:{{{item-4|}}}|{{item icon|size=50px|{{{item-4}}}}}}}<!--
+
--> {{#if:{{{item-4|}}}|{{item icon|size=50px|{{{item-4}}}|link={{{item-4}}}{{if lang}}}}}}<!--
--> {{#if:{{{item-5|}}}|{{item icon|size=50px|{{{item-5}}}}}}}<!--
+
--> {{#if:{{{item-5|}}}|{{item icon|size=50px|{{{item-5}}}|link={{{item-5}}}{{if lang}}}}}}<!--
--> {{#if:{{{item-6|}}}|{{item icon|size=50px|{{{item-6}}}}}}}<!--
+
--> {{#if:{{{item-6|}}}|{{item icon|size=50px|{{{item-6}}}|link={{{item-6}}}{{if lang}}}}}}<!--
--> {{#if:{{{item-7|}}}|{{item icon|size=50px|{{{item-7}}}}}}}<!--
+
--> {{#if:{{{item-7|}}}|{{item icon|size=50px|{{{item-7}}}|link={{{item-7}}}{{if lang}}}}}}<!--
--> {{#if:{{{item-8|}}}|{{item icon|size=50px|{{{item-8}}}}}}}<!--
+
--> {{#if:{{{item-8|}}}|{{item icon|size=50px|{{{item-8}}}|link={{{item-8}}}{{if lang}}}}}}<!--
--> {{#if:{{{item-9|}}}|{{item icon|size=50px|{{{item-9}}}}}}}<!--
+
--> {{#if:{{{item-9|}}}|{{item icon|size=50px|{{{item-9}}}|link={{{item-9}}}{{if lang}}}}}}<!--
--> {{#if:{{{item-10|}}}|{{item icon|size=50px|{{{item-10}}}}}}}<!--
+
--> {{#if:{{{item-10|}}}|{{item icon|size=50px|{{{item-10}}}|link={{{item-10}}}{{if lang}}}}}}<!--
--> {{#if:{{{item-11|}}}|{{item icon|size=50px|{{{item-11}}}}}}}<!--
+
--> {{#if:{{{item-11|}}}|{{item icon|size=50px|{{{item-11}}}|link={{{item-11}}}{{if lang}}}}}}<!--
--> {{#if:{{{item-12|}}}|{{item icon|size=50px|{{{item-12}}}}}}}<!--
+
--> {{#if:{{{item-12|}}}|{{item icon|size=50px|{{{item-12}}}|link={{{item-12}}}{{if lang}}}}}}<!--
--> {{#if:{{{item-13|}}}|{{item icon|size=50px|{{{item-13}}}}}}}<!--
+
--> {{#if:{{{item-13|}}}|{{item icon|size=50px|{{{item-13}}}|link={{{item-13}}}{{if lang}}}}}}<!--
--> {{#if:{{{item-14|}}}|{{item icon|size=50px|{{{item-14}}}}}}}<!--
+
--> {{#if:{{{item-14|}}}|{{item icon|size=50px|{{{item-14}}}|link={{{item-14}}}{{if lang}}}}}}<!--
--> {{#if:{{{item-15|}}}|{{item icon|size=50px|{{{item-15}}}}}}}<!--
+
--> {{#if:{{{item-15|}}}|{{item icon|size=50px|{{{item-15}}}|link={{{item-15}}}{{if lang}}}}}}<!--
--> {{#if:{{{item-16|}}}|{{item icon|size=50px|{{{item-16}}}}}}}<!--
+
--> {{#if:{{{item-16|}}}|{{item icon|size=50px|{{{item-16}}}|link={{{item-16}}}{{if lang}}}}}}<!--
--> {{#if:{{{item-17|}}}|{{item icon|size=50px|{{{item-17}}}}}}}<!--
+
--> {{#if:{{{item-17|}}}|{{item icon|size=50px|{{{item-17}}}|link={{{item-17}}}{{if lang}}}}}}<!--
--> {{#if:{{{item-18|}}}|{{item icon|size=50px|{{{item-18}}}}}}}<!--
+
--> {{#if:{{{item-18|}}}|{{item icon|size=50px|{{{item-18}}}|link={{{item-18}}}{{if lang}}}}}}<!--
--> {{#if:{{{item-19|}}}|{{item icon|size=50px|{{{item-19}}}}}}}<!--
+
--> {{#if:{{{item-19|}}}|{{item icon|size=50px|{{{item-19}}}|link={{{item-19}}}{{if lang}}}}}}<!--
--> {{#if:{{{item-20|}}}|{{item icon|size=50px|{{{item-20}}}}}}}<!--
+
--> {{#if:{{{item-20|}}}|{{item icon|size=50px|{{{item-20}}}|link={{{item-20}}}{{if lang}}}}}}<!--
--> {{#if:{{{item-21|}}}|{{item icon|size=50px|{{{item-21}}}}}}}<!--
+
--> {{#if:{{{item-21|}}}|{{item icon|size=50px|{{{item-21}}}|link={{{item-21}}}{{if lang}}}}}}<!--
--> {{#if:{{{item-22|}}}|{{item icon|size=50px|{{{item-22}}}}}}}<!--
+
--> {{#if:{{{item-22|}}}|{{item icon|size=50px|{{{item-22}}}|link={{{item-22}}}{{if lang}}}}}}<!--
--> {{#if:{{{item-23|}}}|{{item icon|size=50px|{{{item-23}}}}}}}<!--
+
--> {{#if:{{{item-23|}}}|{{item icon|size=50px|{{{item-23}}}|link={{{item-23}}}{{if lang}}}}}}<!--
--> {{#if:{{{item-24|}}}|{{item icon|size=50px|{{{item-24}}}}}}}<!--
+
--> {{#if:{{{item-24|}}}|{{item icon|size=50px|{{{item-24}}}|link={{{item-24}}}{{if lang}}}}}}<!--
--> {{#if:{{{item-25|}}}|{{item icon|size=50px|{{{item-25}}}}}}}<!--
+
--> {{#if:{{{item-25|}}}|{{item icon|size=50px|{{{item-25}}}|link={{{item-25}}}{{if lang}}}}}}<!--
--> {{#if:{{{item-26|}}}|{{item icon|size=50px|{{{item-26}}}}}}}<!--
+
--> {{#if:{{{item-26|}}}|{{item icon|size=50px|{{{item-26}}}|link={{{item-26}}}{{if lang}}}}}}<!--
--> {{#if:{{{item-27|}}}|{{item icon|size=50px|{{{item-27}}}}}}}<!--
+
--> {{#if:{{{item-27|}}}|{{item icon|size=50px|{{{item-27}}}|link={{{item-27}}}{{if lang}}}}}}<!--
--> {{#if:{{{item-28|}}}|{{item icon|size=50px|{{{item-28}}}}}}}<!--
+
--> {{#if:{{{item-28|}}}|{{item icon|size=50px|{{{item-28}}}|link={{{item-28}}}{{if lang}}}}}}<!--
--> {{#if:{{{item-29|}}}|{{item icon|size=50px|{{{item-29}}}}}}}<!--
+
--> {{#if:{{{item-29|}}}|{{item icon|size=50px|{{{item-29}}}|link={{{item-29}}}{{if lang}}}}}}<!--
--> {{#if:{{{item-30|}}}|{{item icon|size=50px|{{{item-30}}}}}}}<!--
+
--> {{#if:{{{item-30|}}}|{{item icon|size=50px|{{{item-30}}}|link={{{item-30}}}{{if lang}}}}}}<!--
--> {{#if:{{{item-31|}}}|{{item icon|size=50px|{{{item-31}}}}}}}<!--
+
--> {{#if:{{{item-31|}}}|{{item icon|size=50px|{{{item-31}}}|link={{{item-31}}}{{if lang}}}}}}<!--
--> {{#if:{{{item-32|}}}|{{item icon|size=50px|{{{item-32}}}}}}}<!--
+
--> {{#if:{{{item-32|}}}|{{item icon|size=50px|{{{item-32}}}|link={{{item-32}}}{{if lang}}}}}}<!--
--> {{#if:{{{item-33|}}}|{{item icon|size=50px|{{{item-33}}}}}}}<!--
+
--> {{#if:{{{item-33|}}}|{{item icon|size=50px|{{{item-33}}}|link={{{item-33}}}{{if lang}}}}}}<!--
--> {{#if:{{{item-34|}}}|{{item icon|size=50px|{{{item-34}}}}}}}<!--
+
--> {{#if:{{{item-34|}}}|{{item icon|size=50px|{{{item-34}}}|link={{{item-34}}}{{if lang}}}}}}<!--
--> {{#if:{{{item-35|}}}|{{item icon|size=50px|{{{item-35}}}}}}}<!--
+
--> {{#if:{{{item-35|}}}|{{item icon|size=50px|{{{item-35}}}|link={{{item-35}}}{{if lang}}}}}}<!--
--> {{#if:{{{item-36|}}}|{{item icon|size=50px|{{{item-36}}}}}}}<!--
+
--> {{#if:{{{item-36|}}}|{{item icon|size=50px|{{{item-36}}}|link={{{item-36}}}{{if lang}}}}}}<!--
--> {{#if:{{{item-37|}}}|{{item icon|size=50px|{{{item-37}}}}}}}<!--
+
--> {{#if:{{{item-37|}}}|{{item icon|size=50px|{{{item-37}}}|link={{{item-37}}}{{if lang}}}}}}<!--
--> {{#if:{{{item-38|}}}|{{item icon|size=50px|{{{item-38}}}}}}}<!--
+
--> {{#if:{{{item-38|}}}|{{item icon|size=50px|{{{item-38}}}|link={{{item-38}}}{{if lang}}}}}}<!--
--> {{#if:{{{item-39|}}}|{{item icon|size=50px|{{{item-39}}}}}}}<!--
+
--> {{#if:{{{item-39|}}}|{{item icon|size=50px|{{{item-39}}}|link={{{item-39}}}{{if lang}}}}}}<!--
--> {{#if:{{{item-40|}}}|{{item icon|size=50px|{{{item-40}}}}}}}<!--
+
--> {{#if:{{{item-40|}}}|{{item icon|size=50px|{{{item-40}}}|link={{{item-40}}}{{if lang}}}}}}<!--
--> {{#if:{{{item-41|}}}|{{item icon|size=50px|{{{item-41}}}}}}}<!--
+
--> {{#if:{{{item-41|}}}|{{item icon|size=50px|{{{item-41}}}|link={{{item-41}}}{{if lang}}}}}}<!--
--> {{#if:{{{item-42|}}}|{{item icon|size=50px|{{{item-42}}}}}}}<!--
+
--> {{#if:{{{item-42|}}}|{{item icon|size=50px|{{{item-42}}}|link={{{item-42}}}{{if lang}}}}}}<!--
--> {{#if:{{{item-43|}}}|{{item icon|size=50px|{{{item-43}}}}}}}<!--
+
--> {{#if:{{{item-43|}}}|{{item icon|size=50px|{{{item-43}}}|link={{{item-43}}}{{if lang}}}}}}<!--
--> {{#if:{{{item-44|}}}|{{item icon|size=50px|{{{item-44}}}}}}}<!--
+
--> {{#if:{{{item-44|}}}|{{item icon|size=50px|{{{item-44}}}|link={{{item-44}}}{{if lang}}}}}}<!--
--> {{#if:{{{item-45|}}}|{{item icon|size=50px|{{{item-45}}}}}}}<!--
+
--> {{#if:{{{item-45|}}}|{{item icon|size=50px|{{{item-45}}}|link={{{item-45}}}{{if lang}}}}}}<!--
--> {{#if:{{{item-46|}}}|{{item icon|size=50px|{{{item-46}}}}}}}<!--
+
--> {{#if:{{{item-46|}}}|{{item icon|size=50px|{{{item-46}}}|link={{{item-46}}}{{if lang}}}}}}<!--
--> {{#if:{{{item-47|}}}|{{item icon|size=50px|{{{item-47}}}}}}}<!--
+
--> {{#if:{{{item-47|}}}|{{item icon|size=50px|{{{item-47}}}|link={{{item-47}}}{{if lang}}}}}}<!--
--> {{#if:{{{item-48|}}}|{{item icon|size=50px|{{{item-48}}}}}}}<!--
+
--> {{#if:{{{item-48|}}}|{{item icon|size=50px|{{{item-48}}}|link={{{item-48}}}{{if lang}}}}}}<!--
--> {{#if:{{{item-49|}}}|{{item icon|size=50px|{{{item-49}}}}}}}<!--
+
--> {{#if:{{{item-49|}}}|{{item icon|size=50px|{{{item-49}}}|link={{{item-49}}}{{if lang}}}}}}<!--
--> {{#if:{{{item-50|}}}|{{item icon|size=50px|{{{item-50}}}}}}}
+
--> {{#if:{{{item-50|}}}|{{item icon|size=50px|{{{item-50}}}|link={{{item-50}}}{{if lang}}}}}}
| {{#ifexist:{{dictionary/{{lc:{{{bundle}}}}}}} | {{Item price|usd|item={{{bundle}}}|tooltips=yes}}
+
| {{#ifexist:Template:Dictionary/price/{{lc:{{{bundle}}}}}|{{Item price|usd|item={{{bundle}}}|tooltips=yes}}
  
 
{{Item price|gbp|item={{{bundle}}}|tooltips=yes}}
 
{{Item price|gbp|item={{{bundle}}}|tooltips=yes}}
  
{{Item price|eur|item={{{bundle}}}|tooltips=yes}} | {{if lang
+
{{Item price|eur|item={{{bundle}}}|tooltips=yes}} | [[File:Pictogram_minus.png|50px|center|{{lang
   | en = Not on sale
+
   | en = Not for sale
 +
  | cs = Již není na prodej
 +
  | da = Ikke til salg
 +
  | de = Wird nicht verkauft
 +
  | es = No se vende
 
   | fr = Pas en vente
 
   | fr = Pas en vente
}}}}
+
  | pl = Nie na sprzedaż
| {{#ifexist:{{dictionary/{{lc:{{{bundle}}}}}}} | [[File:Pictogram_plus.png|50px|center]] | [[File:Pictogram_minus.png|50px|center]]}}
+
  | pt-br = Não é vendido
| [[{{{date}}} Patch{{if lang}}|{{{date-translated|{{{date}}}}}}]]</includeonly><noinclude>
+
  | ro = Nu este de vânzare
{{translation switching|en, fr}}
+
  | ru = Не продается
 +
  | zh-hant = 已停止販售
 +
}}]]
 +
}}
 +
| {{#ifexist:{{{date}}} Patch{{if lang}}|[[{{{date}}} Patch{{if lang}}|{{{localized-date|{{{date}}}}}}]]|{{{localized-date|{{{date}}}}}}}}{{anchor|{{{bundle}}}}}</includeonly><noinclude>
 +
{{translation switching|cs, da, de, es, fr, pl, pt-br, ro, ru, zh-hant}}
 
{{doc begin}}
 
{{doc begin}}
  
Line 70: Line 79:
 
<pre>{{Bundle row
 
<pre>{{Bundle row
 
   | bundle = Bundle name as given by the Steam WebAPI
 
   | bundle = Bundle name as given by the Steam WebAPI
 +
  | link = Article link (optional)
 
   | item-1 = English name of the first item in the bundle
 
   | item-1 = English name of the first item in the bundle
 
   | item-2 = English name of the second item in the bundle
 
   | item-2 = English name of the second item in the bundle
Line 75: Line 85:
 
   | 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>

Latest revision as of 09:10, 23 September 2023

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
  | link = Article link (optional)
  | 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
}}