Difference between revisions of "Template:Store link"
From PCGamingWiki, the wiki about fixing PC games
m (→Origin: -> Add "usa/en-us/" to the store link to bypass the 404 redirect issue that otherwise occur for titles that starts with an ISO 639 language code (e.g. Tharsis)) |
m (updated amazon links) |
||
Line 1: | Line 1: | ||
<includeonly>{{#switch:{{lc:{{{1}}}}} | <includeonly>{{#switch:{{lc:{{{1}}}}} | ||
|amazon | |amazon | ||
− | |amazon.com = [https:// | + | |amazon.com = [https://amazon.com/dp/{{{2}}}?tag=pcgamingwik0e-20 {{{3|Amazon.com}}}] |
|amazon uk | |amazon uk | ||
− | |amazon.co.uk = [http:// | + | |amazon.co.uk = [http://amazon.co.uk/dp/{{{2}}}?tag=pcgamingwiki-21 {{{3|Amazon.co.uk}}}] |
|battle.net = [https://battle.net/shop/product/{{{2}}} {{{3|Battle.net}}}] | |battle.net = [https://battle.net/shop/product/{{{2}}} {{{3|Battle.net}}}] | ||
|bethesda | |bethesda |
Revision as of 14:06, 22 November 2019
Documentation for the above template (sometimes hidden from view).
- Usage
{{Store link|Amazon|B004APAEHA}}
becomes Amazon.com.{{Store link|Amazon|B004APAEHA|Ultimate Edition}}
becomes Ultimate Edition.
- Valid store names (not case-sensitive)
Visit Template:Store link/Documentation to edit this text. (How does this work?)