Template:AuctionHouseNavigation: Difference between revisions

From HorizonXI Wiki
(Created page with "<onlyinclude><includeonly> {| class="auction-house-navigation-table" |- ! colspan="{{#if:{{{3|}}}|3|{{#if:{{{2|}}}|2|1}}}}" | Auction House Navigation |- | {{#replace: *Weapons *Armor *Scrolls *Medicines *Furnishings *Materials *Food *Crystals *Others |...")
 
mNo edit summary
 
(7 intermediate revisions by the same user not shown)
Line 1: Line 1:
<onlyinclude><includeonly>
<onlyinclude><includeonly>
{| class="auction-house-navigation-table"
{| class="horizon-table auction-house-navigation-table {{{color-class|auction-house-navigation-table-color}}} table-xs"
|-  
|-  
! colspan="{{#if:{{{3|}}}|3|{{#if:{{{2|}}}|2|1}}}}" | [[Auction House|Auction House Navigation]]
! colspan="{{#if:{{{3|}}}|3|{{#if:{{{2|}}}|2|1}}}}" | [[Auction House|{{#if:{{{title-style|}}}|<span style="{{{title-style}}}">Auction House Navigation</span>|Auction House Navigation}}]]
|-
|-
| {{#replace:  
| {{#replace:  
Line 14: Line 14:
*[[:Category:Crystals|Crystals]]
*[[:Category:Crystals|Crystals]]
*[[:Category:Others|Others]]  
*[[:Category:Others|Others]]  
|[[:Category:{{ucfirst:{{{1}}}}}{{!}}{{ucfirst:{{{1}}}}}]]|[[:Category:{{ucfirst:{{{1}}}}}{{!}}<span style="color: white;">{{ucfirst:{{{1}}}}}</span>]]}}
|[[:Category:{{ucfirst:{{{1}}}}}{{!}}{{ucfirst:{{{1}}}}}]]|[[:Category:{{ucfirst:{{{1}}}}}{{!}}<span class="active-category-link">{{ucfirst:{{{1}}}}}</span>]]}}
{{#if:{{{2|}}} |
{{#if:{{{2|}}} |
{{!}} {{#replace:{{#switch:{{lc:{{{1}}}}}
{{!}} {{#replace:{{#switch:{{lc:{{{1}}}}}
| weapons =  
| weapons =  
*[[:Category:Hand-to-Hand]]
*[[:Category:Hand-to-Hand|Hand-to-Hand]]
*[[:Category:Daggers|Daggers]]
*[[:Category:Daggers|Daggers]]
*[[:Category:Swords|Swords]]
*[[:Category:Swords|Swords]]
Line 75: Line 75:
*[[:Category:Cursed Items|Cursed Items]]
*[[:Category:Cursed Items|Cursed Items]]
*[[:Category:Automaton|Automaton]]
*[[:Category:Automaton|Automaton]]
|}}|[[:Category:{{ucfirst:{{{2}}}}}{{!}}{{ucfirst:{{{2}}}}}]]|[[:Category:{{ucfirst:{{{2}}}}}{{!}}<span style="color: white;">{{ucfirst:{{{2}}}}}</span>]]}}|}}
|}}|[[:Category:{{ucfirst:{{{2}}}}}{{!}}{{ucfirst:{{{2}}}}}]]|[[:Category:{{ucfirst:{{{2}}}}}{{!}}<span class="active-category-link">{{ucfirst:{{{2}}}}}</span>]]}}|}}
{{#if:{{{3|}}}|
{{#if:{{{3|}}}|
{{!}} {{#replace:{{#switch:{{lc:{{{2}}}}}
{{!}} {{#replace:{{#switch:{{lc:{{{2}}}}}
Line 95: Line 95:
*[[:Category:Sweets|Sweets]]
*[[:Category:Sweets|Sweets]]
*[[:Category:Drinks|Drinks]]
*[[:Category:Drinks|Drinks]]
|}}|[[:Category:{{ucfirst:{{{3}}}}}{{!}}{{ucfirst:{{{3}}}}}]]|[[:Category:{{ucfirst:{{{3}}}}}{{!}}<span style="color: white;">{{ucfirst:{{{3}}}}}</span>]]}}|}}
|}}|[[:Category:{{ucfirst:{{{3}}}}}{{!}}{{ucfirst:{{{3}}}}}]]|[[:Category:{{ucfirst:{{{3}}}}}{{!}}<span class="active-category-link">{{ucfirst:{{{3}}}}}</span>]]}}|}}
|-
! colspan="{{#if:{{{3|}}}|3|{{#if:{{{2|}}}|2|1}}}}" |
|}</includeonly></onlyinclude>
|}</includeonly></onlyinclude>
==Usage==
*Specify the succession of auction house categories to display the appropriate box.
*optional parameter "color-class" allows to put a css class on the table for custom color styling.
*optional parameter "title-style" allows to directly put a style on the color of the title (for cases where the color scheme is in conflict with the link coloring).
===Example===


== Usage ==
<pre>{{AuctionHouseNavigation|Food|Meals|Seafood}}</pre>


{{Template:AuctionHouseNavigation|Weapons|Ranged}}
{{AuctionHouseNavigation|Food|Meals|Seafood}}

Latest revision as of 22:17, 4 November 2023

Usage

  • Specify the succession of auction house categories to display the appropriate box.
  • optional parameter "color-class" allows to put a css class on the table for custom color styling.
  • optional parameter "title-style" allows to directly put a style on the color of the title (for cases where the color scheme is in conflict with the link coloring).

Example

{{AuctionHouseNavigation|Food|Meals|Seafood}}


Auction House Navigation