Difference between revisions of "Template:Item"

From Project Einherjar
Line 1: Line 1:
<includeonly>[[File:{{{1}}}s.png]][{{database}}{{{1}}} {{{2}}}]</includeonly><noinclude>__NOTOC__
+
<includeonly>[[File:{{{1}}}s.png]][{{database}}{{{1}}} {{{2}}} {{slots}}]</includeonly><noinclude>__NOTOC__
 +
 
 +
 
 +
 
  
 
==Description==
 
==Description==
Line 12: Line 15:
 
  ! Example !! Output
 
  ! Example !! Output
 
  |-
 
  |-
  | <nowiki>{{item|716|Red Gemstone}}</nowiki>  
+
  | <nowiki>{{item|716|Red Gemstone |slots=3 |num=2}}</nowiki>  
 
|| {{item|716|Red Gemstone}}
 
|| {{item|716|Red Gemstone}}
 
|}
 
|}

Revision as of 21:20, 12 May 2023



Description

This template serves the purpose of shortening linkings to the iW Database View Item for the ease of article overview when editing and consistency.

Test

Usage

{{item |id=<id> <name>}}
Example Output
{{item|716|Red Gemstone |slots=3 |num=2}} 716.png Red Gemstone

Fields

id The ID of the item as seen in the itemdesctables.
name The text to appear in the link.

See Also