From Dark and Darker Wiki

(added new types and lich example)
(Added non-breaking spaces and change the align-right property for locked tabs.)
 
(7 intermediate revisions by 2 users not shown)
Line 2: Line 2:
--><div class="cardtabs" data-cardtabs>
--><div class="cardtabs" data-cardtabs>
<!--
<!--
Apologies for this, it's very messy. Explanation:
Explanation:
* `cardtabs__button--active`  = Aplied to the sole initially visible button, usually tier1. Only used once
* `cardtabs__button--active`  = Aplied to the sole initially visible button, usually tier1. Only used once
* `cardtabs__button--disabled` = Applied to any disabled tiers. Most of the time this won't be used
* `cardtabs__button--disabled` = Applied to any disabled tiers. Most of the time this won't be used
* Also, data-cardtabs-btn is -1 if that tier is disabled
* Also, data-cardtabs-btn is -1 if that tier is disabled
-->
--><div class="cardtabs__buttons" data-cardtabs-btns><!--
<div class="cardtabs__buttons" data-cardtabs-btns>
-->{{#if:{{{content1|}}}<!--
{{#if:{{{content1|}}}|<div data-cardtabs-btn="1" class="cardtabs__button  rarity0 {{#ifeq:{{{firstShownTier|}}}|1|cardtabs__button--active|}} <!--
-->|<div data-cardtabs-btn="1" class="cardtabs__button  rarity0 {{#ifeq:{{{firstShownTier|}}}|1|cardtabs__button--active|}}"><!--
-->">&nbsp;I&nbsp;</div>}}
-->&nbsp;I&nbsp;</div>}}<!--
{{#if:{{{content2|}}}|<div data-cardtabs-btn="2" class="cardtabs__button  rarity1 {{#ifeq:{{{firstShownTier|}}}|2|cardtabs__button--active|}} <!--
-->{{#if:{{{content2|}}}<!--
-->">&nbsp;II&nbsp;</div>}}
-->|<div data-cardtabs-btn="2" class="cardtabs__button  rarity1 {{#ifeq:{{{firstShownTier|}}}|2|cardtabs__button--active|}}"><!--
{{#if:{{{content3|}}}|<div data-cardtabs-btn="3" class="cardtabs__button  rarity2 {{#ifeq:{{{firstShownTier|}}}|3|cardtabs__button--active|}} <!--
-->&nbsp;II&nbsp;</div>}}<!--
-->">&nbsp;III&nbsp;</div>}}
-->{{#if:{{{content3|}}}<!--
{{#if:{{{content4|}}}|<div data-cardtabs-btn="4" class="cardtabs__button  rarity3 {{#ifeq:{{{firstShownTier|}}}|4|cardtabs__button--active|}} <!--
-->|<div data-cardtabs-btn="3" class="cardtabs__button  rarity2 {{#ifeq:{{{firstShownTier|}}}|3|cardtabs__button--active|}}"><!--
-->">&nbsp;IV&nbsp;</div>}}
-->&nbsp;III&nbsp;</div>}}<!--
{{#if:{{{content5|}}}|<div data-cardtabs-btn="5" class="cardtabs__button  rarity4 {{#ifeq:{{{firstShownTier|}}}|5|cardtabs__button--active|}} <!--
-->{{#if:{{{content4|}}}<!--
-->">&nbsp;V&nbsp;</div>}}
-->|<div data-cardtabs-btn="4" class="cardtabs__button  rarity3 {{#ifeq:{{{firstShownTier|}}}|4|cardtabs__button--active|}}"><!--
{{#if:{{{content6|}}}|<div data-cardtabs-btn="6" class="cardtabs__button  rarity5 {{#ifeq:{{{firstShownTier|}}}|6|cardtabs__button--active|}} <!--
-->&nbsp;IV&nbsp;</div>}}<!--
-->">&nbsp;VI&nbsp;</div>}}
-->{{#if:{{{content5|}}}<!--
{{#if:{{{content7|}}}|<div data-cardtabs-btn="7" class="cardtabs__button  rarity6 {{#ifeq:{{{firstShownTier|}}}|7|cardtabs__button--active|}} <!--
-->|<div data-cardtabs-btn="5" class="cardtabs__button  rarity4 {{#ifeq:{{{firstShownTier|}}}|5|cardtabs__button--active|}}"><!--
-->">&nbsp;VII&nbsp;</div>}}
-->&nbsp;V&nbsp;</div>}}<!--
{{#if:{{{content8|}}}|<div data-cardtabs-btn="8" class="cardtabs__button  rarity7 {{#ifeq:{{{firstShownTier|}}}|8|cardtabs__button--active|}} <!--
-->{{#if:{{{content6|}}}<!--
-->">&nbsp;VIII&nbsp;</div>}}
-->|<div data-cardtabs-btn="6" class="cardtabs__button  rarity5 {{#ifeq:{{{firstShownTier|}}}|6|cardtabs__button--active|}}"><!--
{{#if:{{{contentRS|}}}|<div data-cardtabs-btn="RS" class="cardtabs__button  rarity5 {{#ifeq:{{{firstShownTier|}}}|RS|cardtabs__button--active|}} <!--
-->&nbsp;VI&nbsp;</div>}}<!--
-->">&nbsp;RS&nbsp;</div>}}
-->{{#if:{{{content7|}}}<!--
{{#if:{{{contentCB|}}}|<div data-cardtabs-btn="CB" class="cardtabs__button  rarity4 {{#ifeq:{{{firstShownTier|}}}|CB|cardtabs__button--active|}} <!--
-->|<div data-cardtabs-btn="7" class="cardtabs__button  rarity6 {{#ifeq:{{{firstShownTier|}}}|7|cardtabs__button--active|}}"><!--
-->">&nbsp;CB&nbsp;</div>}}
-->&nbsp;VII&nbsp;</div>}}<!--
{{#if:{{{contentNormal|}}}|<div data-cardtabs-btn="Normal" class="cardtabs__button  rarity2 {{#ifeq:{{{firstShownTier|}}}|Normal|cardtabs__button--active|}} <!--
-->{{#if:{{{content8|}}}<!--
-->">&nbsp;Normal&nbsp;</div>}}
-->|<div data-cardtabs-btn="8" class="cardtabs__button  rarity7 {{#ifeq:{{{firstShownTier|}}}|8|cardtabs__button--active|}}"><!--
{{#if:{{{contentElite|}}}|<div data-cardtabs-btn="Elite" class="cardtabs__button rarity6 {{#ifeq:{{{firstShownTier|}}}|Elite|cardtabs__button--active|}} <!--
-->&nbsp;VIII&nbsp;</div>}}<!--
-->">&nbsp;Elite&nbsp;</div>}}
-->{{#if:{{{contentCommon|}}}<!--
{{#if:{{{contentNightmare|}}}|<div data-cardtabs-btn="Nightmare" " class="cardtabs__button rarityNightmare {{#ifeq:{{{firstShownTier|}}}|Nightmare|cardtabs__button--active|}} <!--
-->|<div data-cardtabs-btn="Common" class="cardtabs__button  rarity2 {{#ifeq:{{{firstShownTier|}}}|Common|cardtabs__button--active|}}"><!--
-->">&nbsp;Nightmare&nbsp;</div>}}
-->&nbsp;Common&nbsp;</div>}}<!--
            </div><!--
-->{{#if:{{{contentElite|}}}<!--
-->|<div data-cardtabs-btn="Elite" class="cardtabs__button rarityElite {{#ifeq:{{{firstShownTier|}}}|Elite|cardtabs__button--active|}}"><!--
-->&nbsp;Elite&nbsp;</div>}}<!--
-->{{#if:{{{contentNightmare|}}}<!--
-->|<div data-cardtabs-btn="Nightmare" class="cardtabs__button rarityNightmare {{#ifeq:{{{firstShownTier|}}}|Nightmare|cardtabs__button--active|}}"><!--
-->&nbsp;Nightmare&nbsp;</div>}}<!--
-->{{#if:{{{contentNormal|}}}<!--
-->|<div data-cardtabs-btn="Normal" class="cardtabs__button rarity2 {{#ifeq:{{{firstShownTier|}}}|Normal|cardtabs__button--active|}}" style="font-size:20px; width:25%"><!--
-->&nbsp;N&nbsp;</div>}}<!--
-->{{#if:{{{contentNormalLocked|}}}<!--
-->|<div data-cardtabs-btn="Normal Locked" class="cardtabs__button rarity2 {{#ifeq:{{{firstShownTier|}}}|Normal Locked|cardtabs__button--active|}}" style="font-size:20px; width:25%;"><!--
-->&nbsp;&nbsp;&nbsp;N[[File:LockpickWithBorderB.png|x27px|bottom|link=]]</div>}}<!--&#128274;
-->{{#if:{{{contentHighRoller|}}}<!--
-->|<div data-cardtabs-btn="High Roller" class="cardtabs__button rarityElite {{#ifeq:{{{firstShownTier|}}}|High Roller|cardtabs__button--active|}}" style="font-size:20px; width:25%"><!--
-->&nbsp;HR&nbsp;</div>}}<!--
-->{{#if:{{{contentHighRollerLocked|}}}<!--
-->|<div data-cardtabs-btn="High Roller Locked" class="cardtabs__button rarityElite {{#ifeq:{{{firstShownTier|}}}|High Roller Locked|cardtabs__button--active|}}" style="font-size:20px; width:25%;"><!--
-->&nbsp;&nbsp;&nbsp;HR[[File:LockpickWithBorderB.png|x27px|bottom|link=]]</div>}}</div><!--
--><div class="mytabs__panels" data-cardtabs-panels><!--
--><div class="mytabs__panels" data-cardtabs-panels><!--
-->{{#if:{{{content1|}}}|<!--
-->{{#if:{{{content1|}}}<!--
--><div data-cardtabs-panel="1" style="overflow: auto;" class="cardtabs__panel {{#ifeq:{{{firstShownTier|}}}|1||cardtabs__panel--js-hidden}}"><!--
-->|<div data-cardtabs-panel="1" style="overflow: auto;" class="cardtabs__panel {{#ifeq:{{{firstShownTier|}}}|1||cardtabs__panel--js-hidden}}"><!--
-->{{{content1|}}}<!--
-->{{{content1|}}}</div>}}<!--
--></div>}}<!--
-->{{#if:{{{content2|}}}<!--
-->{{#if:{{{content2|}}}|<!--
-->|<div data-cardtabs-panel="2" style="overflow: auto;" class="cardtabs__panel {{#ifeq:{{{firstShownTier|}}}|2||cardtabs__panel--js-hidden}}"><!--
--><div data-cardtabs-panel="2" style="overflow: auto;" class="cardtabs__panel {{#ifeq:{{{firstShownTier|}}}|2||cardtabs__panel--js-hidden}}"><!--
-->{{{content2|}}}</div>}}<!--
-->{{{content2|}}}<!--
-->{{#if:{{{content3|}}}<!--
--></div>}}<!--
-->|<div data-cardtabs-panel="3" style="overflow: auto;" class="cardtabs__panel {{#ifeq:{{{firstShownTier|}}}|3||cardtabs__panel--js-hidden}}"><!--
-->{{#if:{{{content3|}}}|<!--
-->{{{content3|}}}</div>}}<!--
--><div data-cardtabs-panel="3" style="overflow: auto;" class="cardtabs__panel {{#ifeq:{{{firstShownTier|}}}|3||cardtabs__panel--js-hidden}}"><!--
-->{{#if:{{{content4|}}}<!--
-->{{{content3|}}}<!--
-->|<div data-cardtabs-panel="4" style="overflow: auto;" class="cardtabs__panel {{#ifeq:{{{firstShownTier|}}}|4||cardtabs__panel--js-hidden}}"><!--
--></div>}}<!--
-->{{{content4|}}}</div>}}<!--
-->{{#if:{{{content4|}}}|<!--
-->{{#if:{{{content5|}}}<!--
--><div data-cardtabs-panel="4" style="overflow: auto;" class="cardtabs__panel {{#ifeq:{{{firstShownTier|}}}|4||cardtabs__panel--js-hidden}}"><!--
-->|<div data-cardtabs-panel="5" style="overflow: auto;" class="cardtabs__panel {{#ifeq:{{{firstShownTier|}}}|5||cardtabs__panel--js-hidden}}"><!--
-->{{{content4|}}}<!--
-->{{{content5|}}}</div>}}<!--
--></div>}}<!--
-->{{#if:{{{content6|}}}<!--
-->{{#if:{{{content5|}}}|<!--
-->|<div data-cardtabs-panel="6" style="overflow: auto;" class="cardtabs__panel {{#ifeq:{{{firstShownTier|}}}|6||cardtabs__panel--js-hidden}}"><!--
--><div data-cardtabs-panel="5" style="overflow: auto;" class="cardtabs__panel {{#ifeq:{{{firstShownTier|}}}|5||cardtabs__panel--js-hidden}}"><!--
-->{{{content6|}}}</div>}}<!--
-->{{{content5|}}}<!--
-->{{#if:{{{content7|}}}<!--
--></div>}}<!--
-->|<div data-cardtabs-panel="7" style="overflow: auto;" class="cardtabs__panel {{#ifeq:{{{firstShownTier|}}}|7||cardtabs__panel--js-hidden}}"><!--
-->{{#if:{{{content6|}}}|<!--
-->{{{content7|}}}</div>}}<!--
--><div data-cardtabs-panel="6" style="overflow: auto;" class="cardtabs__panel {{#ifeq:{{{firstShownTier|}}}|6||cardtabs__panel--js-hidden}}"><!--
-->{{#if:{{{content8|}}}<!--
-->{{{content6|}}}<!--
-->|<div data-cardtabs-panel="8" style="overflow: auto;" class="cardtabs__panel {{#ifeq:{{{firstShownTier|}}}|8||cardtabs__panel--js-hidden}}"><!--
--></div>}}<!--
-->{{{content8|}}}</div>}}<!--
-->{{#if:{{{content7|}}}|<!--
-->{{#if:{{{contentCommon|}}}<!--
--><div data-cardtabs-panel="7" style="overflow: auto;" class="cardtabs__panel {{#ifeq:{{{firstShownTier|}}}|7||cardtabs__panel--js-hidden}}"><!--
-->|<div data-cardtabs-panel="Common" style="overflow: auto;" class="cardtabs__panel {{#ifeq:{{{firstShownTier|}}}|Common||cardtabs__panel--js-hidden}}"><!--
-->{{{content7|}}}<!--
-->{{{contentCommon|}}}</div>}}<!--
--></div>}}<!--
-->{{#if:{{{contentElite|}}}<!--
-->{{#if:{{{content8|}}}|<!--
-->|<div data-cardtabs-panel="Elite" style="overflow: auto;" class="cardtabs__panel {{#ifeq:{{{firstShownTier|}}}|Elite||cardtabs__panel--js-hidden}}"><!--
--><div data-cardtabs-panel="8" style="overflow: auto;" class="cardtabs__panel {{#ifeq:{{{firstShownTier|}}}|8||cardtabs__panel--js-hidden}}"><!--
-->{{{contentElite|}}}</div>}}<!--
-->{{{content8|}}}<!--
-->{{#if:{{{contentNightmare|}}}<!--
--></div>}}<!--
-->|<div data-cardtabs-panel="Nightmare" style="overflow: auto;" class="cardtabs__panel {{#ifeq:{{{firstShownTier|}}}|Nightmare||cardtabs__panel--js-hidden}}"><!--
-->{{#if:{{{contentRS|}}}|<!--
-->{{{contentNightmare|}}}</div>}}<!--
--><div data-cardtabs-panel="RS" style="overflow: auto;" class="cardtabs__panel {{#ifeq:{{{firstShownTier|}}}|RS||cardtabs__panel--js-hidden}}"><!--
-->{{#if:{{{contentNormal|}}}<!--
-->{{{contentRS|}}}<!--
-->|<div data-cardtabs-panel="Normal" style="overflow: auto;" class="cardtabs__panel {{#ifeq:{{{firstShownTier|}}}|Normal||cardtabs__panel--js-hidden}}"><!--
--></div>}}<!--
-->{{{contentNormal|}}}</div>}}<!--
-->{{#if:{{{contentCB|}}}|<!--
-->{{#if:{{{contentNormalLocked|}}}<!--
--><div data-cardtabs-panel="CB" style="overflow: auto;" class="cardtabs__panel {{#ifeq:{{{firstShownTier|}}}|CB||cardtabs__panel--js-hidden}}"><!--
-->|<div data-cardtabs-panel="Normal Locked" style="overflow: auto;" class="cardtabs__panel {{#ifeq:{{{firstShownTier|}}}|Normal Locked||cardtabs__panel--js-hidden}}"><!--
-->{{{contentCB|}}}<!--
-->{{{contentNormalLocked|}}}</div>}}<!--
--></div>}}<!--
-->{{#if:{{{contentHighRoller|}}}<!--
-->{{#if:{{{contentNormal|}}}|<!--
-->|<div data-cardtabs-panel="High Roller" style="overflow: auto;" class="cardtabs__panel {{#ifeq:{{{firstShownTier|}}}|High Roller||cardtabs__panel--js-hidden}}"><!--
--><div data-cardtabs-panel="Normal" style="overflow: auto;" class="cardtabs__panel {{#ifeq:{{{firstShownTier|}}}|Normal||cardtabs__panel--js-hidden}}"><!--
-->{{{contentHighRoller|}}}</div>}}<!--
-->{{{contentNormal|}}}<!--
-->{{#if:{{{contentHighRollerLocked|}}}<!--
--></div>}}<!--
-->|<div data-cardtabs-panel="High Roller Locked" style="overflow: auto;" class="cardtabs__panel {{#ifeq:{{{firstShownTier|}}}|High Roller Locked||cardtabs__panel--js-hidden}}"><!--
-->{{#if:{{{contentElite|}}}|<!--
-->{{{contentHighRollerLocked|}}}</div>}}</div></div><!--
--><div data-cardtabs-panel="Elite" style="overflow: auto;" class="cardtabs__panel {{#ifeq:{{{firstShownTier|}}}|Elite||cardtabs__panel--js-hidden}}"><!--
-->{{{contentElite|}}}<!--
--></div>}}<!--
-->{{#if:{{{contentNightmare|}}}|<!--
--><div data-cardtabs-panel="Nightmare" style="overflow: auto;" class="cardtabs__panel {{#ifeq:{{{firstShownTier|}}}|Nightmare||cardtabs__panel--js-hidden}}"><!--
-->{{{contentNightmare|}}}<!--
--></div>}}<!--
        --></div>
</div><!--
--></includeonly></onlyinclude><noinclude>
--></includeonly></onlyinclude><noinclude>
Creates a set of tabs for items. Use it with infoboxes
Creates a set of tabs for items. Use it with infoboxes
Line 123: Line 132:
|armortype            = Metal
|armortype            = Metal
|description          = This armor makes living in impossible situations suddenly possible. Plate armor, uncomfortable to wear and quite heavy.
|description          = This armor makes living in impossible situations suddenly possible. Plate armor, uncomfortable to wear and quite heavy.
    |nomargin            = 1
|nomargin            = 1
}}
}}
|content2 =  
|content2 =  
Line 137: Line 146:
|armortype            = Metal
|armortype            = Metal
|description          = This armor makes living in impossible situations suddenly possible. Plate armor, uncomfortable to wear and quite heavy.
|description          = This armor makes living in impossible situations suddenly possible. Plate armor, uncomfortable to wear and quite heavy.
    |nomargin            = 1
|nomargin            = 1
}}
}}
|content3 =  
|content3 =  
Line 151: Line 160:
|armortype            = Metal
|armortype            = Metal
|description          = This armor makes living in impossible situations suddenly possible. Plate armor, uncomfortable to wear and quite heavy.
|description          = This armor makes living in impossible situations suddenly possible. Plate armor, uncomfortable to wear and quite heavy.
    |nomargin            = 1
|nomargin            = 1
}}
}}
|content4 =  
|content4 =  
Line 166: Line 175:
|armortype            = Metal
|armortype            = Metal
|description          = This armor makes living in impossible situations suddenly possible. Plate armor, uncomfortable to wear and quite heavy.
|description          = This armor makes living in impossible situations suddenly possible. Plate armor, uncomfortable to wear and quite heavy.
    |nomargin            = 1
|nomargin            = 1
}}
}}
|content5 =  
|content5 =  
Line 181: Line 190:
|armortype            = Metal
|armortype            = Metal
|description          = This armor makes living in impossible situations suddenly possible. Plate armor, uncomfortable to wear and quite heavy.
|description          = This armor makes living in impossible situations suddenly possible. Plate armor, uncomfortable to wear and quite heavy.
    |nomargin            = 1
|nomargin            = 1
}}
}}
|content6 =  
|content6 =  
Line 196: Line 205:
|armortype            = Metal
|armortype            = Metal
|description          = This armor makes living in impossible situations suddenly possible. Plate armor, uncomfortable to wear and quite heavy.
|description          = This armor makes living in impossible situations suddenly possible. Plate armor, uncomfortable to wear and quite heavy.
    |nomargin            = 1
|nomargin            = 1
}}
}}
|content7 =  
|content7 =  
Line 211: Line 220:
|armortype            = Metal
|armortype            = Metal
|description          = This armor makes living in impossible situations suddenly possible. Plate armor, uncomfortable to wear and quite heavy.
|description          = This armor makes living in impossible situations suddenly possible. Plate armor, uncomfortable to wear and quite heavy.
    |nomargin            = 1
|nomargin            = 1
}}
}}
|content8 =  
|content8 =  
Line 226: Line 235:
|armortype            = Metal
|armortype            = Metal
|description          = This armor makes living in impossible situations suddenly possible. Plate armor, uncomfortable to wear and quite heavy.
|description          = This armor makes living in impossible situations suddenly possible. Plate armor, uncomfortable to wear and quite heavy.
    |nomargin            = 1
