Difference between revisions of "Template:DbItem"
From HeRO Wiki
(Added a new template) |
(Updated template.) |
||
| Line 1: | Line 1: | ||
| − | <includeonly>{{Template:Ifwp|1={{{2}}}|2=<span class="plainlinks">[https://hero-server-db.herokuapp.com/item-search?id={{{2}}} {{{1}}}]</span> | + | <includeonly> |
| + | {{Template:Ifwp|1={{{2|}}}|2=<span class="plainlinks">[https://hero-server-db.herokuapp.com/item-search?id={{{2}}} {{{1}}}]</span>|3={{{1}}}}}</includeonly><noinclude>[[category:Template]] | ||
==Usage== | ==Usage== | ||
<pre> | <pre> | ||
Revision as of 23:58, 28 December 2024
Usage
{{DbLink|NNNN|####}}
Where #### is the item identifier and NNNN is the item name to display.
If the item ID is omitted, only the name of the item will be displayed. Use this behaviour as a placeholder when you want to get the wiki page info written up before you look up the item identifier.
Examples:
- {{DbLink|Fragment|7094}}
This page is a candidate for deletion. The given reason is: Renamed and no links remain.
Remember to check if anything links here or the page history before deleting.
Administrators: delete this page·
- {{DbLink|Fragment}}
This page is a candidate for deletion. The given reason is: Renamed and no links remain.
Remember to check if anything links here or the page history before deleting.
Administrators: delete this page·