Difference between revisions of "Template:ItemDisplay"
m (Should be complete now!) |
(Formal) |
||
Line 103: | Line 103: | ||
Source: | Source: | ||
<nowiki>{{ItemDisplay</nowiki>|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}} | <code><nowiki>{{ItemDisplay</nowiki>|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}}</code> | ||
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. | 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. |
Revision as of 04:42, 6 March 2014
Purpose
To display an array of items and item types with links to external sites.
Use
Use varies by the item type:
Normal Item
|
|
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.
- IMAGE
- End of Image URL. If you'd like to link to http://images.neopets.com/items/codestone10.gif, for example, you'd simply fill this section with codestone10.gif.
- 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.
Wearble Item
|
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.
- IMAGE
- End of Image URL. If you'd like to link to http://images.neopets.com/items/codestone10.gif, for example, you'd simply fill this section with codestone10.gif.
- 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.
- TDNID
- Item ID on The Daily Neopets' Customization section. For instance, if you wished to link to http://customize.thedailyneopets.com/index.php/itemdb/find/12246, then you'd fill this section with 12246.
- DTIID
- Item ID on Dress to Impress. If, say, you wanted to link to http://impress.openneo.net/items/69677-Shamrock-Shield, then you'd put 69677-Shamrock-Shield in this section.
Battledome Items
|
|
Source:
{{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.
- image
- End of Image URL. If you'd like to link to http://images.neopets.com/items/codestone10.gif, for example, you'd simply fill this section with codestone10.gif.
- 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.
- IDBID
- In-Depth Battlepedia ID. For instance, if you wanted to link to http://battlepedia.jellyneo.net/?go=showweapon&id=3238, then you'd fill this section with 3238.
- TDNWeapID
- TDN Battlepedia ID. For example, if you wanted to link to http://battlepedia.thedailyneopets.com/index.php/weapon/viewweap/3025, then you'd fill this section with 3025.
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:
|
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:
|
|
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)
|
Source:
{{ItemDisplay|wearable=yes|IMAGE=mall_floatingneggfaerie.gif|name=Floating Negg Faerie Doll|JNID=25303|TDNID=1488|DTIID=37002-Floating-Negg-Faerie-Doll|NC=150}}
- NC
- The item's most recent value in Neocash (Temporary Discount excluded). If no such value exists, there is no reason to use this field. (No need to type "NC" - This is built in. The numerical value is needed only)