Notice something wrong, missing, or inadequate? Feel free to edit pages yourself and make use of discussion pages.
Wiki content is created, maintained, and administrated by players. Learn how you can help!

Template:Itemstats

From SoDWiki
Revision as of 19:15, 6 February 2021 by Rari (talk | contribs)
Jump to navigationJump to search


[edit] [purge] Template-info.png Template documentation


Parameters

{{Itemstats
| image  		= 
| source1  		=
| source2 		=
| source30 		=
| type  		=
| respawn  		=
| loc1 			=
| loc1_detail    	=
| merchbuy  		=
| merchsell  		=
| trivial               = 
| tradeskilled          =
| recipe                = 
| summoned              = 
| mob1 			=
| mob2 			=
| mob30 		=
| zone1                 = 
| zone2                 = 
| zone30                = 
| zone 			= 
| mob 			= 
| foodtype  		=
| questreward1 		=
| questreward2 		=
| questreward30 	=
| questitem1  		=
| questitem2 		=
| questitem30 		=
| tradeskillsupply1  	=
| tradeskillsupply2  	=
| tradeskillsupply10  	=
| reagent  		=
| instrument  		=
| rarity  		=
| pristine  		=
| factionbound  	=
| text  		=
| regular  		=
| gateneck 		=
| opens 		=
| chest  		=
| stacks                =
| expable               =
| expgrowthrate         =
| explevels             =
| expperlevel           =
| lore                  =  
| lightsource           = 
<!--End Infobox - Below are stats-->
| container    =
| flagboe      =
| flagfac      =
| flaglore     =
| flagmagic    =
| flagnodrop   =
| flagnorent   =
| flagpristine =
| flagaug      =
| slot1        =
| slot2        =
| slot3        =
| slot4        =
| slot5        =
| slot6        =
| slot7        =
| slot8        =
| slot9        =
| slot10       =
| slot11       =
| slot12       =
| slot13       =
| slot14       =
| slot15       =
| slot16       =
| slot17       =
| slot18       =
| ammonote     =
| book         =
| note         =
| ac           =
| dmg          =
| atkdelay     =
| charges      =
| chargecast   =
| manacost     =
| skill        =
| skillmod     =
| skillmodnum  =
| insttypemod  =
| instmod      =
| banedmgmod   =
| banedmgnum   =
| spdmgtype    =
| spdmgnum     =
| augtype      =
| str          = 
| sta          = 
| agi          =
| dex          = 
| int          =
| wis          =
| cha          =
| health       =
| mana         =
| svfire       =
| svcold       =
| svmagic      =
| svdisease    =
| svpoison     =
| focuseffect  =
| effect       =
| effectflag   =
| haste        =
| effectcast   =
| effect2      =
| effectflag2  =
| effectcast2  =
| flowingthought = 
| aggression   =
| critstrike   =
| dmgreduction =
| mindshield   =
| spellward    =
| stunresist   =
| reclvl       =
| reqlvl       =
| meal         =
| range        =
| wt           =
| size         =
| cap          =
| sizecap      = 
| wtreduc      =
| augslot1     =
| augslot2     =
| lvl1         =
| lvl2         =
| lvl3         =
| lvl4         =
| lvl5         =
| lvl6         =
| lvl7         =
| lvl8         =
| lvl9         =
| lvl10        =
| lvl11        =
| lvl12        =
| lvl13        =
| lvl14        =
| lvl15        =
<!--{{subst:ItemstatsRaceALL}} {{subst:ItemstatsClassALL}} {{subst:ItemstatsALLALL}} -->
| class1       =
| class2       =
| class3       =
| class4       =
| class5       =
| class6       =
| class7       =
| class8       =
| class9       =
| class10      =
| class11      =
| class12      =
| class13      =
| class14      =
| class15      =
| race1        =
| race2        =
| race3        =
| race4        =
| race5        =
| race6        =
| race7        =
| race8        =
| race9        =
| race10       =
| race11       =
| race12       =
| race13       =
| race14       =
| race15       =
| }}

