Difference between revisions of "Template:Item"

From Project Alfheim Wiki
Jump to navigation Jump to search
alfheim>Resplendent
 
(Created page with "<includeonly> {| [[File:{{{id}}}.png]] | {{{name}}}] |}</includeonly>")
Line 1: Line 1:
<includeonly>{{plainlink |url={{database}}/item-info/{{#sub: {{{id}}}|0|{{#pos:{{{id}}}| }}}}/ {{#sub:{{{id}}}|{{#pos:{{{id}}}| }}}}}}</includeonly><noinclude>==Description==
+
<includeonly> {| [[File:{{{id}}}.png]] | {{{name}}}] |}</includeonly>
This template serves the purpose of shortening linkings to [{{database}}/item-info/ iRO Wiki Pre-Renewal DB View Item] for the ease of article overview when editing and consistency.
 
 
 
====Usage====
 
<nowiki>{{item |id=</nowiki>''<id>''<nowiki> </nowiki>''<name>''<nowiki>}}</nowiki>
 
 
 
{| class="wikitable"
 
! Example !! Output
 
|-
 
| <nowiki>{{item |id=7015 Memory Bookmark}}</nowiki>
 
|| {{item |id=7015 Memory Bookmark}}
 
|}
 
 
 
====Fields====
 
{| class="wikitable" style="text-align: left"
 
| id || The ID of the item as seen in the itemdesctables.
 
|-
 
| name || The text to appear in the link.
 
|}
 
 
 
==See Also==
 
*[[Template:Map]]
 
*[[Template:Monster]]
 
*[[Template:Item List]]
 
 
 
[[Category:Templates|Item]]
 
</noinclude>
 

Revision as of 04:55, 6 January 2022