Difference between revisions of "Template:ItemDB"
From JellyRO Wiki
(Created page with "<includeonly>{{plainlink|url={{ItemDBLink}}/item-info/{{#sub: {{{id}}}|0|{{#pos:{{{id}}}| }}}}/ {{#sub:{{{id}}}|{{#pos:{{{id}}}| }}}}}}</includeonly> <noinclude>==Description...") |
|||
Line 1: | Line 1: | ||
− | <includeonly>{{plainlink|url={{ItemDBLink}} | + | <includeonly>{{plainlink|url={{{ItemDBLink}}}{{{ItemID}}}}}</includeonly> |
<noinclude>==Description== | <noinclude>==Description== | ||
Line 5: | Line 5: | ||
====Usage==== | ====Usage==== | ||
− | <nowiki>{{ | + | <nowiki>{{itemDB |id=</nowiki>''<id>''<nowiki> </nowiki>''<name>''<nowiki>}}</nowiki> |
{| class="wikitable" | {| class="wikitable" | ||
! Example !! Output | ! Example !! Output | ||
|- | |- | ||
− | | <nowiki>{{ | + | | <nowiki>{{itemDB |id=7015 Bookclip in Memory}}</nowiki> |
− | || {{ | + | || {{itemDB |id=7015 Bookclip in Memory}} |
|} | |} | ||
Revision as of 07:25, 5 July 2015
Description
This template serves the purpose of shortening linkings to the Item DB.
Usage
{{itemDB |id=<id> <name>}}
Example | Output |
---|---|
{{itemDB |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. |