Template:Itemimg: Difference between revisions

From Ragnagoats Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
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.
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/items/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 15:
  | 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.
|}
|}



Revision as of 16:37, 16 January 2024

Description

This template serves the purpose of shortening linkings to iRO Wiki Pre-Renewal DB View Item for the ease of article overview when editing and consistency.

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