Difference between revisions of "Template:IconImage"

From DDO Compendium
Tag: Reverted
Tag: Reverted
Line 3: Line 3:
|description = This template is used to show an icon image for all items, enhancements, etc.  It handles making sure they are uniform in size.
|description = This template is used to show an icon image for all items, enhancements, etc.  It handles making sure they are uniform in size.
|category=Shared Templates
|category=Shared Templates
|example1 = <nowiki>{{IconImage|Enhancement Arcanotechnician}}</nowiki>
|example1 = <nowiki>{{IconImage|Enhancement Arcanotechnician|||test}}</nowiki>
|example1output = {{IconImage|Enhancement Arcanotechnician}}
|example1output = {{IconImage|Enhancement Arcanotechnician|||test}}
|example2 = <nowiki>{{IconImage|Arcanotechnician_core_Arcanotechnician|Enhancement Arcanotechnician}}</nowiki>
|example2 = <nowiki>{{IconImage|Arcanotechnician_core_Arcanotechnician|Enhancement Arcanotechnician}}</nowiki>
|example2output = {{IconImage|Arcanotechnician_core_Arcanotechnician|Enhancement Arcanotechnician}}
|example2output = {{IconImage|Arcanotechnician_core_Arcanotechnician|Enhancement Arcanotechnician}}
|example3 = <nowiki>{{IconImage|Arcanotechnician_core_Arcanotechnician|Enhancement Arcanotechnician|Arcanotechnician (Enhancement)}}</nowiki>
|example3 = <nowiki>{{IconImage|Arcanotechnician_core_Arcanotechnician|Enhancement Arcanotechnician|Arcanotechnician (Enhancement)}}</nowiki>
|example3output = {{IconImage|Arcanotechnician_core_Arcanotechnician|Enhancement Arcanotechnician|Arcanotechnician (Enhancement)}}
|example3output = {{IconImage|Arcanotechnician_core_Arcanotechnician|Enhancement Arcanotechnician|Arcanotechnician (Enhancement)}}
|example4 = <nowiki>{{IconImage|Arcanotechnician_core_Arcanotechnician|||test}}</nowiki>
|example4 = <nowiki>{{IconImage|Arcanotechnician_core_Arcanotechnician}}</nowiki>
|example4output = {{IconImage|Arcanotechnician_core_Arcanotechnician|||test}}
|example4output = {{IconImage|Arcanotechnician_core_Arcanotechnician}}
|parameter1name = Generated name
|parameter1name = Generated name
|parameter1description = The name of the icon that was generated by the outer template, used if the user defined name is empty.
|parameter1description = The name of the icon that was generated by the outer template, used if the user defined name is empty.

Revision as of 23:16, 21 April 2022

IconImage[edit]

This template is used to show an icon image for all items, enhancements, etc. It handles making sure they are uniform in size.

Example Usage
{{IconImage|Enhancement Arcanotechnician|||test}}test
{{IconImage|Arcanotechnician_core_Arcanotechnician|Enhancement Arcanotechnician}}
{{IconImage|Arcanotechnician_core_Arcanotechnician|Enhancement Arcanotechnician|Arcanotechnician (Enhancement)}}
{{IconImage|Arcanotechnician_core_Arcanotechnician}}File:Arcanotechnician core Arcanotechnician Icon.png

Usage[edit]

{{IconImage|(Generated name)|(User Defined Name)|(Link)|(AltText)}}

Parameter Documentation
Generated nameThe name of the icon that was generated by the outer template, used if the user defined name is empty.
User Defined NameThe name of the icon that was entered as part of the outer template
LinkThe page you want to link to for the icon.
AltTextAny text you want to show on hover.

Template

Ignore any errors below this line, The errors occur because there is no input into the template, in the template itself.


[[File:{{{1}}}_Icon.png|link=|alt=|36px|x36px|]]