|nomargin            = 1
}}
}}
|contentRS =  
|contentRS =  
Line 242: Line 251:
|armortype            = Metal
|armortype            = Metal
|description          = A high-quality cuirass made with a large amount of Rubysilver ingots. It has considerable durability.
|description          = A high-quality cuirass made with a large amount of Rubysilver ingots. It has considerable durability.
    |nomargin            = 1
|nomargin            = 1
}}
}}
}} </pre>As you can see there is no Cobalt Tab</td>
}} </pre>As you can see there is no Cobalt Tab</td>
Line 260: Line 269:
|armortype            = Metal
|armortype            = Metal
|description          = This armor makes living in impossible situations suddenly possible. Plate armor, uncomfortable to wear and quite heavy.
|description          = This armor makes living in impossible situations suddenly possible. Plate armor, uncomfortable to wear and quite heavy.
    |nomargin            = 1
|nomargin            = 1
}}
}}
|content2 =  
|content2 =  
Line 274: Line 283:
|armortype            = Metal
|armortype            = Metal
|description          = This armor makes living in impossible situations suddenly possible. Plate armor, uncomfortable to wear and quite heavy.
|description          = This armor makes living in impossible situations suddenly possible. Plate armor, uncomfortable to wear and quite heavy.
    |nomargin            = 1
