Difference between revisions of "Template:DbItem"
From HeRO Wiki
(Updated template.) |
m (Removed blank line from template.) |
||
| Line 1: | Line 1: | ||
| − | <includeonly> | + | <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]] |
| − | {{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> | ||
{{DbLink|NNNN|####}} | {{DbLink|NNNN|####}} | ||
</pre> | </pre> | ||
| − | Where #### is the item identifier | + | Where NNNN is the item name to display and #### is the item identifier.<br> |
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. | 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. | ||
<br> | <br> | ||
Revision as of 00:00, 29 December 2024
Usage
{{DbLink|NNNN|####}}
Where NNNN is the item name to display and #### is the item identifier.
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·