Difference between revisions of "Template:Img"
Jump to navigation
Jump to search
m (Update items) |
(Added templatedata) |
||
Line 1,586: | Line 1,586: | ||
[[Category:Template]] | [[Category:Template]] | ||
− | </noinclude> | + | <templatedata> |
+ | { | ||
+ | "params": { | ||
+ | "item": { | ||
+ | "description": "item name", | ||
+ | "example": "royal banner", | ||
+ | "type": "string", | ||
+ | "required": true | ||
+ | }, | ||
+ | "Width": { | ||
+ | "description": "Width of the image", | ||
+ | "example": "42", | ||
+ | "type": "number" | ||
+ | }, | ||
+ | "Height": { | ||
+ | "description": "Height of the image", | ||
+ | "example": "42", | ||
+ | "type": "number", | ||
+ | "autovalue": "" | ||
+ | }, | ||
+ | "Word": { | ||
+ | "description": "Adds item name after the picture", | ||
+ | "type": "number", | ||
+ | "default": "1", | ||
+ | "autovalue": "" | ||
+ | } | ||
+ | }, | ||
+ | "paramOrder": [ | ||
+ | "item", | ||
+ | "Width", | ||
+ | "Height", | ||
+ | "Word" | ||
+ | ] | ||
+ | } | ||
+ | </templatedata></noinclude> |
Revision as of 15:58, 24 May 2024
Creates an image with a link to the page.
Contents
Usage
The template is case insensitive.
{{img | Item | Width(Optional) | Height(Optional)}}
Adds the item name after the picture.
|word=1
Example
{{img|gold|}}
{{img|gold|25|25|word=1}}
List
- Most Items - Gold to Useless Scraps
- Most Monsters - Regular, Elite, Dungeon, Event
- Skills - Mining etc.
- Most Enchantments - Embers to Intuition
- Zones
Exceptions
For | Use |
---|---|
Useless Scraps | Useless Scraps (Magic) |
Useless Scraps | Useless Scraps (Range) |
Cooking | Cooking |
Cooking (Enchantment) | |
Cooking Background Image | Cooking Screen |
Runecrafting | Runecrafting |
Runecrafting (Enchantment) | |
Fishing | Fishing |
Fishing (Enchantment) | |
Crafting | Crafting |
Crafting (Enchantment) | |
Mysterious Man | Mysterious Man |
Mysterious Man (Helmet) | |
Forgotten Soul | Forgotten Soul |
Forgotten Soul (Sad) | |
Forgotten Soul (Crazy) | |
Forgotten Soul (Mad) |
No description.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Item | item | item name
| String | required |
Width | Width | Width of the image
| Number | optional |
Height | Height | Height of the image
| Number | optional |
Word | Word | Adds item name after the picture
| Number | optional |