Difference between revisions of "Template:Item"

From Project Alfheim Wiki
Jump to navigation Jump to search
m (1 revision imported)
 
(5 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly> {Item | [[File:{{{id}}}.png]] | {{{name}}}] |}</includeonly>
+
<includeonly>{{plainlink |url={{database}}item_db&ird=1&item_id={{#sub: {{{id}}}|0|{{#pos:{{{id}}}| }}}} {{#sub:{{{id}}}|{{#pos:{{{id}}}| }}}}}}</includeonly><noinclude>==Description==
 +
This template serves the purpose of shortening linkings to the [{{database}}item_db&ird=1&item_id= RMS Item DB] 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 Bookclip in Memory}}</nowiki>
 +
|| {{item |id=7015 Bookclip in Memory}}
 +
|}
 +
 
 +
====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>

Latest revision as of 00:15, 17 February 2023

Description

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

Usage

{{item |id=<id> <name>}}
Example Output
{{item |id=7015 Bookclip in Memory}} Bookclip in Memory

Fields

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

See Also