|nomargin            = 1
}}
}}
|content3 =  
|content3 =  
Line 288: Line 297:
|armortype            = Metal
|armortype            = Metal
|description          = This armor makes living in impossible situations suddenly possible. Plate armor, uncomfortable to wear and quite heavy.
|description          = This armor makes living in impossible situations suddenly possible. Plate armor, uncomfortable to wear and quite heavy.
    |nomargin            = 1
|nomargin            = 1
}}
}}
|content4 =  
|content4 =  
Line 303: Line 312:
|armortype            = Metal
|armortype            = Metal
|description          = This armor makes living in impossible situations suddenly possible. Plate armor, uncomfortable to wear and quite heavy.
|description          = This armor makes living in impossible situations suddenly possible. Plate armor, uncomfortable to wear and quite heavy.
    |nomargin            = 1
|nomargin            = 1
}}
}}
|content5 =  
|content5 =  
Line 318: Line 327:
|armortype            = Metal
|armortype            = Metal
|description          = This armor makes living in impossible situations suddenly possible. Plate armor, uncomfortable to wear and quite heavy.
|description          = This armor makes living in impossible situations suddenly possible. Plate armor, uncomfortable to wear and quite heavy.
    |nomargin            = 1
|nomargin            = 1
}}
}}
|content6 =  
|content6 =  
Line 333: Line 342:
|armortype            = Metal
|armortype            = Metal
|description          = This armor makes living in impossible situations suddenly possible. Plate armor, uncomfortable to wear and quite heavy.
|description          = This armor makes living in impossible situations suddenly possible. Plate armor, uncomfortable to wear and quite heavy.
    |nomargin            = 1