Special Use notes

  • In order to display ALL for Race or Class, all parameters must be properly filled in. This can be done manually or using {{ItemstatsALLALL}}, {{ItemstatsClassALL}} or {{ItemstatsRaceALL}} as subst: templates. {{subst:ItemstatsRaceALL}} for example. It saves the fingers, but they can still be typed in manually.
  • In order to show "Instant" for effectcast, just use 0.
  • Do not use all caps for slots and size.
  • Do use all caps for race and class abbreviations.

How the variables effect layout

Note: This is a visual example only and does not reflect the actual template code. This section is not kept up-to-date with some newer additions to the template, but should cover the basic elements well.

{{{container}}} '''Container:''' CLOSED/OPEN<br />
{{{flagmagic}}} [MAGIC ITEM] {{{flaglore}}} [LORE ITEM] {{{flagfac}}} [FACTION BOUND] {{{flagnodrop}}} [NO DROP] {{{flagnorent}}} [NO RENT] {{{flagboe}}} [BIND ON EQUIP] {{{flagpristine}}} [PRISTINE] {{{flagaug}}} [AUGMENTATION]<br />
'''Slot''': {{{slot1}}} {{{slot2}}} {{{slot3}}} {{{slot4}}} {{{slot5}}} {{{slot6}}} {{{slot7}}} {{{slot8}}} {{{slot9}}} {{{slot10}}} {{{slot11}}} {{{slot12}}} {{{slot13}}} {{{slot14}}} {{{slot15}}} {{{slot16}}}<br />
'''Augmentation Type:''' {{{augtype}}}<br />
{{{ammonote}}} '''Note: Ammo slot stats are not counted ''' <br />
{{{book}}} '''The Book is closed. ''' <br />
{{{note}}} '''The Note is rolled up. '''<br />
{{{charges}}} {{{chargecast}}}<br />
'''Skill:''' {{{skill}}} '''Atk Delay:''' {{{atkdelay}}}<br />
'''DMG:''' {{{dmg}}} '''AC:''' {{{ac}}}<br />
{{{tradeskilled}}}<br />
'''Instrument Modifier:''' {{{insttypemod}}} {{{instmod}}}<br />
'''Focus Effect:''' {{{focuseffect}}}<br />
'''{{{spdmgtype}}} DMG:''' {{{spdmgnum}}}<br />
'''Bane DMG {{{banedmgmod}}}:''' {{{banedmgnum}}}<br />
'''Effect:''' {{{effect}}} ({{{effectflag}}}, {{{effectcast}}})<br />
'''Skill Mod:''' {{{skillmod}}} {{{skillmodnum}}}<br />
'''STR:''' {{{str}}} '''DEX:''' {{{dex}}} '''STA:''' {{{sta}}} '''CHA:''' {{{cha}}} '''WIS:''' {{{wis}}} '''INT:''' {{{int}}} '''AGI:''' {{{agi}}} '''HP:''' {{{health}}} '''MANA:''' {{{mana}}}<br />
'''SV FIRE:''' {{{svfire}}} '''SV DISEASE:''' {{{svdisease}}} '''SVCOLD:'''{{{svcold}}} '''SVMAGIC:''' {{{svmagic}}} '''SVPOISON:''' {{{svpoison}}}<br />
'''Flowing Thought:''' {{{flowingthought}}}<br />
'''Damage Reduction:''' {{{dmgreduction}}}<br />
'''Mind Shield:''' {{{mindshield}}}<br />
'''Spell Ward:''' {{{spellward}}}<br />
'''Aggression:''' {{{aggression}}}<br />
'''Stun Resist:''' {{{stunresist}}}<br />
'''Critical Strike:''' {{{critstrike}}}<br />
This is a {{{meal}}}.<br />
'''Required Level of {{{reqlvl}}}. Recommended level of {{{reclvl}}}.'''<br />
'''WT:''' {{{wt}}} '''Range:''' {{{range}}} '''Size:''' {{{size}}}<br />
'''Capacity:''' {{{cap}}} '''Size Capacity:''' {{{sizecap}}<br />
'''Class:''' {{{class1}}} {{{class2}}} {{{class3}}} {{{class4}}} {{{class5}}} {{{class5}}} {{{class6}}} {{{class7}}} {{{class8}}} {{{class9}}} {{{class10}}} {{{class11}}} {{{class12}}} {{{class13}}} {{{class14}}} {{{class15}}}<br />
'''Race:''' {{{race1}}} {{{race2}}} {{{race3}}} {{{race4}}} {{{race5}}} {{{race6}}} {{{race7}}} {{{race8}}} {{{race9}}} {{{race10}}} {{{race11}}} {{{race12}}} {{{race13}}} {{{race14}}} {{{race15}}}<br />
'''Slot 1''' type {{{augslot1}}}: empty<br />
'''Slot 2''' type {{{augslot2}}}: empty<br />

All parameters = 1

In this example, all 175 parameters shown in the first example =1.


Template:Itemstats
 
Sources

1, 1

Type 1
Summoned by 1
Quest reward for 1
1
Quest item for 1
1
Key to open 1
Chest key to open 1
Gate neck to 1
Zone(s) 1
1

1
Dropped by 1
Dropped by
1 in Unknown zone 
1 in Unknown zone 
1 in Unknown zone 
Bought by merchants for 1
Sold by merchants for 1
Used in the Tradeskill(s) 1
1
Resists SvC: 1 SvF: 1 SvM: 1 SvD: 1 SvP: 1 
Advanced Item Effects FT:DR:MS:SW:AG:SR:CS:
Ratio 1 - 2 ( 2 - 3 vs 1 )
2 - 3 ( 3 - 4 vs 1 ) Expable ratio
Skill 1
Skill Mod 1 1
Instrument type 1
1 Modifier +0%
Bane Damage Bane DMG 1 +1
Elemental Damage 1 DMG +1
Haste 1
Focus Effect 1
Effects 1
Lore 1
1 Recipe (1)
1
Rarity 1
See also Text
See also [[../]]
Stacks
Expable Item
Growth Rate per Level 1
Total Growth Levels 1
Growth Experience 1 base exp per level
1 exp total
Container: CLOSED/OPEN
[MAGIC] [LORE] [FACTION BOUND] [NO DROP] [NO RENT] [BIND ON EQUIP] [AUGMENTATION]
Augmentation Type: 1
Note: Ammo slot stats are not counted.
The Book is closed.
The Note is rolled up.
Charges: 1 (1)
Level Needed:: 1(1) 1(1) 1(1) 1(1) 1(1) 1(1) 1(1) 1(1) 1(1) 1(1) 1(1) 1(1) 1(1) 1(1) 1(1)
Skill:Atk Delay:
Mana Cost: 1
DMG:(2) AC:(2) 
This item is made with tradeskills.
Instrument Modifier: 1 (1)  (1.2) 
Focus Effect: 1
1 DMG: 1
Bane DMG 1:(2) 
Effect: 1 1 (1, 1)
Skill Mod: 1 1
STR:(2) STA:(2) AGI:(2) DEX:(2) WIS:(2) INT:(2) CHA:(2) HP:(2) MANA:(2) 
SV MAGIC:(2) SV FIRE:(2) SV COLD:(2) SV POISON:(2) SV DISEASE:(2) 
Flowing Thought: 1
Damage Reduction: 1
Mind Shield: 1
Spell Ward: 1
Aggression: 1
Stun Resist: 1
Critical Strike: 1
This is a 1.
Required Level of 1. Recommended level of 1. 
WT:Weight Reduction:Range:Size: 1 
Capacity:Size Capacity: 1

Restrictions -
Slot: 1 1 1 1 1 1 1 1 1 
1 1 1 1 1 1 1 1 1 
Class:
Race: ALL
Slot 1 type 1: empty
Slot 2 type 1: empty

No text found.      

Actual item example

Infobox information not included


Template:Itemstats
Source
Not specified
Type Equipment
Resists SvM: +15 SvD: +25 
Advanced Item Effects MS: +5% 
Elemental Damage Disease DMG +6
Focus Effect Affliction Enhancement VII
  • 1: Increase Spell Damage from Damage over Time spells by 21%

Effects Item effect may have diminished potency.
Spell: Spear of Plague
Single target, Instant, Detrimental

  • 1: Decrease Hit Points by 400
[MAGIC] [LORE] [NO DROP] 
Slot: Hands 
AC: 20 
Focus Effect: Affliction Enhancement VII
Disease DMG: 6
Effect: Spear of Plague (Combat, 0.3)
STR: +10 STA: +10 AGI: +15 DEX: +15 WIS: +10 HP: +170 MANA: +125 
SV MAGIC: +15 SV DISEASE: +25 
Mind Shield: +5%
WT: 0.8 Size: Small 
Class: MNK BST 
Race: ALL
    

 


Parameter descriptions

Infobox

name

This value defaults to page name when not included. This is normally {{subst:PAGENAME}}, unless dealing with subpages.
This is generally reserved for items on subpages (those that have shared names, faction versions, etc.)

image

Image #. If image is not availble, add {{missing image}} above this template.
Sysops have access to an image-finding utility.

source

source2-30. If Ground Spawn or Foraged are used, they MUST be in either source, source2, or source3!

These are the entries generally used for this parameter:

  • [[:Category:Staff Gifts|Staff Gift]]
  • [[GM-Only Items|GM-Only Item]]
  • Not Defined (be sure to {{stub}} this page)
  • [[Donator Items]]
  • Merchant
  • [[Loot]]
  • Quest
  • Starter
  • Tradeskill - [[Tailoring]] for example
  • [[source|Summoned]]
  • [[Forage]]d
  • Ground Spawn
  • [[Fame Point Rewards|Fame Point Reward]]
  • [[Special events|EVENTNAME]] - Add category Category:Special event items at the bottom of the article

type

This will need to be defined for Fish, Alcohol, Poison, Potion, Clicky Equipment, Clicky.
This variable shouldn't be included if meal, questitem, collector, tradeskillsupply, or slots (unless the item isn't equipment) is defined

