Template:ArmorTable: Difference between revisions

From HorizonXI Wiki
(improvement to regex syntax)
(regex improved to correctly get the job in a bunch and all jobs)
Line 9: Line 9:
|count = {{{count|}}}
|count = {{{count|}}}
|include={Item Statistics¦ArmorTable.dpl},{HorizonChangesBox}
|include={Item Statistics¦ArmorTable.dpl},{HorizonChangesBox}
|includematch = {{#if:{{{job|}}}|/jobs\s*=(?:\b¦\s)\[\[{{{job}}}\]\](?:\b¦\s)¦jobs\s*=\s*all\s*/|}}
|includematch = {{#if:{{{job|}}}|/jobs\s*=.*\[\[{{{job}}}\]\].*¦jobs\s*=\s*All\sJobs\s*/|}}
|table=class="wikitable sortable",Name,Level,Jobs,Slot,Stats,Horizon Changes {{changes}}
|table=class="wikitable sortable",Name,Level,Jobs,Slot,Stats,Horizon Changes {{changes}}
|tablesortcol=2
|tablesortcol=2
Line 43: Line 43:


{{ArmorTable|cat1=Artifact Armor|job=WHM}}
{{ArmorTable|cat1=Artifact Armor|job=WHM}}
===Example 3===
Syntax:
<pre>{{ArmorTable|cat1=Head|job=BLM}}</pre>
Will give out all head pieces equippable by BLM.
{{ArmorTable|cat1=Head|job=BLM}}

Revision as of 22:11, 30 August 2023

Usage

Wrapper Template to generate lists of armor based on categories.

Syntax:

{{ArmorTable|cat1|...|notcat1|...|job|count}}
  • Use cat1, cat2, cat3 to include required categories
  • Use notcat1, notcat2, notcat2 to exclude categories
  • Use job to include only gear by job XXX
  • (The count parameter is mainly used for testing)

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 Jobs Slot Stats Horizon Changes HorizonXI specific changes
Gallant Leggings 52 Feet PLD DEF: 14 HP +15 CHR +5 DEX +2 HorizonXI specific changes 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 Resistance to Water+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 Jobs Slot Stats Horizon Changes HorizonXI specific changes
Healer's Duckbills 52 Feet WHM DEF: 12 MP +20 INT +3 Spell interruption rate down 20%
  • INT +3 instead of AGI +3
  • MP +20 instead of MP +10
Healer's Cap 54 Head WHM DEF: 21 MP +13 MND +4 Resistance to Dark+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 Resistance to Wind+10 Enfeebling Magic skill +10 Enmity -4
  • MP +25 instead of MP +15.
Healer's Mitts 60 Hands WHM DEF: 14 MP +10 STR +5 Healing Magic skill +15 Enmity -4
none


Example 3

Syntax:

{{ArmorTable|cat1=Head|job=BLM}}

Will give out all head pieces equippable by BLM.

Name Level Jobs Slot Stats Horizon Changes HorizonXI specific changes
Hardcore Mask  1 head All Jobs DEF: 1
none
Traveler's Hat  6 Head MNK / WHM / BLM / RDM / THF / DRK / BRD / RNG / SMN / BLU / COR / PUP / DNC / SCH / GEO / RUN DEF: 3 MND +1
none
Empress Hairpin  7 Head All Jobs HP -15 DEX +3 Evasion +3
Emperor Hairpin  7 Head All Jobs HP -15 DEX +3 Evasion +3
Baron's Chapeau 20 Head MNK / WHM / BLM / RDM / THF / DRK / BRD / RNG / SMN / BLU / COR / PUP / DNC / SCH / GEO / RUN DEF: 8 INT +2 Enmity +2
none
Wool Hat 28 Head MNK / WHM / BLM / RDM / THF / DRK / BRD / RNG / SMN / BLU / COR / PUP / DNC / SCH / GEO / RUN DEF: 9
none
Legionnaire's Circlet 30 Head MNK / WHM / BLM / RDM / THF / DRK / BRD / RNG / SMN / BLU / COR / PUP / DNC / SCH / GEO / RUN DEF: 10 MP +5 MND +1 Wind +4 Earth +4
}
Tactician Magician's Hat 50 Head MNK / WHM / BLM / RDM / THF / DRK / BRD / RNG / SMN / BLU / COR / PUP / DNC / SCH / GEO / RUN DEF: 16
none
Reraise Hairpin 60 Head All Jobs HP -7 MP +21 Water +14 Enchantment: "Reraise II"
none
Wizard's Petasos 60 Head BLM DEF: 20 MP +25 INT +4 Resistance to Lightning+10 Enmity -4
none
Demon Helm 73 Head BLM / DRK / BRD DEF: 25 INT +5 MND -5 Parrying skill +5 Singing skill +5
none
Zenith Crown +1 73 Head WHM / BLM / RDM / BRD / SMN / GEO DEF: 31 INT +4 MND +4 Enhances "Resist Silence" effect Converts 55 HP to MP
none
Zenith Crown 73 Head WHM / BLM / RDM / BRD / SMN / GEO DEF: 30 INT +3 MND +3 Enhances "Resist Silence" effect Converts 50 HP to MP
none
Wizard's Petasos +1 74 Head BLM DEF: 20 MP +30 INT +5 Enmity -4 MP recovered while healing +1
none
Sorcerer's Petasos +1 75 Head BLM DEF: 24 MP +29 Enfeebling Magic skill +5 Elemental Magic skill +10 Enmity -3
none
Nashira Turban 75 Head WHM / BLM / RDM / SMN / BLU DEF: 19 Magic Accuracy +5 Enmity -5 Haste +2% Spell interruption rate down 10%
none
Sorcerer's Petasos 75 Head BLM DEF: 23 MP +23 Enfeebling Magic skill +5 Elemental Magic skill +10 Enmity -2
none
Bone Hairpin +1 {{{level}}} {{{slot}}} All Jobs {{{stats}}}
none
Aegishjalmr {{{level}}} {{{slot}}} All Jobs {{{stats}}}
none