Difference between revisions of "Template:AH"

*>Anthoron
(Cosmetics of the FFXIAH link)
 
(29 intermediate revisions by 9 users not shown)
Line 1: Line 1:
{{#if:{{{1|}}}|{{#ifeq:{{{1}}}|Exclusive|'''''Cannot be [[Auction House|auctioned]], [[Trade|traded]], or [[Bazaar|bazaared]].'''''|'''[[Auction House#Categories|Auction House Category]]:''' [[{{{1}}}]]}} {{#if:{{{2|}}}|> {{#switch:{{{2}}}|Automaton=[[Automaton Attachments|{{{2}}}]]|Summoning=[[Summoning Magic|{{{2}}}]]|[[{{{2}}}]]}} {{#if:{{{3|}}}|> [[{{{3}}}]]|}}|}}|'''''Cannot be sold on the [[Auction House]], but can be [[Trade|traded]] and [[Bazaar|bazaared]].'''''}}{{#if:{{{1|}}}|{{#ifeq:{{{1}}}|Exclusive||<br>
+
<includeonly>{|cellpadding="0" cellspacing="0" style="margin: 0; padding: 0"
Get current auction house price and availability information for <span class="plainlinks">[http://www.ffxiah.com/item_search.php?search_q={{PAGENAMEE}} {{PAGENAME}} on FFXIAH]</span>}}}}
+
| {{#switch:{{lc:{{{1|}}}}}|bazaar = '''''Cannot be sold on the [[Auction House]], but can be [[Trade|traded]], [[Bazaar|bazaared]], and [[Delivery Box|delivered]] to a character on the same account.'''''|undeliverable bazaar| = '''''Cannot be sold on the [[Auction House]] or [[Delivery Box|delivered]], but can be [[Trade|traded]] and [[Bazaar|bazaared]].'''''|exclusive = '''''Cannot be [[Auction House|auctioned]], [[Trade|traded]], or [[Bazaar|bazaared]], but can be [[Delivery Box|delivered]] to a character on the same account.'''''|undeliverable exclusive = '''''Cannot be [[Auction House|auctioned]], [[Trade|traded]], [[Bazaar|bazaared]], or [[Delivery Box|delivered]].'''''|#default = '''[[Auction House#Categories|Auction House Category]]:''' [[{{{1}}}]]{{#if:{{{2|}}}|<nowiki/> > {{#switch:{{{2}}}|Automaton=[[Automaton Attachments|{{{2}}}]]|Summoning=[[Summoning Magic|{{{2}}}]]|[[{{{2}}}]]}}{{#if:{{{3|}}}|<nowiki/> > [[{{{3}}}]]}}}} (}}
<!---
+
|{{#switch:{{lc:{{{1|}}}}}|bazaar|exclusive|undeliverable bazaar|undeliverable exclusive| = style="padding-left:0.5em; line-height:0;"|#default = style="line-height:0;"}}|{{navimgx
 +
| linktext = &nbsp;
 +
| xsize = 19
 +
| ysize = 19
 +
| image = FFXIAH-icon.png
 +
| link = http://www.ffxiah.com/search/item?name={{#replace:{{#replace:{{{search|{{PAGENAMEE}}}}}|+|%2B}}|_|+}}
 +
}}{{#switch:{{lc:{{{1|}}}}}|bazaar|exclusive|undeliverable bazaar|undeliverable exclusive| = |#default = {{!}}{{!}})}}
 +
|}<!---
  
---><includeonly>{{#if:{{{1|}}}|[[Category:{{{1}}}]]|}}{{#if:{{{2|}}}|{{#switch:{{{2}}}|Automaton=[[Category:Automaton Attachments]]|[[Category:{{{2}}}]]|Summoning=[[Category:Summoning Magic]]|[[Category:{{{2}}}]]}}|}}{{#if:{{{3|}}}|[[Category:{{{3}}}]]|}}</includeonly><noinclude>
+
--->{{#if:{{{nc|}}}||{{#switch:{{lc:{{{1|}}}}}|bazaar| = |undeliverable bazaar = [[Category:Undeliverable]]|exclusive = [[Category:Exclusive]]|undeliverable exclusive = [[Category:Exclusive]][[Category:Undeliverable]]|#default = [[Category:{{{1}}}]]{{#if:{{{2|}}}|[[Category:{{#switch:{{{2|}}}|Automaton=Automaton Attachments|Summoning=Summoning Magic|{{{2}}}}}]]{{#if:{{{3|}}}|[[Category:{{{3}}}]]|}}|}}}}}}</includeonly><noinclude>
 
[[Category:Templates|{{PAGENAMEE}}]]
 
[[Category:Templates|{{PAGENAMEE}}]]
 
==Usage==
 
==Usage==
 
<pre>
 
<pre>
{{AH|category|subcategory|subcategory}}
+
{{AH|category|subcategory|subcategory|search=Item_Name}}
 
</pre>
 
</pre>
*The subcategories are optional.
+
*The subcategories and are optional.
*Displays "'''''Cannot be sold on the [[Auction House]], but can be [[Trade|traded]] and [[Bazaar|bazaared]].'''''" if nothing is defined.
+
*'''search:''' Optional. Use to specify the name of the item to search for on ffxiah.com, if the item cannot be found via its page name (see example below).
*Displays "'''''Cannot be [[Auction House|auctioned]], [[Trade|traded]], or [[Bazaar|bazaared]].'''''" if "Exclusive" is defined.
+
===Examples===
[[fr:Template:AH]]
+
{|border="1"
 +
|- BGCOLOR="e3e3e3"
 +
!width="50%"| Code !! Result
 +
|-
 +
| <pre>{{AH|Furnishings}}</pre>
 +
| {{AH|Furnishings|nc=true}}
 +
|-
 +
| <pre>{{AH|Weapons|Swords}}</pre>
 +
| {{AH|Weapons|Swords|nc=true}}
 +
|-
 +
| <pre>{{AH|Weapons|Ammo & Misc|Fishing Gear}}</pre>
 +
| {{AH|Weapons|Ammo & Misc.|Fishing Gear|nc=true}}
 +
|-
 +
| <pre>{{AH|Scrolls|Dice|search=Corsair_Die}}</pre>
 +
| {{AH|Scrolls|Dice|search=Corsair_Die|nc=true}}
 +
|-
 +
| <pre>{{AH}}</pre>
 +
| {{AH|nc=true}}
 +
|-
 +
| <pre>{{AH|bazaar}}</pre>
 +
| {{AH|bazaar|nc=true}}
 +
|-
 +
| <pre>{{AH|exclusive}}</pre>
 +
| {{AH|exclusive|nc=true}}
 +
|-
 +
| <pre>{{AH|undeliverable bazaar}}</pre>
 +
| {{AH|undeliverable bazaar|nc=true}}
 +
|-
 +
| <pre>{{AH|undeliverable exclusive}}</pre>
 +
| {{AH|undeliverable exclusive|nc=true}}
 +
|}
 
</noinclude>
 
</noinclude>

Latest revision as of 16:44, 31 July 2017

Usage[edit]

{{AH|category|subcategory|subcategory|search=Item_Name}}
  • The subcategories and are optional.
  • search: Optional. Use to specify the name of the item to search for on ffxiah.com, if the item cannot be found via its page name (see example below).

Examples[edit]

Code Result
{{AH|Furnishings}}
Auction House Category: Furnishings ( )
{{AH|Weapons|Swords}}
Auction House Category: Weapons > Swords ( )
{{AH|Weapons|Ammo & Misc|Fishing Gear}}
Auction House Category: Weapons > Ammo & Misc. > Fishing Gear ( )
{{AH|Scrolls|Dice|search=Corsair_Die}}
Auction House Category: Scrolls > Dice ( )
{{AH}}
Cannot be sold on the Auction House or delivered, but can be traded and bazaared.
{{AH|bazaar}}
Cannot be sold on the Auction House, but can be traded, bazaared, and delivered to a character on the same account.
{{AH|exclusive}}
Cannot be auctioned, traded, or bazaared, but can be delivered to a character on the same account.
{{AH|undeliverable bazaar}}
Cannot be sold on the Auction House or delivered, but can be traded and bazaared.
{{AH|undeliverable exclusive}}
Cannot be auctioned, traded, bazaared, or delivered.