Template:Itemimg: Difference between revisions

From Ragnagoats Wiki
Jump to navigation Jump to search
(Created page with "<includeonly>{{plainlink |url={{database}}/data/items/icons/{{{id}}}.png}}</includeonly><noinclude>==Description== This template serves the purpose of shortening linkings to [{{database}}/?module=item iRO Wiki Pre-Renewal DB View Item] for the ease of article overview when editing and consistency. {{itemimg|id=7015}} https://ragnagoats.eu/data/icons/7015.png ====Usage==== <nowiki>{{itemimg |id=</nowiki>''<id>''<nowiki> </nowiki>''<name>''<nowiki>}}</nowiki> {| class="...")
 
No edit summary
 
(4 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly>{{plainlink |url={{database}}/data/items/icons/{{{id}}}.png}}</includeonly><noinclude>==Description==
<includeonly>https://ragnagoats.eu/data/items/icons/{{{id}}}.png</includeonly><noinclude>==Description==
This template serves the purpose of shortening linkings to [{{database}}/?module=item iRO Wiki Pre-Renewal DB View Item] for the ease of article overview when editing and consistency.
Display the image of an item.
If the picture is not loaded, please inform a Gamemaster or Administrator.


{{itemimg|id=7015}}
{{itemimg|id=7015}}
https://ragnagoats.eu/data/icons/7015.png
 
====Usage====
====Usage====
  <nowiki>{{itemimg |id=</nowiki>''<id>''<nowiki> </nowiki>''<name>''<nowiki>}}</nowiki>
  <nowiki>{{itemimg |id=</nowiki>''<id>''}}


{| class="wikitable"
{| class="wikitable"
  ! Examplex !! Output
  ! Examplex !! Output
  |-
  |-
  | <nowiki>{{itemimg |id=7015 Memory Bookmark}}</nowiki>  
  | <nowiki>{{itemimg|id=7015}}</nowiki>
|| {{itemimg|id=7015 Memory Bookmark}}
|| {{itemimg|id=7015}}
|}
|}
====Fields====
====Fields====
Line 17: Line 18:
  | id || The ID of the item as seen in the itemdesctables.
  | id || The ID of the item as seen in the itemdesctables.
|-
|-
| name || The text to appear in the link.
|}
|}


Line 26: Line 26:


[[Category:Templates|Itemimg]]
[[Category:Templates|Itemimg]]
</noinclude>
<templatedata>
{
"params": {
"id": {}
},
"format": "inline"
}
</templatedata></noinclude>

Latest revision as of 17:59, 18 January 2024

Description

Display the image of an item. If the picture is not loaded, please inform a Gamemaster or Administrator.

7015.png

Usage

{{itemimg |id=<id>}}
Examplex Output
{{itemimg|id=7015}} 7015.png

Fields

id The ID of the item as seen in the itemdesctables.

See Also

No description.

Template parameters[Edit template data]

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
idid

no description

Unknownoptional