Difference between revisions of "Template:Buy now"

From Team Fortress Wiki
Jump to: navigation, search
(what.)
m (Undo edit by Ryo (Talk) (3187035))
(Tag: Undo)
(35 intermediate revisions by 13 users not shown)
Line 1: Line 1:
<div class="plainlinks btn_wrapper">[http://www.tf2.com <span class="btn_buynow">Buy Now<span></span></span>]</div>
+
<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 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}}
<div class="plainlinks btn_wrapper">[http://www.tf2.com <span class="btn_buynow">Купить Cейчас<span></span></span>]</div>
+
| ar = {{item price|tooltips=no|item={{{1|{{BASEPAGENAME}}}}}|currency=usd}}
 
+
| cs = {{item price|tooltips=no|item={{{1|{{BASEPAGENAME}}}}}|currency=eur}}
<div class="plainlinks btn_wrapper">[http://www.tf2.com <span class="btn_buynow">지금 구입<span></span></span>]</div>
+
| 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}}
<div class="plainlinks btn_wrapper">[http://www.tf2.com <span class="btn_buynow">Køb Nu<span></span></span>]</div>
+
| fi = {{item price|tooltips=no|item={{{1|{{BASEPAGENAME}}}}}|currency=eur}}
 
+
| fr = {{item price|tooltips=no|item={{{1|{{BASEPAGENAME}}}}}|currency=eur}}
<div class="plainlinks btn_wrapper">[http://www.tf2.com <span class="btn_buynow">今すぐ購入<span></span></span>]</div>
+
| hu = {{item price|tooltips=no|item={{{1|{{BASEPAGENAME}}}}}|currency=eur}}
 
+
| it = {{item price|tooltips=no|item={{{1|{{BASEPAGENAME}}}}}|currency=eur}}
<div class="plainlinks btn_wrapper">[http://www.tf2.com <span class="btn_buynow">Cumpara Acum<span></span></span>]</div>
+
| 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=try}}
 +
| zh-hant = {{item price|tooltips=no|item={{{1|{{BASEPAGENAME}}}}}|currency=cny}} / {{item price|tooltips=no|item={{{1|{{BASEPAGENAME}}}}}|currency=hkd}}
 +
| zh-hans = {{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.
 +
{{Translation switching|en, es, pt, pt-br, ru}}
 +
== 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>

Revision as of 09:09, 22 May 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.

Example

{{Buy now|Ambassador}}

Produces: