Шаблон:ItemInformation/doc

< Шаблон:ItemInformation
Версия от 02:52, 26 марта 2008; Uberfuzzy (обсуждение) (Changes)
(разн.) ← Предыдущая | Текущая версия (разн.) | Следующая → (разн.)

If you are a user and just wanted to know what the information on a particular Item page means, see Help:ItemInformation

Purpose

Template:EquipInformation is for EQUIPABLE items, such as Armor, Weapons, Charms, Bangles, etc.
Template:ItemInformation is for NON-EQUIPABLE items such as Containers, Food, Drink, House Items, Quest items, etc.

Changes

  • 2008-03-25: uberfuzzy - fix related to rsr, re-add RSRTier call, added rcr cat
  • 2008-03-24: uberfuzzy - added rcr field
  • 2008-03-15: uberfuzzy - added code for light field
  • 2008-02-27: uberfuzzy - added code for t9 status items
  • 2008-02-22: uberfuzzy - long time coming redo, similar code and style that was used in EquipInformation. tried to make it a graphical change only, minor changes to fields (bagslots->slots, +capacity, +tier, +icon (for real this time))
  • 2007-11-24: uberfuzzy - if type="House Item", auto insert "This item can be placed in your house" at top of desc box
added some crude icon support, will be better in redo coming soon
  • 2007-11-21: uberfuzzy - if rquest used, do not complain about lack of obtain
  • 11 Oct 2007 - rsr can now accept "?", will link to cat with sort key of ?, but not try to run tier linker
  • 1 Aug 2007 - added rquest, used only when type is Quest Item
  • 9 July 2007 - added spellgrade, used ONLY for spell page & books, or combat arts
  • 20 June 2007 - added aaexp to link to Category:Items that award AA
  • 5 April 2007 - If bagslots is not blank (indicating this is a container) suppress Level and the tier cat link

Parameters

parameter explanation
iname Name of the image file to display (with extension). If blank, the Page Name + .jpg will be used, if not found, will be hidden
idesc (optional) image caption, pagename will be used if iname is set with no idesc, or if auto found
type Item Type is one of: Food, Drink, Quest, House Item, etc (Default: blank) See Category:Item Types for a complete list of Item Types
subtype Item Subtype is one of: Bookcase, Chair, etc (Default: blank) See Category:Item Subtypes for a complete list of Item Subtypes
aaexp If not blank, this item awards Achievement Experience the first time you find one
altname if the pagename is not what you want in the box, or on the item searches, put the REAL name in here. common use is for disambig'd pages
icon filename you want used as icon, will be wrapped in [[Image:{icon}|48x48px]], see Category:Icons
desc the description text

note: if type=House Item, and desc is blank, the text "This item can be placed in your house." will be inserted here

icat One of: blank, Uncommon, Handcrafted, Treasured, Legendary, Mastercrafted, Fabled or Mythical (Default:blank). See also: Category:Items by Rarity

Note: blank will no longer print COMMON, but will still be listed in 'Common Items'

flags may be blank, or have values like LORE, NO-TRADE, NO-VALUE, etc. (Default:blank) forced to uppercase automaticly
level For some items, you MUST be this level or higher to use it, for others you can use it but not to full effect. Suppressed if blank.
satiation What level of satisfaction does this food or drink give? Normal, High or Superior. Use ONLY if type=Food or Drink. No default value!
duration How long do the effects of this food or drink last before you must eat or drink again? Express this as full text, i.e. "3 hours and 20 minutes" or "30 minutes". Use ONLY if type=Food or Drink. No default value!
rsr Rent Status Reduction. If you do not know how much, but know that it does, put "yes" here, else put the amount.
rcr Rent Coin Reduction.
slots How many slots does this bag or box have? Use ONLY if this item is of type: Container.
wtreduce By what percentage does this container reduce the weight of its contents? Use ONLY if this item is of type: Container. Do NOT include the percent sign!
wt The weight of a single item, not a stack (if stackable) (do not unclude wt modifier, "lbs." will be added by template. Suppressed if 0. Blank will give a warning!
capacity like slots, but only for type=Sales Display
rquest Name of quest this item is required by
squest Name of quest this item starts
classes (default: blank) A list of Classes that may use this Item. If you leave classes blank the template will NOT create a link to the item categories for All classes. If you are unsure how to link the class names and categories correctly, just fill in plain text and mark the page with {{wikify|classes}} at the top.
effects A description of any special effects or benefits of the use of this item. please use * bullets to mark it up like the examine windows
obtain Where and/or how to get this item. May be link to a vendor NPC, type of vendor, link to a NPC or link to a Quest. (Default: unknown). When possible, please use one of the following templates in this field!
itemlink The link code, from your log file, that anyone can cut and paste in-game to create a link to the item.
light not included in preloads, please leave blank if not a light item
  • ONLY if (type=House Item)
    • if(light=yes) display "A warm light shines brightly from this finely crafted fixture."
    • if(light=no) display "This ornamental light fixture gives off only a gentle glow."

Calling Code

{{ItemInformation|
 iname    =|
 idesc    =|
 type     =|
 subtype  =|
 aaexp    =|
 altname  =|
 icon     =|
 desc     =|
 icat     =|
 flags    =|
 level    =|
 satiation=|
 duration =|
 rsr      =|
 slots    =|
 wtreduce =|
 wt       =|
 capacity =|
 rquest   =|
 squest   =|
 classes  =|
 effects  =
|
 obtain   =|
 itemlink =|
}}

Substitution

  • Direct: {{subst:ItemInformationEx}}
  • Shortcut: {{subst:IIx}}

If you are a user and just wanted to know what the information on a particular Item page means, see Help:ItemInformation

Purpose

Template:EquipInformation is for EQUIPABLE items, such as Armor, Weapons, Charms, Bangles, etc.
Template:ItemInformation is for NON-EQUIPABLE items such as Containers, Food, Drink, House Items, Quest items, etc.

Changes

  • 2008-03-25: uberfuzzy - fix related to rsr, re-add RSRTier call, added rcr cat
  • 2008-03-24: uberfuzzy - added rcr field
  • 2008-03-15: uberfuzzy - added code for light field
  • 2008-02-27: uberfuzzy - added code for t9 status items
  • 2008-02-22: uberfuzzy - long time coming redo, similar code and style that was used in EquipInformation. tried to make it a graphical change only, minor changes to fields (bagslots->slots, +capacity, +tier, +icon (for real this time))
  • 2007-11-24: uberfuzzy - if type="House Item", auto insert "This item can be placed in your house" at top of desc box
added some crude icon support, will be better in redo coming soon
  • 2007-11-21: uberfuzzy - if rquest used, do not complain about lack of obtain
  • 11 Oct 2007 - rsr can now accept "?", will link to cat with sort key of ?, but not try to run tier linker
  • 1 Aug 2007 - added rquest, used only when type is Quest Item
  • 9 July 2007 - added spellgrade, used ONLY for spell page & books, or combat arts
  • 20 June 2007 - added aaexp to link to Category:Items that award AA
  • 5 April 2007 - If bagslots is not blank (indicating this is a container) suppress Level and the tier cat link

Parameters

parameter explanation
iname Name of the image file to display (with extension). If blank, the Page Name + .jpg will be used, if not found, will be hidden
idesc (optional) image caption, pagename will be used if iname is set with no idesc, or if auto found
type Item Type is one of: Food, Drink, Quest, House Item, etc (Default: blank) See Category:Item Types for a complete list of Item Types
subtype Item Subtype is one of: Bookcase, Chair, etc (Default: blank) See Category:Item Subtypes for a complete list of Item Subtypes
aaexp If not blank, this item awards Achievement Experience the first time you find one
altname if the pagename is not what you want in the box, or on the item searches, put the REAL name in here. common use is for disambig'd pages
icon filename you want used as icon, will be wrapped in [[Image:{icon}|48x48px]], see Category:Icons
desc the description text

note: if type=House Item, and desc is blank, the text "This item can be placed in your house." will be inserted here

icat One of: blank, Uncommon, Handcrafted, Treasured, Legendary, Mastercrafted, Fabled or Mythical (Default:blank). See also: Category:Items by Rarity

Note: blank will no longer print COMMON, but will still be listed in 'Common Items'

flags may be blank, or have values like LORE, NO-TRADE, NO-VALUE, etc. (Default:blank) forced to uppercase automaticly
level For some items, you MUST be this level or higher to use it, for others you can use it but not to full effect. Suppressed if blank.
satiation What level of satisfaction does this food or drink give? Normal, High or Superior. Use ONLY if type=Food or Drink. No default value!
duration How long do the effects of this food or drink last before you must eat or drink again? Express this as full text, i.e. "3 hours and 20 minutes" or "30 minutes". Use ONLY if type=Food or Drink. No default value!
rsr Rent Status Reduction. If you do not know how much, but know that it does, put "yes" here, else put the amount.
rcr Rent Coin Reduction.
slots How many slots does this bag or box have? Use ONLY if this item is of type: Container.
wtreduce By what percentage does this container reduce the weight of its contents? Use ONLY if this item is of type: Container. Do NOT include the percent sign!
wt The weight of a single item, not a stack (if stackable) (do not unclude wt modifier, "lbs." will be added by template. Suppressed if 0. Blank will give a warning!
capacity like slots, but only for type=Sales Display
rquest Name of quest this item is required by
squest Name of quest this item starts
classes (default: blank) A list of Classes that may use this Item. If you leave classes blank the template will NOT create a link to the item categories for All classes. If you are unsure how to link the class names and categories correctly, just fill in plain text and mark the page with {{wikify|classes}} at the top.
effects A description of any special effects or benefits of the use of this item. please use * bullets to mark it up like the examine windows
obtain Where and/or how to get this item. May be link to a vendor NPC, type of vendor, link to a NPC or link to a Quest. (Default: unknown). When possible, please use one of the following templates in this field!
itemlink The link code, from your log file, that anyone can cut and paste in-game to create a link to the item.
light not included in preloads, please leave blank if not a light item
  • ONLY if (type=House Item)
    • if(light=yes) display "A warm light shines brightly from this finely crafted fixture."
    • if(light=no) display "This ornamental light fixture gives off only a gentle glow."

Calling Code

{{ItemInformation|
 iname    =|
 idesc    =|
 type     =|
 subtype  =|
 aaexp    =|
 altname  =|
 icon     =|
 desc     =|
 icat     =|
 flags    =|
 level    =|
 satiation=|
 duration =|
 rsr      =|
 slots    =|
 wtreduce =|
 wt       =|
 capacity =|
 rquest   =|
 squest   =|
 classes  =|
 effects  =
|
 obtain   =|
 itemlink =|
}}

Substitution

  • Direct: {{subst:ItemInformationEx}}
  • Shortcut: {{subst:IIx}}