Difference between revisions of "Template:ItemDisplay"

From NeoDex
Jump to navigation Jump to search
Line 1: Line 1:
http://images.neopets.com/items/{{{IMAGE}}}<br><div style="display: block; width: 140px; word-wrap: break-word;">[{{JNIDBLink|itemID={{{JNID}}}}} <b>{{{NAME}}}]</b></div>
http://images.neopets.com/items/{{{IMAGE}}}<br><div style="display: block; width: 140px; word-wrap: break-word;">[{{JNIDBLink|itemID={{{JNID}}}}} <b>{{{NAME}}}]</b></div></includeonly><noinclude>Purpose:
 
To easily display items of all sorts.
 
<center>---</center>
 
Use:
 
<code><nowiki>{{NCItemDisplay|</nowiki>IMAGE='''image'''|JNID='''Item Database ID'''|NAME='''name'''|NP='''Neopoint Value'''}}</code>
 
*'''IMAGE'''
**The rest of the image url after '/images/. So for example, if you wanted to display [http://images.neopets.com/items/bg_neggs_allabout.gif <nowiki>http://images.neopets.com/items/bg_neggs_allabout.gif </nowiki>] , you simply put in '''bg_neggs_allabout.gif'''.
 
*'''JNID'''
**ID on Jellyneo's Item Database. If you wanted to link to http://items.jellyneo.net/index.php?go=item&showitem=37320 , you'd put '''37320''' in this space.
 
*'''NAME'''
**Item's name. Simply put, you fill this section with the item's name.
 
<center>---</center>
 
Example:
 
If we put in:
 
<code><nowiki>{{NPItemDisplay|IMAGE=bg_neggs_allabout.gif|JNID=37320|NAME=All About Neggs Background}}</nowiki></code>
 
...We'd get:
 
{{NPItemDisplay|IMAGE=bg_neggs_allabout.gif|JNID=37320|NAME=All About Neggs Background}}
 
Understand that this template does not include a function to display [[Neopoint]] or [[Neocash]] values. If you wish to do so, then use [[Template:NPItemDisplay]] and [[Template:NCItemDisplay]] respectively.
 
<center>---</center>
 
{{WhatLinksHere|prefix=Template:|type=template}}
 
[[Category:Templates/Media]]</noinclude>

Revision as of 22:20, 5 March 2014

http://images.neopets.com/items/{{{IMAGE}}}

{{{NAME}}}

</includeonly>Purpose:

To easily display items of all sorts.

---

Use:

{{NCItemDisplay|IMAGE=image|JNID=Item Database ID|NAME=name|NP=Neopoint Value}}

  • NAME
    • Item's name. Simply put, you fill this section with the item's name.
---

Example:

If we put in:

{{NPItemDisplay|IMAGE=bg_neggs_allabout.gif|JNID=37320|NAME=All About Neggs Background}}

...We'd get:

bg_neggs_allabout.gif
{{{NP}}} NP

Understand that this template does not include a function to display Neopoint or Neocash values. If you wish to do so, then use Template:NPItemDisplay and Template:NCItemDisplay respectively.

---
>Pages that use this template<