Template:Merchandise block: Difference between revisions

From the Portal Wiki
Jump to navigation Jump to search
(Created page with "<div style="width: 50%; border-width:1px;border-style:solid;-moz-border-radius:.5em;-webkit-border-radius:.5em;border-radius:.5em; min-height:100px; min-width:20em; margin:.4e...")
 
m (Tark moved page User:Tark/Sandbox/Merchandise block to Template:Merchandise block without leaving a redirect)
 
(4 intermediate revisions by the same user not shown)
Line 1: Line 1:
<div style="width: 50%; border-width:1px;border-style:solid;-moz-border-radius:.5em;-webkit-border-radius:.5em;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;">
[[File:{{{image|Test Chamber Sticker Sheet.png}}}|90px]]
        [[File:{{{image|Test Chamber Sticker Sheet.png}}}|90px]]
</p>
    </p>
<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|{{{name}}}}}}'''</span><br/>
        <span style="color:black; font-size:20px;">'''{{{name-overwrite|{{dictionary/price/{{{id}}}|name}}}}}'''</span><br/>
<div style="font-weight:bold;display:inline-block;color:black;">{{lang
        <div style="font-weight:bold;display:inline-block;color:black;"><!--
  | en = ${{Merchandise_price|name={{{name}}}}}{{md}}{{Steambutton|link = https://valvestore.forfansbyfans.com/all-portal/{{{id|companion-cube-tube-fit-and-flare-dress-8513.html}}}}}{{#switch:{{{tc}}}|yes={{md}}{{Steambutton|link = https://valvestore.forfansbyfans.com/all-portal/{{{id-2|companion-cube-tube-fit-and-flare-dress-8513.html}}}}}|#default=}}
            -->${{dictionary/price/{{{id}}}|price-usd}}<!--
  | ru = {{Merchandise_price|name={{{name}}}}}${{md}}{{Steambutton|link = https://valvestore.forfansbyfans.com/all-portal/{{{id|aperture-lab-top-12176.html}}}|text = Подробнее}}{{#switch:{{{tc}}}|yes={{md}}{{Steambutton|link = https://valvestore.forfansbyfans.com/all-portal/{{{id-2|aperture-lab-top-12176.html}}}|text = Подробнее}}|#default=}}
            -->{{md}}<!--
}}</div>
            -->{{Steambutton|link = https://valvestore.forfansbyfans.com/index.php?route=product/product&product_id={{{id}}}}}
</p>
        </div>
</div>
    </p>
</div><noinclude>
Params:
* <code>image</code> - Image to display
* <code>id</code> - ID of item
* <code>name-overwrite</code> - Overwrite the automagically loaded name.
</noinclude>

Latest revision as of 15:01, 27 June 2023

Test Chamber Sticker Sheet.png

{{dictionary/price/{{{id}}}|name}}

${{dictionary/price/{{{id}}}|price-usd}} · 

Params:

  • image - Image to display
  • id - ID of item
  • name-overwrite - Overwrite the automagically loaded name.