Template:ArmorTable: Difference between revisions
mNo edit summary |
(added parameter to collapse tables) |
||
Line 1: | Line 1: | ||
<includeonly><onlyinclude><!-- | <includeonly><onlyinclude><!-- | ||
-->{{#dpl: | -->{{#if:{{{collapse|}}}|<div class="mw-collapsible {{#switch: {{{collapse}}}|expanded=|collapsed=mw-collapsed|#default=mw-collapsed}}"><br>|}} | ||
{{#dpl: | |||
|category = {{{cat1}}} | |category = {{{cat1}}} | ||
|category = {{{cat2|}}} | |category = {{{cat2|}}} | ||
Line 18: | Line 19: | ||
|table=class="wikitable sortable",Name,Level,Slot,Jobs,Stats,Horizon Changes {{changes}} | |table=class="wikitable sortable",Name,Level,Slot,Jobs,Stats,Horizon Changes {{changes}} | ||
|tablesortcol=2 | |tablesortcol=2 | ||
}}<!-- | }}{{#if:{{{collapse|}}}|</div><br>}}<!-- | ||
--></onlyinclude></includeonly> | --></onlyinclude></includeonly> | ||
==Usage== | ==Usage== | ||
Line 24: | Line 25: | ||
Syntax: | Syntax: | ||
<pre>{{ArmorTable|cat1|...|notcat1|...|title1|...|job|count}}</pre> | <pre>{{ArmorTable|cat1|...|notcat1|...|title1|...|job|collapse|count}}</pre> | ||
*Use cat1, cat2, cat3 to include required categories | *Use cat1, cat2, cat3 to include required categories | ||
Line 31: | Line 32: | ||
*Use title1, title2, ..., title6 to include specific pages | *Use title1, title2, ..., title6 to include specific pages | ||
*Use job to include only gear by job XXX | *Use job to include only gear by job XXX | ||
*Use collapse to make the table collapsible. collapse=collapsed makes it collapsed by default. collapse=expand to make it expanded by default. (collapsed is also the default when entering anything else for the collapse parameter). | |||
*(The count parameter is mainly used for testing) | *(The count parameter is mainly used for testing) | ||
**Also: count does not work with job parameter since the job parameter seems to filter after generating the list and after the count parameter cropped the list. | **Also: count does not work with job parameter since the job parameter seems to filter after generating the list and after the count parameter cropped the list. | ||
Line 51: | Line 53: | ||
Will give out all pieces of armor which are categorized as "Artifact Armor" and have "WHM" (or "all") in their job list. | Will give out all pieces of armor which are categorized as "Artifact Armor" and have "WHM" (or "all") in their job list. | ||
{{ArmorTable|cat1=Artifact Armor|job=WHM}} | {{ArmorTable|cat1=Artifact Armor|job=WHM|classes=mw-collapsible}} | ||
===Example 3=== | ===Example 3=== | ||
Syntax: | Syntax: | ||
<pre>{{ArmorTable|cat1=Body|job=BLM}}</pre> | <pre>{{ArmorTable|cat1=Body|job=BLM|collapse=collapsed}}</pre> | ||
Will give out all body pieces equippable by BLM. | Will give out all body pieces equippable by BLM in a collapsible table that is collapsed by default. | ||
{{ArmorTable|cat1=Body|job=BLM}} | {{ArmorTable|cat1=Body|job=BLM|collapse=collapse}} | ||
===Example 4=== | ===Example 4=== |
Revision as of 11:11, 9 September 2023
Usage
Wrapper Template to generate lists of armor based on categories.
Syntax:
{{ArmorTable|cat1|...|notcat1|...|title1|...|job|collapse|count}}
- Use cat1, cat2, cat3 to include required categories
- (note: you can use {{!}} to use a logical OR in a category)
- Use notcat1, notcat2, notcat2 to exclude categories
- Use title1, title2, ..., title6 to include specific pages
- Use job to include only gear by job XXX
- Use collapse to make the table collapsible. collapse=collapsed makes it collapsed by default. collapse=expand to make it expanded by default. (collapsed is also the default when entering anything else for the collapse parameter).
- (The count parameter is mainly used for testing)
- Also: count does not work with job parameter since the job parameter seems to filter after generating the list and after the count parameter cropped the list.
Examples
Some Example tables have been limited to output only 5 items (through the optional parameter count=5) because they serve only as examples. The syntax shown in the examples would generate the full tables.
Example 1
Syntax:
{{ArmorTable|cat1=Artifact Armor|cat2=Feet|notcat1=White Mage}}
Will give out all pieces of armor which are categorized as "Artifact Armor" and "Feet" while excluding those, which are categorized as "White Mage". ("All AF Feet except WHM feet")
Name | Level | Slot | Jobs | Stats | Horizon Changes |
---|---|---|---|---|---|
Gallant Leggings | 52 | Feet | PLD | DEF: 14 HP +15 CHR +5 DEX +2 Shield skill +10 Enhances "Holy Circle" effect |
|
Beast Gaiters | 52 | Feet | BST | DEF: 10 HP +11 CHR +3 Enhances "Reward" effect "Charm" +2 | |
Chaos Sollerets | 52 | Feet | DRK | DEF: 10 HP +15 MND +5 Accuracy +3 Enhances "Arcane Circle" effect |
|
Warlock's Boots | 52 | Feet | RDM | DEF: 13 MP +11 MND +1 INT +1 +10 Shield skill +10 | |
Rogue's Poulaines | 60 | Feet | THF | DEF: 13 HP +12 DEX +3 Increases "Flee" duration "Steal" +2 | none
|
Example 2
Syntax:
{{ArmorTable|cat1=Artifact Armor|job=WHM}}
Will give out all pieces of armor which are categorized as "Artifact Armor" and have "WHM" (or "all") in their job list.
Name | Level | Slot | Jobs | Stats | Horizon Changes |
---|---|---|---|---|---|
Healer's Duckbills | 52 | Feet | WHM | DEF: 12 MP +20 INT +3 Spell interruption rate down 20% | |
Healer's Cap | 54 | Head | WHM | DEF: 21 MP +13 MND +4 +15 Enmity -1 | none
|
Healer's Pantaloons | 56 | Legs | WHM | DEF: 28 MP +15 VIT +3 Divine Magic skill +15 Enmity -1 | none
|
Healer's Bliaut | 58 | Body | WHM | DEF: 40 MP +25 +10 Enfeebling Magic skill +10 Enmity -4 | |
Healer's Mitts | 60 | Hands | WHM | DEF: 14 MP +10 STR +5 Healing Magic skill +15 Enmity -4 | none
|
Example 3
Syntax:
{{ArmorTable|cat1=Body|job=BLM|collapse=collapsed}}
Will give out all body pieces equippable by BLM in a collapsible table that is collapsed by default.
Name | Level | Slot | Jobs | Stats | Horizon Changes |
---|---|---|---|---|---|
Swellers Harness | Body | All Jobs | none
| ||
Chocobo Jack Coat | 1 | Body | All Jobs | DEF: 2 Chocobo riding time +5 | none
|
Field Tunica | 1 | Body | All Jobs | DEF: 2 Improves Mining, Logging and Harvesting results | none
|
Fisherman's Tunica | 1 | Body | All Jobs | DEF: 2 Fishing skill +1 | none
|
Fisherman's Apron | 1 | Body | All Jobs | DEF: 4 +1 +1 Reduces chances of fishing up items | none
|
Mithra Top +1 | 1 | Body | All Jobs | Cannot Equip Handgear DEF: 2 Reduces clamming "incidents" | none
|
Custom Gilet +1 | 1 | Body | All Jobs | Cannot Equip Handgear DEF: 2 Enchantment: "Teleport" (Purgonorgo Isle) | none
|
Magna Top +1 | 1 | Body | All Jobs | Cannot Equip Handgear DEF: 2 Enchantment: "Teleport" (Purgonorgo Isle) | none
|
Wonder Top +1 | 1 | Body | All Jobs | Cannot Equip Handgear DEF: 2 Enchantment: "Teleport" (Purgonorgo Isle) | none
|
Savage Top +1 | 1 | Body | All Jobs | Cannot Equip Handgear DEF: 2 Enchantment: "Teleport" (Purgonorgo Isle) | none
|
Custom Top +1 | 1 | Body | All Jobs | Cannot Equip Handgear DEF: 2 Enchantment: "Teleport" (Purgonorgo Isle) | none
|
Hume Top | 1 | Body | All Jobs | Cannot Equip Handgear DEF: 1 | none
|
Omina Yukata | 1 | Body | All Jobs | DEF: 1 | none
|
Lady's Yukata | 1 | Body | All Jobs | DEF: 2 Improves Goldfish-scooping ability | none
|
Hume Top +1 | 1 | Body | All Jobs | Cannot Equip Handgear DEF: 2 Reduces clamming "incidents" | none
|
Onoko Yukata | 1 | Body | All Jobs | DEF: 1 | none
|
Lord's Yukata | 1 | Body | All Jobs | DEF: 2 Improves Goldfish-scooping ability | none
|
Elder Gilet +1 | 1 | Body | All Jobs | Cannot Equip Handgear DEF: 2 Enchantment: "Teleport" (Purgonorgo Isle) | none
|
Elvaan Gilet | 1 | Body | All Jobs | Cannot Equip Handgear DEF: 1 | none
|
Magna Gilet +1 | 1 | Body | All Jobs | Cannot Equip Handgear DEF: 2 Enchantment: "Teleport" (Purgonorgo Isle) | none
|
Wonder Maillot +1 | 1 | Body | All Jobs | Cannot Equip Handgear DEF: 2 Enchantment: "Teleport" (Purgonorgo Isle) | none
|
Tarutaru Maillot | 1 | Body | All Jobs | Cannot Equip Handgear DEF: 1 | none
|
Tarutaru Maillot +1 | 1 | Body | All Jobs | Cannot Equip Handgear DEF: 2 Reduces clamming "incidents" | none
|
Hardcore Shirt | 1 | body | All Jobs | DEF: 1 | none
|
Tarutaru Top +1 | 1 | Body | All Jobs | Cannot Equip Handgear DEF: 2 Reduces clamming "incidents" | none
|
Republic Aketon | 1 | Body | All Jobs | DEF: 1 Increases chances of obtaining crystals In Bastok: Movement speed +12% | none
|
Federation Aketon | 1 | Body | All Jobs | DEF: 1 Increases chances of obtaining crystals In Windurst: Movement speed +12% | none
|
Kingdom Aketon | 1 | Body | All Jobs | DEF: 1 Increases chances of obtaining crystals In San d'Oria: Movement speed +12% | none
|
Dream Robe | 1 | Body | All Jobs | DEF: 2 | none
|
Dream Robe +1 | 1 | Body | All Jobs | DEF: 3 Enhances the effect of Selbina milk | none
|
Mandragora Suit | 1 | Body | All Jobs | Cannot Equip Leggear DEF: 1 Enchantment: "Teleport" (Home Nation) | none
|
HorizonXI Shirt | 1 | Body | All Jobs | DEF: 1 | none
|
Culinarian's Apron | 1 | Body | All Jobs | DEF: 2 +1 +1 Cooking Skill +1 | none
|
Hume Gilet | 1 | Body | All Jobs | Cannot Equip Handgear DEF: 1 | none
|
Hume Gilet +1 | 1 | Body | All Jobs | Cannot Equip Handgear DEF: 2 Reduces clamming "incidents" | none
|
Mithra Top | 1 | Body | All Jobs | Cannot Equip Handgear DEF: 1 | none
|
Elvaan Top | 1 | Body | All Jobs | Cannot Equip Handgear DEF: 1 | none
|
Galka Gilet | 1 | Body | All Jobs | Cannot Equip Handgear DEF: 1 | none
|
Elvaan Top +1 | 1 | Body | All Jobs | Cannot Equip Handgear DEF: 2 Reduces clamming "incidents" | none
|
Galka Gilet +1 | 1 | Body | All Jobs | Cannot Equip Handgear DEF: 2 Reduces clamming "incidents" | none
|
Tarutaru Top | 1 | Body | All Jobs | Cannot Equip Handgear DEF: 1 | none
|
Elvaan Gilet +1 | 1 | Body | All Jobs | Cannot Equip Handgear DEF: 2 Reduces clamming "incidents" | none
|
Tartarus Platemail | 1 | body | All Jobs | DEF: 1 | none
|
Hardcore Harness | 1 | body | All Jobs | DEF: 1 | none
|
Bugsquasher Shirt | 1 | Body | All Jobs | {{{stats}}} |
|
Ducal Aketon | 1 | Body | All Jobs | {{{stats}}} |
|
Tunic | 8 | Body | MNK / WHM / BLM / RDM / PLD / BRD / RNG / SMN / BLU / PUP / SCH / GEO / RUN | Cannot Equip Headgear DEF: 9 | none
|
Royal Footman's Tunic | 10 | Body | MNK / WHM / BLM / RDM / PLD / BRD / RNG / SMN / BLU / PUP / SCH / GEO / RUN | Cannot Equip Headgear DEF: 12 AGI +1 INT +1 | none
|
Rider's Jack Coat | 15 | Body | All Jobs | DEF: 12 Chocobo riding time +5 | none
|
Angler's Tunica | 15 | Body | All Jobs | DEF: 12 Fishing Skill +1 | none
|
Baron's Saio | 20 | Body | MNK / WHM / BLM / RDM / THF / DRK / BRD / RNG / SMN / BLU / COR / PUP / DNC / SCH / GEO / RUN | DEF: 15 INT +1 MND +1 | none
|
Magna Jerkin | 33 | Body | All Jobs | DEF: 18 HP +24 MP +4 DEX +1 INT +1 | none
|
Royal Squire's Robe | 40 | Body | MNK / WHM / BLM / RDM / THF / DRK / BRD / RNG / SMN / BLU / COR / PUP / DNC / SCH / GEO / RUN | DEF: 26 MP +10 INT +1 MND +1 | |
Royal Knight's Cloak | 50 | Body | MNK / WHM / BLM / RDM / PLD / BRD / RNG / SMN / BLU / PUP / SCH / GEO / RUN | Cannot Equip Headgear DEF: 40 INT +1 +12 +12 | none
|
Duende Cotehardie | 50 | Body | BLM / SMN / GEO
|
DEF: 26 "Conserve MP" +4 Dark Spirit perpetuation cost -1 | none
|
Wizard's Coat | 58 | Body | BLM | DEF: 38 MP +16 VIT +5 Enfeebling Magic skill +10 Enmity -3 | none
|
Vermillion Cloak | 59 | Body | MNK / WHM / BLM / RDM / PLD / BRD /RNG / SMN / BLU / PUP / SCH / GEO / RUN | {{{stats}}} | none
|
Black Cotehardie | 59 | Body | MNK / WHM / BLM / RDM / THF / BST / BRD / RNG / NIN / SMN / COR / BLU / PUP / DNC / SCH / RUN | DEF: 39 STR +3 DEX +2 VIT -2 AGI +3 INT +2 MND -3 CHR -3 -30 +3 +3 +3 +3 +3 +3 +3 Converts 25 HP to MP Latent effect: Adds "Refresh" effect |
|
Hydra Jupon | 70 | Body | All Jobs | DEF: 42 Fellow: HP +20 MP +20 VIT +2 | none
|
Hydra Doublet | 70 | Body | WHM / BLM / RDM / BRD / SMN / SCH / GEO | DEF: 43 MP +40 Accuracy +10 Evasion +10 Enmity -9 Enchantment: Adds "Refresh" effect | none
|
Dalmatica | 73 | Body | WHM / BLM / RDM / BRD / SMN / GEO | DEF: 45 "Magic Def. Bonus" +5 Adds "Refresh" effect Enhances "Resist Paralyze" effect Converts 50 HP to MP | none
|
Dalmatica +1 | 73 | Body | WHM / BLM / RDM / BRD / SMN / GEO | DEF: 46 "Magic Def. Bonus" +6 Adds "Refresh" effect Enhances "Resist Paralyze" effect Converts 55 HP to MP | none
|
Wizard's Coat +1 | 74 | Body | BLM | DEF: 38 MP +36 Enfeebling Magic skill +12 Enmity -5 MP recovered while healing +5 | none
|
Sorcerer's Coat | 74 | Body | BLM | DEF: 41 MP +12 Elemental Magic skill +5 Enmity -2 Adds "Refresh" effect | none
|
Sushomi's Beginners Guide to Healing | {{{level}}} | {{{slot}}} | All Jobs | {{{stats}}} | none
|
Example 4
Syntax:
{{ArmorTable|title1=Evoker's Spats|title2=Evoker's Horn}}
Will give out a list of those two specified items
Name | Level | Slot | Jobs | Stats | Horizon Changes |
---|---|---|---|---|---|
Evoker's Spats | 52 | Legs | SMN | DEF: 25 MP +15 Evasion skill +10 Avatar: Enhances accuracy Enmity -2 | none
|
Evoker's Horn | 60 | Head | SMN | DEF: 15 MP +20 INT +3 Summoning magic skill +5 Avatar: Enmity -3 | none
|