Difference between revisions of "Template:Item"

From Project Einherjar
 
(5 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly>[{{database}}{{{1}}} {{{2}}}]</includeonly><noinclude>__NOTOC__
+
<includeonly>{{Icons}}{{{1}}}.png [{{database}}item&action=view&id={{{1}}} {{{2}}}]</includeonly><noinclude>__NOTOC__
 +
 
  
  
 
==Description==
 
==Description==
 
This template serves the purpose of shortening linkings to the [http://home.projecteinherjar.com/fluxcp/?module=item Database View Item] for the ease of article overview when editing and consistency.
 
This template serves the purpose of shortening linkings to the [http://home.projecteinherjar.com/fluxcp/?module=item Database View Item] for the ease of article overview when editing and consistency.
 
+
<br>
[https://irowiki.org/wiki/Template:Item Test]
 
 
 
 
====Usage====
 
====Usage====
  <nowiki>{{item |id=</nowiki>''<id>''<nowiki> </nowiki>''<name>''<nowiki>}}</nowiki>
+
  <nowiki>{{item|</nowiki>''<id>''<nowiki>|</nowiki>''<name>''<nowiki>}}</nowiki>
 
+
<br>
 
{| class="wikitable"
 
{| class="wikitable"
 
  ! Example !! Output
 
  ! Example !! Output
Line 16: Line 15:
 
|| {{item|716|Red Gemstone}}
 
|| {{item|716|Red Gemstone}}
 
|}
 
|}
 
+
<br>
 
====Fields====
 
====Fields====
 
{| class="wikitable" style="text-align: left"
 
{| class="wikitable" style="text-align: left"
Line 25: Line 24:
  
 
==See Also==
 
==See Also==
*[[Template:Map]]
 
 
*[[Template:Monster]]
 
*[[Template:Monster]]
*[[Template:Item List]]
 
  
 
[[Category:Templates|Item]]
 
[[Category:Templates|Item]]
 
</noinclude>
 
</noinclude>

Latest revision as of 16:37, 5 June 2023



Description[edit]

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

Usage[edit]

{{item|<id>|<name>}}


Example Output
{{item|716|Red Gemstone}} 716.png Red Gemstone


Fields[edit]

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

See Also[edit]