Difference between revisions of "Template:Item"
Jump to navigation
Jump to search
m (1 revision imported) |
|||
| Line 1: | Line 1: | ||
| − | <includeonly> { | + | <includeonly>{{plainlink |url={{database}}/item-info/{{#sub: {{{id}}}|0|{{#pos:{{{id}}}| }}}}/ {{#sub:{{{id}}}|{{#pos:{{{id}}}| }}}}}}</includeonly><noinclude>==Description== |
| + | This template serves the purpose of shortening linkings to the [{{database}}/item-info/ iW Database 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 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> | ||
Revision as of 20:32, 23 September 2022
Contents
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.
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. |