Difference between revisions of "Template:Item"
From LeikaRO wiki
(Created page with "|<noinclude> This is an auxiliary template allowing to encode "<code>|</code>" within template and parser function parameters. To get the symbol in final output this template...") |
|||
Line 1: | Line 1: | ||
− | |<noinclude> | + | <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]] | |
− | + | ||
− | + | ||
− | [[Category:Templates| | + | |
</noinclude> | </noinclude> |
Revision as of 06:04, 3 December 2014
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. |