|nomargin            = 1
}}
}}
|content7 =  
|content7 =  
Line 348: Line 357:
|armortype            = Metal
|armortype            = Metal
|description          = This armor makes living in impossible situations suddenly possible. Plate armor, uncomfortable to wear and quite heavy.
|description          = This armor makes living in impossible situations suddenly possible. Plate armor, uncomfortable to wear and quite heavy.
    |nomargin            = 1
|nomargin            = 1
}}
}}
|content8 =  
|content8 =  
Line 363: Line 372:
|armortype            = Metal
|armortype            = Metal
|description          = This armor makes living in impossible situations suddenly possible. Plate armor, uncomfortable to wear and quite heavy.
|description          = This armor makes living in impossible situations suddenly possible. Plate armor, uncomfortable to wear and quite heavy.
    |nomargin            = 1
|nomargin            = 1
}}
|contentRS =
{{Infobox
|name                = Fine Cuirass
|image                = Rubysilver Fine Cuirass
|classes              = [[Fighter]], [[Cleric]]
|rarity              = 5
|stat1                = Armor Rating 97~105
|stat2                = Move Speed -35
|stat3                = Projectile Reduction 12%
|stat4                = Magic Resistance -10
|enchantments        = 3
|slottype            = Chest
|armortype            = Metal
|description          = A high-quality cuirass made with a large amount of Rubysilver ingots. It has considerable durability.
    |nomargin            = 1
}}
}}
}}
}}
</td>
</td>
</tr>
</tr>
    <tr>
