template:DNAItem  

Usage: {{DNAItem|name|alt_name|dna_id_number|rarity|m=|hm=|el=}}

Use this to make a link in the wiki to an item in the DNArmory database.

IF dna_id_number is blank then name is used for an Item Search.

If at least one of m=, hm= or el= are not used the link will be to the base item only.

m=id_number

(optional) if defined, this is used to add the "?m=" value to the URL so it can link correctly to a crafted version of a base item, like "Skeleton Gauntlet" vs. "Skeleton Gauntlet (Brutal)"
hm=id_number
(optional) if defined, this is used to add the "?hm=" value to the URL for hidden potentials
el=enhance_level
(optional) if defined, this is used to add the "?el=" value to the URL for the Enhance Level. enhance_level is a number from 1 to 20.

rarity can be Normal, Magic, Rare, Epic or Unique (or White, Green, Blue, Orange or Purple). Case is insensitive. Normal (White) is the default. This is done with a little class magic, using dn-q1 to dn-q5. Dragon Nest has no Grey items. See Rarity for more information. Note: On the www.zam.com skin Normal (White) is actually shown as Black since the background is white.

Example

Of course, you could just put the exact RIL from DNArmor on your page, but that would not color the link to match the rarity. Other than that, though, it does seem simpler...


Need help understanding Bludwyng's documentation style? See Bludwyng's Guide to Using Templates!


Tytania
The Relentless
Fae Wizard
Lucan D'Lere
EverQuest II
This template was created or is maintained by
Bludwyng
All the power in the universe in a small, flaming fairy package.

This page last modified 2011-09-10 16:22:22.