cap

Capacity
This parameter only applies when type = Container

sizecap

Size Capacity
This parameter only applies when type = Container

wtreduc

Weight Reduction
This parameter only applies when type = Container

loc

Location
This parameter only applies when source = Ground Spawn
Coordinates in parenthesis are preferred, with a possible short description

respawn

Respawn
This parameter only applies when source = Ground Spawn
The amount of time it takes for a ground spawn item to respawn

merchbuy

Amount merchant pays to buy this item

merchsell

Amount merchant charges to sell this item

trivial

Skill level at which creating this item becomes trivial (tradeskilled must be defined).

recipe

Recipe used to create this item (this is currently not displayed.)

summoned

Effect/Spell which summons this item. (Do not list other items. List the EFFECT)

mob

No autolink
Used for unlinked mobs description (ie, various gnolls). Use this sparingly. It sucks and is not awesome.

mob1-30

THESE PARAMETERS AUTO LINKS
Mob names that drop the item.
Names must match exactly. Mundane names (those starting with a or an must use A or An.
[[Loot]] source only.
Automatically pulls zone info from NPC page, so if the wrong zones are showing up check that NPC's page!

questreward1-30

THIS PARAMETER AUTO LINKS
Name of quest this item comes from

questitem1-30

THIS PARAMETER AUTO LINKS
Name of quest this item comes from

tradeskillsupply1-10

THIS PARAMETER AUTO LINKS
If this item is used in tradeskills as a supply

tradeskillsupply1-10

THIS PARAMETER AUTO LINKS
If this item is used in tradeskills as a supply

instrument

THIS PARAMETER AUTO LINKS
Possible parameters
  • Wind
  • String
  • Percussion
  • Brass

reagent1-30

THIS PARAMETER AUTO LINKS
Spells that use this item as a reagent.
If reagent1 is defined, adds Category:Reagents

haste

  1. % of haste. Just include the #, the % sign is added automatically.

rarity

the rarity of this item being dropped
Always, Common, Uncommon and Rare are the only acceptable inputs for this parameter.
Always - this usually applies to certain quest items. This item is ALWAYS dropped.
Common - often drops (~50-99% of the time)
Uncommon - does not drop often (~15-50%)
Rare - almost never, or has never, dropped. (~15-1%)

pristine

NO LONGER USED
Pristine stats are now automatically generated inline.

factionbound

THIS PARAMETER AUTO LINKS
Yse the name of faction type to include a subpage for factionbound stats. Use this only when factiobound stats are immediately available

text

THIS PARAMETER AUTO LINKS
Simply use 1 to include a subpage for a book's text. Use this only with books and notes, when text available.

regular

THIS PARAMETER AUTO LINKS
Simply use 1 to include a subpage for normal stats. This should be used on items with subpages (Factionbound)

stacks=

Simply use 1 to display that an item stacks.