<tr>
<td style="padding: 20px 30px;">
<td style="padding: 20px 30px;">
<pre>
<pre>
{{Tabs
{{Tabs
|firstShownTier=Normal
|firstShownTier=Common
|contentNormal =  
|contentCommon =  
{{Infobox
{{Infobox
|name                = Lich
|name                = Lich
Line 399: Line 392:
|location            = [[Inferno]]
|location            = [[Inferno]]
|experience          = 50
|experience          = 50
    |nomargin            = 1
|nomargin            = 1
}}
}}
|contentElite =  
|contentElite =  
Line 411: Line 404:
|location            = [[Inferno]]
|location            = [[Inferno]]
|experience          = 125
|experience          = 125
    |nomargin            = 1
|nomargin            = 1
}}
}}
|contentNightmare =  
|contentNightmare =  
Line 423: Line 416:
|location            = [[Inferno]]
|location            = [[Inferno]]
|experience          = ???
|experience          = ???
    |nomargin            = 1
|nomargin            = 1
}}
}}
}} </pre>As you can see there is no Cobalt Tab</td>
}} </pre>As you can see there is no Cobalt Tab</td>
<td style="padding: 20px 30px;">
<td style="padding: 20px 30px;">
{{Tabs
{{Tabs
|firstShownTier=Normal
|firstShownTier=Common
|contentNormal =  
|contentCommon =  
{{Infobox
{{Infobox
|name                = Lich
|name                = Lich
Line 439: Line 432:
|location            = [[Inferno]]
|location            = [[Inferno]]
|experience          = 50
|experience          = 50
    |nomargin            = 1
|nomargin            = 1
}}
}}
|contentElite =  
|contentElite =  
{{Infobox
{{Infobox
|name                = Lich
|name                = Lich
|rarity              = 6
|rarity              = Elite
|image                = Lich
|image                = Lich
|stat1                = Health 3000
|stat1                = Health 3000
Line 451: Line 444:
|location            = [[Inferno]]
|location            = [[Inferno]]
|experience          = 125
|experience          = 125
    |nomargin            = 1
|nomargin            = 1
}}
}}
|contentNightmare =  
|contentNightmare =  
Line 463: Line 456:
|location            = [[Inferno]]
|location            = [[Inferno]]
|experience          = ???
|experience          = ???
    |nomargin            = 1
|nomargin            = 1
}}
}}
}}
</td>
</tr>
<tr>
<td style="padding: 20px 30px;">
<pre>{{Tabs
|firstShownTier=Normal
|contentNormal =
{{Infobox
|name                = Marvelous Chest
|description = TODO_FLAVORTEXT
|openduration = 3
|experience    = 5
|highendpropinteraction= 6
}}
|contentNormalLocked =
{{Infobox
|name                = Marvelous Chest
|description = TODO_FLAVORTEXT
|picklockduration = 5
|experience    = 7
|highendpropinteraction= 7
}}
|contentHighRoller =
{{Infobox
|name                = Marvelous Chest
|description = TODO_FLAVORTEXT
|openduration = 3
|experience    = 6
|highendpropinteraction= 10
}}
|contentHighRollerLocked =
{{Infobox
|name                = Marvelous Chest
|description = TODO_FLAVORTEXT
|picklockduration = 5
|experience    = 10
|highendpropinteraction= 12
}}
}}</pre></td>
<td style="padding: 20px 30px;">
{{Tabs
|firstShownTier=Normal
|contentNormal =
{{Infobox
|name                = Marvelous Chest
|description = TODO_FLAVORTEXT
|openduration = 3
|experience    = 5
|highendpropinteraction= 6
|nomargin=1
}}
|contentNormalLocked =
{{Infobox
|name                = Marvelous Chest
|description = TODO_FLAVORTEXT
|picklockduration = 5
|experience    = 7
|highendpropinteraction= 7
|nomargin=1
}}
|contentHighRoller =
{{Infobox
|name                = Marvelous Chest
|description = TODO_FLAVORTEXT
|openduration = 3
|experience    = 6
|highendpropinteraction= 10
|nomargin=1
}}
|contentHighRollerLocked =
{{Infobox
|name                = Marvelous Chest
|description = TODO_FLAVORTEXT
|picklockduration = 5
|experience    = 10
|highendpropinteraction= 12
|nomargin=1
}}
}}
}}
</td>
</td>
</tr>
</tr>
</table>
</table>
== All Options ==
== All Options ==


