Difference between revisions of "Template:DbItem"

From HeRO Wiki
Jump to: navigation, search
m
m (Modified URL to the new database app.)
 
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>|3={{{1}}}}}</includeonly><noinclude>[[category:Template]]
+
<includeonly>{{Template:Ifwp|1={{{2|}}}|2=<span class="plainlinks">[https://db.hero-server.xyz/item-search?id={{{2}}} {{{1}}}]</span>|3={{{1}}}}}</includeonly><noinclude>[[category:Template]]
 
==Usage==
 
==Usage==
 
<pre>
 
<pre>

Latest revision as of 10:56, 4 May 2025

Usage

{{DbItem|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:

  1. {{DbItem|Fragment|7094}} Fragment
  2. {{DbItem|Fragment}} Fragment