Editing Template:Item List

From Project Einherjar

Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.

The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision Your text
Line 1: Line 1:
<includeonly>[[File:{{{id}}}s.png]] {{{num}}} {{{item|{{{id}}}|{{{item}}}}}}
 
</includeonly><noinclude>__NOTOC__
 
  
{{{#ifexpr: 0 = 0 and 1 = 0 | Logic Fail | Logic Pass}}}
 
 
If Statement Documentation, too tired for this<br>
 
https://www.mediawiki.org/wiki/Help:Extension:ParserFunctions#.23if
 
 
 
 
 
 
 
 
== Description ==
 
The purpose of this template is to link an item, complete with icon.
 
 
''Note: The correct capitalization is '''I'''tem '''L'''ist. Do not forget the second capitalized letter!''
 
 
=== Usage ===
 
<pre>
 
{{Item List |id=<id> |item=<name>}}
 
{{Item List |id=<id> |item=<name> |num=<num>}}
 
{{Item List |id=<id> |item=<name> |slots=<slots>}}
 
</pre>
 
 
{| class="wikitable"
 
! Example !! Output
 
|-
 
| <code><nowiki>{{Item List |id=2285 |item=Apple of Archer |num=1}}</nowiki></code>
 
| {{Item List |id=2285 |item=Apple of Archer |num=1}}
 
|-
 
| <code><nowiki>{{Item List |id=914 |item=Fluff |num=3}}</nowiki></code>
 
| {{Item List |id=914 |item=Fluff |num=3}}
 
|-
 
| <code><nowiki>{{Item List |id=2229 |item=Helm |slots=1  |num=1}}</nowiki></code>
 
| {{Item List |id=2229 |item=Helm |slots=1 |num=1}}
 
|-
 
| <code><nowiki>{{Item List |id=1550 |item=Book |slots=3 |num=2}}</nowiki></code>
 
| {{Item List |id=1550 |item=Book |slots=3 |num=2}}
 
|}
 
 
=== Fields ===
 
{| class="wikitable"
 
! id
 
| The ID of the item as seen in the itemdesctables.
 
|-
 
! item
 
| The name of the item to be used and displayed.
 
|-
 
! num
 
| The number of the item
 
|-
 
! slots
 
| The number of slots in the item
 
|}
 
 
== See Also ==
 
* [[Template:Monster]]
 
* [[Template:Item]]
 
 
[[Category:Templates]]
 
</noinclude>
 

Please note that all contributions to Project Einherjar may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see Project Einherjar:Copyrights for details). Do not submit copyrighted work without permission!

Cancel Editing help (opens in new window)

Template used on this page: