Template:ParserTest
Attributes
Armor(a)
Disp
Attributes=3,8,4,1,20,2,3
Detection 3; Gossip 8; Stability; Stun Immunity; Tinkering 20; Wisdom 2; Shield
Sel
{{#invoke:Attributes|Sel|3,8,4,1,20,2,3|a|tinkering|21|ne}}:
Tinkering != 21:
1
Weapon(w)
Disp
Attributes = 3,8,4,1,20,2,3,9
Beast Slayer 3; Holy 8; Orc Slayer 4; Paralysis; Silver; Slow; Stun; Vicious 9
Sel
{{#invoke:Attributes|Sel|3,8,4,1,20,2,3,9|w|Vicious|10|lt}}
Vicious < 10:
1
Resistances
Disp
RawResist = 0,0,10,10,0,10
10
10
10
Vuln
{{#invoke:Resistances|Vuln|0,0,10,10,0,10|Fire}}
Is Fire > 0 =
0
Is Shock > 0 =
1
{{#invoke:Resistances|Vuln|0,0,10,10,0,10|Shock|5|lt}}:
Is Shock < 5 =
0
Is Shock = 10 =
1
Is Shock < 20 =
1
Damage
EleChk
RawDmg = 4,8,0,4,1,10,5,1.5,0,0,0
{{#invoke:Damage|EleChk|4,8,0,4,1,10,5,1.5,0,0,0|Fire}}:
Is Fire =
1
Is Cold = 0
{{#invoke:Damage|EleChk|4,8,0,4,1,10,5,1.5,0,0,0|Fire|5}}:
Is Fire > 5 = 0
Is Fire < 5 = 1
FullDisp
DPS
10.2
Inventory
getItems
{{#invoke:Inventory|getItems|Scroll of Recall; Potion of Mana|Blessed Necklace; Blessed Platemail Vest|Sonnet; Deathclaw}}
Name | Cost | Description |
---|---|---|
Scroll of Recall | 280 | Recall Teleports you and your party to a nearby town. |
Potion of Mana | 350 | Gain Mana 35 Keep going and going! Recovers +35 mana. |
Blessed Necklace | 800 | +5 HP +3 MP |
Blessed Platemail Vest | 8600 | +3 AR +9 HP +4 MP |
Sonnet | Light DMG: Spd: 12 Crit: 6% |
|
Deathclaw | Light DMG: Spd: 11 Crit: 7% |
make list
{{#invoke:Inventory|makeList|Scroll of Recall|Blessed Necklace|Sonnet}}:
Scroll of Recall; Blessed Necklace; Sonnet
Misc
Rarity
{{#invoke:Misc|Rarity|Unique}}:
Unique
{{#invoke:Misc|Rarity|Crafted|1}}:
This is a Crafted item, obtainable as a rare drop or by the player interacting with certain NPCs.
{{#invoke:Misc|Rarity|test}}:
Common
Cost
To get the Cost:
{{#invoke:Misc|Cost||400|1}}:
1600
To get the Value:
{{#invoke:Misc|Cost|400|}}:
100
imgLink
Regular Link with image = name.png
{{#invoke:Misc|imgLink|Human Resources}}:
Human Resources
Regular Link but colored as a new item:
{{#invoke:Misc|imgLink|Human Resources|Colo=1}}
Human Resources
Setting extension and size:
{{#invoke:Misc|imgLink|Human Resources|png|64}}
Human Resources
Icon=1:
{{#invoke:Misc|imgLink|Human Resources|icon=1}}
Human Resources
Setting icon manually:
{{#invoke:Misc|imgLink|Human Resources|icon=Human Resources.png}}
Human Resources
traitDisp
RawTrait=1,2,3,4,5,6
1
2
3
4
5
6
traitSel
{{#invoke:Misc|traitSel|1,2,3,4,5,6|Agility}}
Agility > 0: 1
{{#invoke:Misc|traitSel|1,2,3,4,5,6|Agility|3}}
Agility > 3: 0
TextC
SList
Regular ; list:
{{#invoke:TextC|SList|a;b;c;d;e;f;g}}
- a
- b
- c
- d
- e
- f
- g
Setting delimiter to ,:
{{#invoke:TextC|SList|a,b,c,d,e,f,g|,}}
- a
- b
- c
- d
- e
- f
- g
SListCol
Need work, for determining if only one Column is necessary (max 2 ATM):
{{#invoke:TextC|SListCol|a;b;c;d;e}}:
2
{{#invoke:TextC|SListCol|a;b}}:
1
{{#invoke:TextC|SListCol|}}:
1
DelimRepl
{{#invoke:TextC|DelimRepl|a;b;c;d;e}}
♦ a ♦b ♦c ♦d ♦e
{{#invoke:TextC|DelimRepl|a,b,c,d,e|,}}
♦ a ♦b ♦c ♦d ♦e
{{#invoke:TextC|DelimRepl|a;b;c;d;e||° }}
° a° b° c° d° e
Transp
{{#invoke:TextC|Transp|Captain Dorse}}:
- Captain Dorse
- New Garand takes 12 hours for 150 Gold
- Forgotten Temple takes 1 hour for 150 Gold
- Dragon Coast for 150 Gold
- Friguld takes 12 hours for 150 Gold
{{#invoke:TextC|Transp|Captain Dorse;Boatman Narrim}}:
- Captain Dorse
- New Garand takes 12 hours for 150 Gold
- Forgotten Temple takes 1 hour for 150 Gold
- Dragon Coast for 150 Gold
- Friguld takes 12 hours for 150 Gold
- Boatman Narrim
- Kingsbridge takes 12 hours for 100 Gold
{{#invoke:TextC|Transp|Captain Dorse;Boatman Narrim;-This is a Test}}
- Captain Dorse
- New Garand takes 12 hours for 150 Gold
- Forgotten Temple takes 1 hour for 150 Gold
- Dragon Coast for 150 Gold
- Friguld takes 12 hours for 150 Gold
- Boatman Narrim
- Kingsbridge takes 12 hours for 100 Gold
- This is a Test