Difference between revisions of "Template:Buy now Market"
m |
m |
||
(8 intermediate revisions by 2 users not shown) | |||
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">{{ | + | <includeonly><div class="plainlinks btn_wrapper" style="width:{{{width|100%}}}">[https://steamcommunity.com/market/search/?q=appid:440+{{#if: {{{2|}}} | {{urlencode:{{{1|{{BASEPAGENAME}}}}}}} | {{#ifexist: Template:Dictionary/defindex/{{lc:{{{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> |
− | + | </includeonly><noinclude>{{doc begin}} | |
− | |||
− | |||
− | <noinclude> | ||
== Usage == | == Usage == | ||
This template is used by {{tl|Item infobox}}. It creates a box which links to the Steam Community Market. | This template is used by {{tl|Item infobox}}. It creates a box which links to the Steam Community Market. | ||
== Example == | == Example == | ||
<pre> | <pre> | ||
− | {{Buy now Market| | + | {{Buy now Market|Tour of Duty Ticket}} |
</pre> | </pre> | ||
Produces:<br> | Produces:<br> | ||
− | <table class="infobox item-infobox weapon-infobox"><tr><td>{{Buy now Market| | + | <table class="infobox item-infobox weapon-infobox" style="float: left"><tr><td>{{Buy now Market|Tour of Duty Ticket}}</td></tr></table><br><br> |
[[Category:Link insertion templates]] | [[Category:Link insertion templates]] | ||
</noinclude> | </noinclude> |
Latest revision as of 11:24, 13 August 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: