Difference between revisions of "Template:Merchandise block"

From Team Fortress Wiki
Jump to: navigation, search
m (RJackson moved page User:RJackson/Template:Merchandise block to Template:Merchandise block without leaving a redirect: Fancy enough now I think)
 
(10 intermediate revisions by 6 users not shown)
Line 1: Line 1:
<div style="width: 50%; border-width:1px;border-style:solid; border-radius:.5em; min-height:100px; min-width:20em; margin:.4em .75em .5em; background-color:#E3E3E3; border-color:#E3E3E3;">
+
<div style="width: 400px; border-width:1px;border-style:solid; border-radius:.5em; min-height:100px; min-width:20em; margin:.4em .75em .5em; background-color:#E3E3E3; border-color:#E3E3E3;">
 
     <p style="padding: 0 2px 2px; float:left;">
 
     <p style="padding: 0 2px 2px; float:left;">
 
         {{{image|[[File:Merch Red Pass.png|90px|link=]]<br/>[[File:Merch Blu Pass.png|90px|link=]]}}}
 
         {{{image|[[File:Merch Red Pass.png|90px|link=]]<br/>[[File:Merch Blu Pass.png|90px|link=]]}}}
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 = http://store.valvesoftware.com/product.php?i={{{id|S0225}}}}}{{#switch:{{{tc}}}|yes={{md}}{{Steambutton|link = http://store.valvesoftware.com/product.php?i={{{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=}}
   | ru = {{merchandise|{{{id|S0239}}}|price-usd}}${{md}}{{Steambutton|link = http://store.valvesoftware.com/product.php?i={{{id|S0239}}}|text = Подробнее}}{{#switch:{{{tc}}}|yes={{md}}{{Steambutton|link = http://store.valvesoftware.com/product.php?i={{{id-2|S0225}}}|text = Подробнее}}|#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=}}
}}|{{lang
+
  | de = US${{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 = This item is no longer for sale.
+
   | es = {{merchandise|{{{id|S0225}}}|price-usd}} dólares{{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=}}
}}}}
+
   | 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=}}
 +
}}
 
         </div>
 
         </div>
 
     </p>
 
     </p>

Latest revision as of 11:48, 9 September 2023

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.