Template:Item: Difference between revisions
From OmegaMMO
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
<includeonly>[https://www.divine-pride.net/database/item/{{{2|501}}} {{{1|Red Potion}}}] <img src="https://www.divine-pride.net/img/items/{{{3|item}}}/iRO/{{{2|501}}}" alt="{{{1|Red Potion}}}" /> | <includeonly>{{#ifeq: {{{4|}}} ||[https://www.divine-pride.net/database/item/{{{2|501}}} {{{1|Red Potion}}}]}} <img src="https://www.divine-pride.net/img/items/{{{3|item}}}/iRO/{{{2|501}}}" alt="{{{1|Red Potion}}}" /> | ||
</includeonly><noinclude>__NOTOC__ | </includeonly><noinclude>__NOTOC__ | ||
== Description == | == Description == | ||
Line 6: | Line 6: | ||
==Usage== | ==Usage== | ||
<pre>{{Item|Item Name|Item ID|Type}}</pre> | <pre>{{Item|Item Name|Item ID|Type|nolink}}</pre> | ||
* '''Item Name''' The name of the item would you like Ex. Red Potion. | * '''Item Name''' The name of the item would you like Ex. Red Potion. | ||
* '''Item ID''' is the item ID Ex. 501. | * '''Item ID''' is the item ID Ex. 501. | ||
* '''Type''' Select 'item' if you want inventory item or 'collection' if you want the picture in description item. | * '''Type''' Select 'item' if you want inventory item or 'collection' if you want the picture in description item. | ||
* '''nolink''' Select 'nolink' if you want hide the link to divine pride or item name. | |||
Line 21: | Line 22: | ||
|- | |- | ||
| {{Item|Red Potion|501|item}} | | {{Item|Red Potion|501|item}} | ||
|- | |||
|<code>For Red Potion item inventory with no name<nowiki>{{Item|Red Potion|501|item|nolink}} .</nowiki></code> | |||
|- | |||
! Result | |||
|- | |||
| {{Item|Red Potion|501|item|nolink}} | |||
|- | |- | ||
! Code Used | ! Code Used |
Revision as of 15:42, 21 May 2025
Description
The purpose of this template is to turn a set of coordinates into a copyable link for use with the in-game syntax.
Usage
{{Item|Item Name|Item ID|Type|nolink}}
- Item Name The name of the item would you like Ex. Red Potion.
- Item ID is the item ID Ex. 501.
- Type Select 'item' if you want inventory item or 'collection' if you want the picture in description item.
- nolink Select 'nolink' if you want hide the link to divine pride or item name.
Example
Code Used |
---|
For Red Potion item inventory {{Item|Red Potion|501|item}} .
|
Result |
Red Potion |
For Red Potion item inventory with no name{{Item|Red Potion|501|item|nolink}} .
|
Result |
Code Used |
For Red Potion item collection {{Item|Red Potion|501|collection}} .
|
Result |
Red Potion |