The full list of options are listed below. Please don't leave anything blank though, else the previous tier's values won't get used  (ie., only include options if you use them).
The full list of options are listed below. Please don't leave anything blank though, else the previous tier's values won't get used  (ie., only include options if you use them).
<pre style="display: inline-block;">
<pre style="display: inline-block;">
{{Tabs
{{Tabs
Line 487: Line 555:
|content7        =  
|content7        =  
|content8        =  
|content8        =  
|contentRS        =
|contentCommon    =  
|contentCB        =  
|contentElite    =  
}}
|contentNightmare =  
</pre>
}}</pre>
 
</noinclude>
<templatedata>
{
"params": {
"firstShownTier": {
"label": "First Shown Tier",
"description": "Either 1, 2, 3,....7,8,RS,CB. Should always be 1, unless a lower tier is disabled. CB is for Cobalt, RS is for Rubysilver",
"example": "1",
"type": "string",
"autovalue": "1",
"required": true,
"suggested": true
},
"content1": {
"label": "Content 1",
"description": "Content of Junk rarity, usually an infobox",
"example": "{{Infobox|name=Arming Sword}}",
"type": "string",
"suggested": true
},
"content2": {
"label": "Content 2",
"description": "Content of Poor rarity, usually an infobox",
"example": "{{Infobox|name=Arming Sword}}",
"type": "string",
"suggested": true
},
"content3": {
"label": "Content 3",
"description": "Content of Common rarity, usually an infobox",
"example": "{{Infobox|name=Arming Sword}}",
"type": "string",
"suggested": true
},
"content4": {
"label": "Content 4",
"description": "Content of Uncommon rarity, usually an infobox",
"example": "{{Infobox|name=Arming Sword}}",
"type": "string",
"suggested": true
},
"content5": {
"label": "Content 5",
"description": "Content of Rare rarity, usually an infobox",
"example": "{{Infobox|name=Arming Sword}}",
"type": "string",
"suggested": true
},
"content6": {
"label": "Content 6",
"description": "Content of Epic rarity, usually an infobox",
"example": "{{Infobox|name=Arming Sword}}",
"type": "string",
"suggested": true
},
"content7": {
"label": "Content 7",
"description": "Content of Legendary rarity, usually an infobox",
"example": "{{Infobox|name=Arming Sword}}",
"type": "string",
"suggested": true
},
"content8": {
"label": "Content 8",
"description": "Content of Unique rarity, usually an infobox",
"example": "{{Infobox|name=Arming Sword}}",
"type": "string",
"suggested": true
},
"contentRS": {
"label": "ContentRS ",
"description": "Content for Rubysilver rarity, usually an infobox",
"example": "{{Infobox|name=Arming Sword}}",
"type": "string",
"suggested": true
},
"contentCB": {
"label": "ContentCB",
"description": "Content for Cobalt rarity, usually an infobox",
"example": "{{Infobox|name=Arming Sword}}",
"type": "string",
"suggested": true
}
},
"paramOrder": [
"firstShownTier",
"content1",
"content2",
"content3",
"content4",
"content5",
"content6",
"content7",
"content8",
"contentRS",
"contentCB"
]
}
</templatedata></noinclude>

