Difference between revisions of "Template:Buy now"

From Team Fortress Wiki
Jump to: navigation, search
m (Undo my own edit by Ryo (Talk) (2762920))
m (Undo edit by Ryo (Talk) (3187035))
(Tag: Undo)
(6 intermediate revisions by 3 users not shown)
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 = - | 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 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}}
 
  | 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 9: Line 9:
 
  | hu = {{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}}
 
  | it = {{item price|tooltips=no|item={{{1|{{BASEPAGENAME}}}}}|currency=eur}}
  | ja = {{item price|tooltips=no|item={{{1|{{BASEPAGENAME}}}}}|currency=usd}}
+
  | ja = {{item price|tooltips=no|item={{{1|{{BASEPAGENAME}}}}}|currency=jpy}}
  | ko = {{item price|tooltips=no|item={{{1|{{BASEPAGENAME}}}}}|currency=usd}}
+
  | ko = {{item price|tooltips=no|item={{{1|{{BASEPAGENAME}}}}}|currency=krw}}
 
  | nl = {{item price|tooltips=no|item={{{1|{{BASEPAGENAME}}}}}|currency=eur}}
 
  | nl = {{item price|tooltips=no|item={{{1|{{BASEPAGENAME}}}}}|currency=eur}}
 
  | no = {{item price|tooltips=no|item={{{1|{{BASEPAGENAME}}}}}|currency=eur}}
 
  | no = {{item price|tooltips=no|item={{{1|{{BASEPAGENAME}}}}}|currency=eur}}
Line 19: Line 19:
 
  | ru = {{item price|tooltips=no|item={{{1|{{BASEPAGENAME}}}}}|currency=rub}}
 
  | ru = {{item price|tooltips=no|item={{{1|{{BASEPAGENAME}}}}}|currency=rub}}
 
  | sv = {{item price|tooltips=no|item={{{1|{{BASEPAGENAME}}}}}|currency=eur}}
 
  | sv = {{item price|tooltips=no|item={{{1|{{BASEPAGENAME}}}}}|currency=eur}}
  | tr = {{item price|tooltips=no|item={{{1|{{BASEPAGENAME}}}}}|currency=usd}}
+
  | tr = {{item price|tooltips=no|item={{{1|{{BASEPAGENAME}}}}}|currency=try}}
  | 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=cny}} / {{item price|tooltips=no|item={{{1|{{BASEPAGENAME}}}}}|currency=hkd}}
  | zh-hans = {{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}}
  }}<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, es, pt, pt-br, ru}}
 
== Example ==
 
== Example ==
 
<pre>
 
<pre>

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: