Difference between revisions of "Template:AHshort"
From Fallen Sword Wiki
(New page: <includeonly>[http://www.fallensword.com/index.php?cmd=auctionhouse&type=-1&search_text={{{1|}}}]</includeonly> <noinclude> <center> {| width="100%" style="border:3px dashed #f00;" | align...) |
|||
(One intermediate revision by one user not shown) | |||
Line 1: | Line 1: | ||
− | <includeonly>[http://www.fallensword.com/index.php?cmd=auctionhouse& | + | <includeonly>[http://www.fallensword.com/index.php?cmd=auctionhouse&search={{urlencode:{{{1|}}}}}]</includeonly> |
<noinclude> | <noinclude> | ||
<center> | <center> | ||
Line 17: | Line 17: | ||
This template allows you to make a short link that searches the auction house for a specific item. | This template allows you to make a short link that searches the auction house for a specific item. | ||
− | If no parameters are specified, the link will only take you to the Auction House. However, if | + | If no parameters are specified, the link will only take you to the Auction House. <strike>However, if the item name is given, it is important to note that there cannot be any spaces. If the item does have spaces in the name, they must be replaced with <tt>+</tt> to work. For example if you are making a link to search the Auction House for a Rune of Decay, you would put it into the template as <tt>Rune+of+Decay</tt>.</strike> The template now automatically replaces any spaces in the item name with <tt>+</tt> so the link will properly work. |
{| width="100%" | {| width="100%" | ||
Line 26: | Line 26: | ||
| width="50%" style="border:1px solid #aaa;" | {{AHshort|}} | | width="50%" style="border:1px solid #aaa;" | {{AHshort|}} | ||
|- | |- | ||
− | | width="50%" style="border:1px solid #aaa;" | <code><nowiki>{{AHshort|Rune | + | | width="50%" style="border:1px solid #aaa;" | <code><nowiki>{{AHshort|Rune of Decay}}</nowiki></code> |
− | | width="50%" style="border:1px solid #aaa;" | {{AHshort|Rune | + | | width="50%" style="border:1px solid #aaa;" | {{AHshort|Rune of Decay}} |
|} | |} | ||
Latest revision as of 15:58, 23 April 2019
Do not edit this page! |
If you need to customize this template to fit your own needs, copy the code into a fresh template and work from there. |
Editing this page may cause the template to stop working properly for other pages currently using this template. |
How to Use
This template allows you to make a short link that searches the auction house for a specific item.
If no parameters are specified, the link will only take you to the Auction House. However, if the item name is given, it is important to note that there cannot be any spaces. If the item does have spaces in the name, they must be replaced with + to work. For example if you are making a link to search the Auction House for a Rune of Decay, you would put it into the template as Rune+of+Decay. The template now automatically replaces any spaces in the item name with + so the link will properly work.
Code | Output |
---|---|
{{AHshort|}}
|
[1] |
{{AHshort|Rune of Decay}}
|
[2] |
Alternate Templates
- Template:AHshort - A quick Auction House link that takes very little space on a page.
- Template:AHlong - A longer Auction House link that permits a description of the destination.
- Template:AHplayer - An Auction House link that takes you to a player's auctions.