Latest revision as of 00:28, 15 August 2024

Creates a set of tabs for items. Use it with infoboxes

Notes

The firstShownTier option is mandatory. Leaving it out will prevent anything from being shown.

  • Make sure to add nomargin for infoboxes

Example

Code Preview
{{Tabs
|firstShownTier=1
|content1 = 
	{{Infobox
	|name                 = Fine Cuirass
	|classes              = [[Fighter]]
	|rarity               = 0
	|stat1                = Armor Rating 60
	|stat2                = Move Speed -35
	|stat3                = Projectile Reduction 12%
	|stat4                = Magic Resistance -10
	|slottype             = Chest
	|armortype            = Metal
	|description          = This armor makes living in impossible situations suddenly possible. Plate armor, uncomfortable to wear and quite heavy.
	|nomargin             = 1
	}}
|content2 = 
	{{Infobox
	|name                 = Fine Cuirass
	|classes              = [[Fighter]]
	|rarity               = 1
	|stat1                = Armor Rating 61~64
	|stat2                = Move Speed -35
	|stat3                = Projectile Reduction 12%
	|stat4                = Magic Resistance -10
	|slottype             = Chest
	|armortype            = Metal
	|description          = This armor makes living in impossible situations suddenly possible. Plate armor, uncomfortable to wear and quite heavy.
	|nomargin             = 1
	}}
|content3 = 
	{{Infobox
	|name                 = Fine Cuirass
	|classes              = [[Fighter]]
	|rarity               = 2
	|stat1                = Armor Rating 65~76
	|stat2                = Move Speed -35
	|stat3                = Projectile Reduction 12%
	|stat4                = Magic Resistance -10
	|slottype             = Chest
	|armortype            = Metal
	|description          = This armor makes living in impossible situations suddenly possible. Plate armor, uncomfortable to wear and quite heavy.
	|nomargin             = 1
	}}
|content4 = 
	{{Infobox
	|name                 = Fine Cuirass
	|classes              = [[Fighter]]
	|rarity               = 3
	|stat1                = Armor Rating 77~88
	|stat2                = Move Speed -35
	|stat3                = Projectile Reduction 12%
	|stat4                = Magic Resistance -10
	|enchantments         = 1
	|slottype             = Chest
	|armortype            = Metal
	|description          = This armor makes living in impossible situations suddenly possible. Plate armor, uncomfortable to wear and quite heavy.
	|nomargin             = 1
	}}
|content5 = 
	{{Infobox
	|name                 = Fine Cuirass
	|classes              = [[Fighter]]
	|rarity               = 4
	|stat1                = Armor Rating 89~97
	|stat2                = Move Speed -35
	|stat3                = Projectile Reduction 12%
	|stat4                = Magic Resistance -10
	|enchantments         = 2
	|slottype             = Chest
	|armortype            = Metal
	|description          = This armor makes living in impossible situations suddenly possible. Plate armor, uncomfortable to wear and quite heavy.
	|nomargin             = 1
	}}
|content6 = 
	{{Infobox
	|name                 = Fine Cuirass
	|classes              = [[Fighter]]
	|rarity               = 5
	|stat1                = Armor Rating 97~105
	|stat2                = Move Speed -35
	|stat3                = Projectile Reduction 12%
	|stat4                = Magic Resistance -10
	|enchantments         = 3
	|slottype             = Chest
	|armortype            = Metal
	|description          = This armor makes living in impossible situations suddenly possible. Plate armor, uncomfortable to wear and quite heavy.
	|nomargin             = 1
	}}
|content7 = 
	{{Infobox
	|name                 = Fine Cuirass
	|classes              = [[Fighter]]
	|rarity               = 6
	|stat1                = Armor Rating 105~110
	|stat2                = Move Speed -35
	|stat3                = Projectile Reduction 12%
	|stat4                = Magic Resistance -10
	|enchantments         = 4
	|slottype             = Chest
	|armortype            = Metal
	|description          = This armor makes living in impossible situations suddenly possible. Plate armor, uncomfortable to wear and quite heavy.
	|nomargin             = 1
	}}
|content8 = 
	{{Infobox
	|name                 = Fine Cuirass
	|classes              = [[Fighter]]
	|rarity               = 7
	|stat1                = Armor Rating 110~115
	|stat2                = Move Speed -35
	|stat3                = Projectile Reduction 12%
	|stat4                = Magic Resistance -10
	|enchantments         = 5
	|slottype             = Chest
	|armortype            = Metal
	|description          = This armor makes living in impossible situations suddenly possible. Plate armor, uncomfortable to wear and quite heavy.
	|nomargin             = 1
	}}
|contentRS = 
	{{Infobox
	|name                 = Fine Cuirass
	|image                = Rubysilver Fine Cuirass
	|classes              = [[Fighter]], [[Cleric]]
	|rarity               = 5
	|stat1                = Armor Rating 97~105
	|stat2                = Move Speed -35
	|stat3                = Projectile Reduction 12%
	|stat4                = Magic Resistance -10
	|enchantments         = 3
	|slottype             = Chest
	|armortype            = Metal
	|description          = A high-quality cuirass made with a large amount of Rubysilver ingots. It has considerable durability.
	|nomargin             = 1
	}}
}} 
As you can see there is no Cobalt Tab
 I 
 II 
 III 
 IV 
 V 
 VI 
 VII 
 VIII 
