Difference between revisions of "Template:Buy now"
m (remove try) |
|||
(42 intermediate revisions by 17 users not shown) | |||
Line 1: | Line 1: | ||
− | < | + | <includeonly><div class="plainlinks btn_wrapper" style="width:{{{width|100%}}}">[https://store.steampowered.com/buyitem/440/{{defindex|{{{1|{{BASEPAGENAME}}}}}}} <span class="btn_buynow">{{{2|{{Common string|Buy Now}}}}} {{lang incomplete | en = - | pt-br = — | ru = за}} {{lang |
+ | | en = {{item price|tooltips=no|item={{{1|{{BASEPAGENAME}}}}}|currency=usd}} / {{item price|tooltips=no|item={{{1|{{BASEPAGENAME}}}}}|currency=gbp}} / {{item price|tooltips=no|item={{{1|{{BASEPAGENAME}}}}}|currency=eur}} | ||
+ | | ar = {{item price|tooltips=no|item={{{1|{{BASEPAGENAME}}}}}|currency=usd}} | ||
+ | | cs = {{item price|tooltips=no|item={{{1|{{BASEPAGENAME}}}}}|currency=eur}} | ||
+ | | de = {{item price|tooltips=no|item={{{1|{{BASEPAGENAME}}}}}|currency=eur}} | ||
+ | | es = {{item price|tooltips=no|item={{{1|{{BASEPAGENAME}}}}}|currency=usd}} / {{item price|tooltips=no|item={{{1|{{BASEPAGENAME}}}}}|currency=eur}} | ||
+ | | fi = {{item price|tooltips=no|item={{{1|{{BASEPAGENAME}}}}}|currency=eur}} | ||
+ | | fr = {{item price|tooltips=no|item={{{1|{{BASEPAGENAME}}}}}|currency=eur}} | ||
+ | | hu = {{item price|tooltips=no|item={{{1|{{BASEPAGENAME}}}}}|currency=eur}} | ||
+ | | it = {{item price|tooltips=no|item={{{1|{{BASEPAGENAME}}}}}|currency=eur}} | ||
+ | | ja = {{item price|tooltips=no|item={{{1|{{BASEPAGENAME}}}}}|currency=jpy}} | ||
+ | | ko = {{item price|tooltips=no|item={{{1|{{BASEPAGENAME}}}}}|currency=krw}} | ||
+ | | nl = {{item price|tooltips=no|item={{{1|{{BASEPAGENAME}}}}}|currency=eur}} | ||
+ | | no = {{item price|tooltips=no|item={{{1|{{BASEPAGENAME}}}}}|currency=eur}} | ||
+ | | pl = {{item price|tooltips=no|item={{{1|{{BASEPAGENAME}}}}}|currency=pln}} | ||
+ | | pt = {{item price|tooltips=no|item={{{1|{{BASEPAGENAME}}}}}|currency=eur}} | ||
+ | | pt-br = {{item price|tooltips=no|item={{{1|{{BASEPAGENAME}}}}}|currency=brl}} | ||
+ | | ro = {{item price|tooltips=no|item={{{1|{{BASEPAGENAME}}}}}|currency=eur}} | ||
+ | | ru = {{item price|tooltips=no|item={{{1|{{BASEPAGENAME}}}}}|currency=rub}} | ||
+ | | sv = {{item price|tooltips=no|item={{{1|{{BASEPAGENAME}}}}}|currency=eur}} | ||
+ | | tr = {{item price|tooltips=no|item={{{1|{{BASEPAGENAME}}}}}|currency=usd}} | ||
+ | | zh-hans = {{item price|tooltips=no|item={{{1|{{BASEPAGENAME}}}}}|currency=cny}} / {{item price|tooltips=no|item={{{1|{{BASEPAGENAME}}}}}|currency=hkd}} | ||
+ | | zh-hant = {{item price|tooltips=no|item={{{1|{{BASEPAGENAME}}}}}|currency=cny}} / {{item price|tooltips=no|item={{{1|{{BASEPAGENAME}}}}}|currency=hkd}} | ||
+ | }}<span></span></span>]</div></includeonly><noinclude> | ||
+ | == Usage == | ||
+ | This template is used by {{tl|Item infobox}}. It creates a box which links to the steam page to purchase an item. It also lists the price in a localized currency. | ||
+ | == Example == | ||
+ | <pre> | ||
+ | {{Buy now|Ambassador}} | ||
+ | </pre> | ||
+ | Produces:<br> | ||
+ | <table class="infobox item-infobox weapon-infobox"><tr><td>{{Buy now|Ambassador}}</td></tr></table> | ||
+ | [[Category:Link insertion templates]] | ||
+ | </noinclude> |
Latest revision as of 02:29, 20 December 2023
Usage
This template is used by {{Item infobox}}
. It creates a box which links to the steam page to purchase an item. It also lists the price in a localized currency.
Example
{{Buy now|Ambassador}}
Produces: