Difference between revisions of "Template:Merchandise block"

From Team Fortress Wiki
Jump to: navigation, search
m
m
Line 5: Line 5:
 
     <p style="overflow:auto;text-align:left; margin:1em;">
 
     <p style="overflow:auto;text-align:left; margin:1em;">
 
         <span style="color:black; font-size:20px;">'''{{{name-overwrite|{{merchandise|{{{id|S0225}}}|name}}}}}'''</span><br/>
 
         <span style="color:black; font-size:20px;">'''{{{name-overwrite|{{merchandise|{{{id|S0225}}}|name}}}}}'''</span><br/>
         <div style="font-weight:bold;display:inline-block;color:black;">{{#ifexist:Template:Dictionary/merchandise/{{lc:{{{id|S0225}}}}}|{{lang  
+
         <div style="font-weight:bold;display:inline-block;color:black;">{{lang  
 
   | en = ${{merchandise|{{{id|S0225}}}|price-usd}}{{md}}{{Steambutton|link = https://valvestore.forfansbyfans.com/index.php?route=product/product&product_id={{{id|S0225}}}}}{{#switch:{{{tc}}}|yes={{md}}{{Steambutton|link = https://valvestore.forfansbyfans.com/index.php?route=product/product&product_id={{{id-2|P0595}}}}}|#default=}}
 
   | en = ${{merchandise|{{{id|S0225}}}|price-usd}}{{md}}{{Steambutton|link = https://valvestore.forfansbyfans.com/index.php?route=product/product&product_id={{{id|S0225}}}}}{{#switch:{{{tc}}}|yes={{md}}{{Steambutton|link = https://valvestore.forfansbyfans.com/index.php?route=product/product&product_id={{{id-2|P0595}}}}}|#default=}}
 
   | cs = {{merchandise|{{{id|S0239}}}|price-usd}}${{md}}{{Steambutton|link = https://valvestore.forfansbyfans.com/index.php?route=product/product&product_id={{{id|S0239}}}|text = Detaily}}{{#switch:{{{tc}}}|yes={{md}}{{Steambutton|link = https://valvestore.forfansbyfans.com/index.php?route=product/product&product_id={{{id-2|S0225}}}|text = Detaily}}|#default=}}
 
   | cs = {{merchandise|{{{id|S0239}}}|price-usd}}${{md}}{{Steambutton|link = https://valvestore.forfansbyfans.com/index.php?route=product/product&product_id={{{id|S0239}}}|text = Detaily}}{{#switch:{{{tc}}}|yes={{md}}{{Steambutton|link = https://valvestore.forfansbyfans.com/index.php?route=product/product&product_id={{{id-2|S0225}}}|text = Detaily}}|#default=}}
 
   | fr = ${{merchandise|{{{id|S0225}}}|price-usd}}{{md}}{{Steambutton|link = https://valvestore.forfansbyfans.com/index.php?route=product/product&product_id={{{id|S0225}}}|text = Détails}}{{#switch:{{{tc}}}|yes={{md}}{{Steambutton|link = https://valvestore.forfansbyfans.com/index.php?route=product/product&product_id={{{id-2|P0595}}}|text = Détails}}|#default=}}
 
   | fr = ${{merchandise|{{{id|S0225}}}|price-usd}}{{md}}{{Steambutton|link = https://valvestore.forfansbyfans.com/index.php?route=product/product&product_id={{{id|S0225}}}|text = Détails}}{{#switch:{{{tc}}}|yes={{md}}{{Steambutton|link = https://valvestore.forfansbyfans.com/index.php?route=product/product&product_id={{{id-2|P0595}}}|text = Détails}}|#default=}}
 +
  | pt-br = US$ {{merchandise|{{{id|S0225}}}|price-usd}}{{md}}{{Steambutton|link = https://valvestore.forfansbyfans.com/index.php?route=product/product&product_id={{{id|S0225}}}|text = Detalhes}}{{#switch:{{{tc}}}|yes={{md}}{{Steambutton|link = https://valvestore.forfansbyfans.com/index.php?route=product/product&product_id={{{id-2|P0595}}}}}|text = Detalhes|#default=}}
 
   | ru = {{merchandise|{{{id|S0239}}}|price-usd}}${{md}}{{Steambutton|link = https://valvestore.forfansbyfans.com/index.php?route=product/product&product_id={{{id|S0239}}}|text = Подробнее}}{{#switch:{{{tc}}}|yes={{md}}{{Steambutton|link = https://valvestore.forfansbyfans.com/index.php?route=product/product&product_id={{{id-2|S0225}}}|text = Подробнее}}|#default=}}
 
   | ru = {{merchandise|{{{id|S0239}}}|price-usd}}${{md}}{{Steambutton|link = https://valvestore.forfansbyfans.com/index.php?route=product/product&product_id={{{id|S0239}}}|text = Подробнее}}{{#switch:{{{tc}}}|yes={{md}}{{Steambutton|link = https://valvestore.forfansbyfans.com/index.php?route=product/product&product_id={{{id-2|S0225}}}|text = Подробнее}}|#default=}}
}}|{{lang
+
}}
  |en = This item is no longer for sale.
 
  |cs = Toto zboží již není v prodeji.
 
  |fr = Cet objet n'est plus disponible à la vente.
 
  |pt-br= Este item não está à venda.
 
  |ru = Этот предмет больше не продается.
 
 
 
}}}}
 
 
         </div>
 
         </div>
 
     </p>
 
     </p>

Revision as of 00:10, 6 December 2021

Merch Red Pass.png
Merch Blu Pass.png

Template:Dictionary/merchandise/s0225

Params:

  • image - Image to display
  • tc - team coloured?
  • id - ID of item
  • id-2 - ID of second item (if tc)
  • name-overwrite - Overwrite the automagically loaded name.