Fine Cuirass.png
Required Class:
Armor Type:
Metal
Slot Type:
Chest
This armor makes living in impossible situations suddenly possible. Plate armor, uncomfortable to wear and quite heavy.
Fine Cuirass.png
Required Class:
Armor Type:
Metal
Slot Type:
Chest
This armor makes living in impossible situations suddenly possible. Plate armor, uncomfortable to wear and quite heavy.
Fine Cuirass.png
Required Class:
Armor Type:
Metal
Slot Type:
Chest
This armor makes living in impossible situations suddenly possible. Plate armor, uncomfortable to wear and quite heavy.
Fine Cuirass.png
-
Up to 1 extra enchantments
-
Required Class:
Armor Type:
Metal
Slot Type:
Chest
This armor makes living in impossible situations suddenly possible. Plate armor, uncomfortable to wear and quite heavy.
Fine Cuirass.png
-
Up to 2 extra enchantments
-
Required Class:
Armor Type:
Metal
Slot Type:
Chest
This armor makes living in impossible situations suddenly possible. Plate armor, uncomfortable to wear and quite heavy.
Fine Cuirass.png
-
Up to 3 extra enchantments
-
Required Class:
Armor Type:
Metal
Slot Type:
Chest
This armor makes living in impossible situations suddenly possible. Plate armor, uncomfortable to wear and quite heavy.
Fine Cuirass.png
-
Up to 4 extra enchantments
-
Required Class:
Armor Type:
Metal
Slot Type:
Chest
This armor makes living in impossible situations suddenly possible. Plate armor, uncomfortable to wear and quite heavy.
Fine Cuirass.png
-
Up to 5 extra enchantments
-
Required Class:
Armor Type:
Metal
Slot Type:
Chest
This armor makes living in impossible situations suddenly possible. Plate armor, uncomfortable to wear and quite heavy.
{{Tabs
|firstShownTier=Common
|contentCommon = 
{{Infobox
	|name                 = Lich
	|rarity               = 2
	|image                = Lich
	|stat1                = Health 2100
	|stat2                = Move Speed 200
	|enemytype             = [[Undead]]
	|location            = [[Inferno]]
	|experience          = 50
	|nomargin             = 1
	}}
|contentElite = 
{{Infobox
	|name                 = Lich
	|rarity               = 6
	|image                = Lich
	|stat1                = Health 3000
	|stat2                = Move Speed 250
	|enemytype             = [[Undead]]
	|location            = [[Inferno]]
	|experience          = 125
	|nomargin             = 1
	}}
|contentNightmare = 
{{Infobox
	|name                 = Lich
	|rarity               = Nightmare
	|image                = Lich
	|stat1                = Health ???
	|stat2                = Move Speed ???
	|enemytype             = [[Undead]]
	|location            = [[Inferno]]
	|experience          = ???
	|nomargin             = 1
	}}
}} 
As you can see there is no Cobalt Tab
 Common 
 Elite 
 Nightmare 
Lich.png
Location:
Experience Points
50
Lich.png
Location:
Experience Points
125
Lich.png
Location:
Experience Points
???
{{Tabs
	|firstShownTier=Normal
	|contentNormal = 
	{{Infobox
		|name                 = Marvelous Chest
		|description = TODO_FLAVORTEXT
		|openduration = 3
		|experience     = 5
		|highendpropinteraction= 6
		}}
	|contentNormalLocked = 
	{{Infobox
		|name                 = Marvelous Chest
		|description = TODO_FLAVORTEXT
		|picklockduration = 5
		|experience     = 7
		|highendpropinteraction= 7
		}}
	|contentHighRoller = 
	{{Infobox
		|name                 = Marvelous Chest
		|description = TODO_FLAVORTEXT
		|openduration = 3
		|experience     = 6
		|highendpropinteraction= 10
		}}
	|contentHighRollerLocked = 
	{{Infobox
		|name                 = Marvelous Chest
		|description = TODO_FLAVORTEXT
		|picklockduration = 5
		|experience     = 10
		|highendpropinteraction= 12
		}}
}}
 N 
   NLockpickWithBorderB.png
 HR 
   HRLockpickWithBorderB.png
Marvelous Chest.png
Opening:
3 s
Adventure Points
High-End Props Interaction:
6
Experience Points
5
TODO_FLAVORTEXT
Marvelous Chest.png
Picking Lock:
5 s
Adventure Points
High-End Props Interaction:
7
Experience Points
7
TODO_FLAVORTEXT
Marvelous Chest.png
Opening:
3 s
Adventure Points
High-End Props Interaction:
10
Experience Points
6
TODO_FLAVORTEXT
Marvelous Chest.png
Picking Lock:
5 s
Adventure Points
High-End Props Interaction:
12
Experience Points
10
TODO_FLAVORTEXT

All Options

The full list of options are listed below. Please don't leave anything blank though, else the previous tier's values won't get used (ie., only include options if you use them).

{{Tabs
|firstShownTier   =1
|content1         = 
|content2         = 
|content3         = 
|content4         = 
|content5         = 
|content6         = 
|content7         = 
|content8         = 
|contentCommon    = 
|contentElite     = 
|contentNightmare = 
}}