Template:ArmorTable: Difference between revisions
From HorizonXI Wiki
No edit summary |
(improvement to regex syntax) |
||
Line 9: | Line 9: | ||
|count = {{{count|}}} | |count = {{{count|}}} | ||
|include={Item Statistics¦ArmorTable.dpl},{HorizonChangesBox} | |include={Item Statistics¦ArmorTable.dpl},{HorizonChangesBox} | ||
|includematch = {{#if:{{{job|}}}|/\[\[{{{job}}}\]\]¦jobs\s*=\s*all\s*/|}} | |includematch = {{#if:{{{job|}}}|/jobs\s*=(?:\b¦\s)\[\[{{{job}}}\]\](?:\b¦\s)¦jobs\s*=\s*all\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 |
Revision as of 21:47, 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 |
---|---|---|---|---|---|
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 | Jobs | Slot | 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
|