Difference between revisions of "Template:Buy now"
m |
m (Hide completely useless preview) |
||
Line 1: | Line 1: | ||
− | <div class="plainlinks btn_wrapper" style="width:{{{width|100%}}}">[http://store.steampowered.com/buyitem/440/{{defindex|{{{1|{{BASEPAGENAME}}}}}}} <span class="btn_buynow">{{Common string|Buy Now}} {{lang | en = - | pt-br = — | ru = за}} {{lang | + | <includeonly><div class="plainlinks btn_wrapper" style="width:{{{width|100%}}}">[http://store.steampowered.com/buyitem/440/{{defindex|{{{1|{{BASEPAGENAME}}}}}}} <span class="btn_buynow">{{Common string|Buy Now}} {{lang | 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}} | | 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}} | | ar = {{item price|tooltips=no|item={{{1|{{BASEPAGENAME}}}}}|currency=usd}} | ||
Line 22: | Line 22: | ||
| zh-hant = {{item price|tooltips=no|item={{{1|{{BASEPAGENAME}}}}}|currency=usd}} / {{item price|tooltips=no|item={{{1|{{BASEPAGENAME}}}}}|currency=rub}} | | zh-hant = {{item price|tooltips=no|item={{{1|{{BASEPAGENAME}}}}}|currency=usd}} / {{item price|tooltips=no|item={{{1|{{BASEPAGENAME}}}}}|currency=rub}} | ||
| zh-hans = {{item price|tooltips=no|item={{{1|{{BASEPAGENAME}}}}}|currency=usd}} | | zh-hans = {{item price|tooltips=no|item={{{1|{{BASEPAGENAME}}}}}|currency=usd}} | ||
− | }}<span></span></span>]</div><noinclude> | + | }}<span></span></span>]</div></includeonly><noinclude> |
== Usage == | == 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. | 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. | ||
+ | {{Translation switching|en, pt-br, ru}} | ||
== Example == | == Example == | ||
<pre> | <pre> |
Revision as of 12:42, 1 February 2022
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.
This template uses translation switching. The correct language will be displayed automatically. Localized versions of this template (e.g. Template:Buy now/ru) are not necessary. Add your translations directly to this template by editing it. Supported languages for this template: en, pt-br, ru (add) |
Example
{{Buy now|Ambassador}}
Produces: