From Lotro-Wiki.com
Usage
Please see talk page for the easy to use template for copy and pasting...
Documentation
The template creates a LOTRO styled tooltip for items; you can supply any number of the named parameters to display specific text in the tooltip.
Required Minimal Syntax
Begin all item-page tooltips with the following three lines:
{{tooltip
| mode={{{mode|}}}
| arg={{{arg|}}}
The template parameters displayed here are required to enable item pages interact with other consumers of tooltip data, and do not change from page to page.
Named parameters
- |icon=
- icon to display; omit Image: and file extension (.png); passed to {{icon}}. Exact page/icon name (not {{PAGENAME}}) is required here to avoid issues with names containing diacritics and apostrophs.
- |stack=
- stack size for stackable items; passed to {{icon}}.
- |name=
- item name, as it appears in game. Exact page name (not {{PAGENAME}}) is required here to avoid issues with names containing diacritics and apostrophs.
- |disambigpage=
- name of LOTRO-Wiki page for this item. Leave this field as it is...
- |quality=
- item quality, passed to {{quality}} to generate formatted item name.
- |unique=
- unique items, put anything in this field to show "Unique" in right corner.
- |bind=
- binding type: BoE, BoU or BoA.
- |qitem=
- used to denote quest items, please provide a questname in this field. A link to quest will be generated automaticly.
- |qbegin=
- used to denote items that start a quest; provide the name of the quest this should link to, link will be generated automaticly.
- |dye=
- used to denote default dye colour of the item.
- |consumed=
- used for food and potions, anything in this field will add "Consumed on Use" to tooltip
- |indestructible=
- used to denote indestructible items, anything in this field will add "Cannot Be Destroyed" to tooltip
- |deco-slot=
- used to denote housing decoration items, will put an item into proper decoration category.
- |cosmetic=
- used to denote cosmetic items, anything in this field will add "Cosmetic" to tooltip.
- |type=
- item type ("Axe", "Two-Handed Sword", "Staff"...)
- |slot=
- item slot ("Ranged", "Chest", "Hands"...) Add only if it's used in the item tooltip ingame...
- |off-hand=
- used to denote an off-hand item, anything in this field will add "Off-hand" to tooltip.
- |armour=
- ammount of the armour item grants to the wearer.
- |dmg=
- basic weapon damage, provide a range ("13 - 17").
- |dmgtype=
- basic weapon damage type ("Fire", "Beleriand"...), omit if common.
- |dps=
- weapon dps. Provide once decimal.
- |speed=
- weapon speed.
- |bonus=
- bonus weapon damage, ("+9 Damage").
- |bonustype=
- bonus weapon damage type (to the Dead).
- |attrib=
- item's attributes. List all stat bonuses, delimit individual bonuses with
<br /> (+6 Vitality<br />+3 Will).
- |use=
- Provide here details on the items on-use-effect...
- |duration=
- Provide here duration of the items on-use-effects...
- |max_duration=
- Provide here maximum duration of the items on-use-effects (some of the new Forochel items seem to have max duration instead of normal one)...
- |skilltype=
- Provide a type of the skill that an items on-use-effect has (melee/tactical/...), only use if shown on ingame tooltip.
- |resistance=
- Provide a type of resistance that the items on-use-effect has (cry/song/...), only use if shown on ingame tooltip.
- |range=
- Provide the range that the items on-use-effect has.
- |maxtargets=
- Provide maximum ammount of targets that the items on-use-effect has.
- |radius=
- Provide here the radius of the items on-use-effects.
- |cooldown=
- Provide here a cooldown of the items on-use-effects.
- |durability=
- items maximum durability (numeric).
- |dur_class=
- items durability class (brittle/normal/...).
- |characteristic=
- characteristic required for the use of the item.
- |prof=
- Profession required for the use of the item (eg: Taloring).
- |proficiency
- = Proficiency required for the use of the item, it will be shown after profession, eg: Tailoring (Master).
- |virtue
- = Virtue required for the use of the item, eg: Honesty (Rank 5).
- |race=
- race(s) the item is usable by, comma-delimited.
- |level=
- numeric value of the minimum level required to use this item.
- |maxlevel=
- numeric value of the maximum level required to use this item.
- |gloryrank=
- numeric value of the freep rank required to use this item.
- |infamyrank=
- numeric value of the creep rank required to use this item.
- |faction=
- faction name required to use this item (used together with |standing=).
- |standing=
- faction reputation standing required to use this item (used together with |faction=).
- |class=
- class the item is usable by.
- |summonee=
- use for captains summoning horn, to show the rations requirement. Put anything here to show it on tooltip.
- |flavor =
- item's description text, without quotes (which are added by the template).
- |sell=
- price for which this item is purchased by NPCs (use {{worth}}).
- |vendor=
- price for which this item may be bought from an NPC (use {{worth}}).
- |set=
- item's set name.
- |setpc=
- number of items in the item's set.
- |setpage=
- set's LOTRO-Wiki page name, if different from set name.
- |float= automatic
- left/right, tooltip float location, defaults to right on item's own page, left elsewhere.
- |width= automatic
- tooltip width, defaults to 18em.
|