Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:Icon DD/doc: Difference between revisions

Template page
Created page with "{{icon|ITEM NAME For example: {{icon|Traveler's Journal renders {{icon|Traveler's Journal}}"
 
No edit summary
Line 1: Line 1:
{{icon|ITEM NAME
This template is used for both items and characters and generates a 20x20px icon. The template relies entirely on the file naming convention: "Image {PAGENAME}.png". If the same image is used for multiple items or characters, a page redirect for the image is created.
{{Demo|<nowiki>{{icon|Traveler's Journal}}</nowiki>}}
{{Demo|<nowiki>{{icon|George}}</nowiki>}}


For example:
An alternative {{[[Template:MdIcon|MdIcon]]}} is also available, which generates a 30x30px icon.
{{icon|Traveler's Journal
 
renders
 
{{icon|Traveler's Journal}}

Revision as of 21:17, 25 March 2025

This template is used for both items and characters and generates a 20x20px icon. The template relies entirely on the file naming convention: "Image {PAGENAME}.png". If the same image is used for multiple items or characters, a page redirect for the image is created.

{{icon|Traveler's Journal}}

Template:Icon

{{icon|George}}

Template:Icon

An alternative {{MdIcon}} is also available, which generates a 30x30px icon.