Difference between revisions of "Template:Buy now Market"

From Team Fortress Wiki
Jump to: navigation, search
m
m
Line 1: Line 1:
<div class="plainlinks btn_wrapper" style="width:{{{width|100%}}}">[https://steamcommunity.com/market/search/?q=appid:440+prop_def_index:{{defindex|{{{1|{{BASEPAGENAME}}}}}}} <span class="btn_buynow_market">{{common string|buy now market}}<span></span></span>]</div>
+
<div class="plainlinks btn_wrapper" style="width:{{{width|100%}}}">[https://steamcommunity.com/market/search/?q=appid:440+{{#ifexist:{{defindex|{{{1|{{BASEPAGENAME}}}}}}}|prop_def_index:{{defindex|{{{1|{{BASEPAGENAME}}}}}}}|{{urlencode:{{{1|{{BASEPAGENAME}}}}}}}}} <span class="btn_buynow_market">{{common string|buy now market}}<span></span></span>]</div>
 
<noinclude>{{doc begin}}
 
<noinclude>{{doc begin}}
 
== Usage ==
 
== Usage ==

Revision as of 10:55, 6 June 2019

Documentation for Buy now Market

Usage

This template is used by {{Item infobox}}. It creates a box which links to the Steam Community Market.

Example

{{Buy now Market|Tour of Duty Ticket}}

Produces: