Difference between revisions of "Template:ItemDisplay"

From NeoDex
Jump to navigation Jump to search
(Forgot to center.)
(the new bditem template should be compatible with the existing itemdisplay calls (will double check this and revert if it breaks something))
 
(47 intermediate revisions by 3 users not shown)
Line 1: Line 1:
<includeonly><center>http://images.neopets.com/items/{{{IMAGE}}}<br><div style="display: block; width: 140px; word-wrap: break-word;">[{{JNIDBLink|itemID={{{JNID}}}}} <b>{{{NAME}}}]</b></div></center></includeonly><noinclude>Purpose:
#REDIRECT [[Template:Bditem]]
 
To easily display items of all sorts.
 
<center>---</center>
 
Use:
 
<code><nowiki>{{ItemDisplay|</nowiki>IMAGE='''image'''|JNID='''Item Database ID'''|NAME='''name'''}}</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>{{ItemDisplay|IMAGE=bg_neggs_allabout.gif|JNID=37320|NAME=All About Neggs Background}}</nowiki></code>
 
...We'd get:
 
{{ItemDisplay|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>

Latest revision as of 10:56, 4 June 2017

Redirect to: