Template:ItemDisplay

From NeoDex
Revision as of 04:34, 6 March 2014 by Puma (talk | contribs)
Jump to navigation Jump to search


Purpose

To display an array of items and item types with links to external sites.

Use

Use varies by the item type:

Normal Item

gar_jhudora_statue.gif
Jhudora Statue
JellyneoItemDB_favicon.png


Source:

{{ItemDisplay|normal=yes|IMAGE=gar_jhudora_statue.gif|name=Jhudora Statue|JNID=22015}}

  • normal
  • This lets the item display know this is a "normal" item. It should be set to yes.
  • name
  • Pretty basic, the item's name goes here.

Wearble Item

mall_ac_altador_teamhat.gif
Altador Team Hat
JellyneoItemDB_favicon.png Tdn_customisation_favicon.png

Impress_favicon.png
JellyneoWardrobe_favicon.png

Source:

{{ItemDisplay|wearable=yes|IMAGE=mall_ac_altador_teamhat.gif|name=Altador Team Hat|JNID=43929|TDNID=6863|DTIID=56654-Altador-Team-Hat}}

  • wearable
  • This lets the item display know this is a "wearable" item. It should be set to yes.
  • name
  • Pretty basic, the item's name goes here.
  • JNID
    • Item's ID on Jellyneo's Item Database. If you'd like to link to http://items.jellyneo.net/index.php?go=item&showitem=509, for example, then you'd fill this section with 509. This defines both the Item DB and Wardrobe URL. As both share the same IDs, this only has to be done once.

Battledome Items

eliv_thade_sword.gif
Sword of Skardsen
JellyneoItemDB_favicon.png Tdn_battlepedia_favicon.png Jellyneo_idb_favicon.png


Source:

{{ItemDisplay|weapon=yes|IMAGE=eliv_thade_sword.gif|name=Sword of Skardsen|JNID=674|IDBID=1586|TDNWeapID=1863}}

{{ItemDisplay|weapon=yes|IMAGE=eliv_thade_sword.gif|name=Sword of Skardsen|JNID=674|IDBID=1586|TDNWeapID=1863}}

  • weapon
  • This lets the item display know this is a "weapon". It should be set to yes.
  • name
  • Pretty basic, the item's name goes here.

Combing the Three

It's possibly to combine the three of these item types to create a "hybrid" item display template. However, there is no need to put in the "normal" setting, as this is already built into "wearable" and "weapon" by default. Attempting the mix them will result in something along the line of the following:

---
eliv_thade_sword.gif
Sword of Skardsen
JellyneoItemDB_favicon.png Tdn_customisation_favicon.png Tdn_battlepedia_favicon.png Jellyneo_idb_favicon.png

Impress_favicon.png
JellyneoWardrobe_favicon.png

Source:

{{ItemDisplay|weapon=yes|wearable=yes|IMAGE=eliv_thade_sword.gif|name=Sword of Skardsen|JNID=674|IDBID=1586|TDNWeapID=1863|TDNID=6863|DTIID=56654-Altador-Team-Hat}}

It's worth noting that no such item that functions as both a wearable and weapon exist (Therefore the above links are incorrect), however the ability to combine the two functions here have been made possible just in case.

Also, when hovering over the Jellyneo Item Database Icon, it will always refer to the object as "Wearable".

Neopoint and Neocash Values

In addition, it is possible to display both Neopoint and Neocash values with item, utilizing an optional setting:

eliv_thade_sword.gif
Sword of Skardsen
9,000,000 NP
JellyneoItemDB_favicon.png Tdn_battlepedia_favicon.png Jellyneo_idb_favicon.png


Source:

{{ItemDisplay|weapon=yes|IMAGE=eliv_thade_sword.gif|name=Sword of Skardsen|JNID=674|IDBID=1586|TDNWeapID=1863|NP=9,000,000}}

  • NP
  • The item's Neopoint Value (Not user defined, but rather estimated cost or anything else appropriate). If no such value exists, or if there is no need to put in a value, then there is no need to use this field. (No need to type "NP" - This is built in. The numerical value is needed only)
---
mall_floatingneggfaerie.gif
Floating Negg Faerie Doll
150 NC
JellyneoItemDB_favicon.png Tdn_customisation_favicon.png

Impress_favicon.png
JellyneoWardrobe_favicon.png

>Pages that use this template<