Difference between revisions of "Template:IconImage"
From DDO Compendium
MNDeveloper (talk | contribs) |
MNDeveloper (talk | contribs) |
||
Line 4: | Line 4: | ||
|example1 = <nowiki>{{IconImage|Arcanotechnician}}</nowiki> | |example1 = <nowiki>{{IconImage|Arcanotechnician}}</nowiki> | ||
|example1output = {{IconImage|Arcanotechnician}} | |example1output = {{IconImage|Arcanotechnician}} | ||
|example2 = <nowiki>{{IconImage|Arcanotechnician}}</nowiki> | |example2 = <nowiki>{{IconImage|Arcanotechnician|Arcanotechnician_core_Arcanotechnician}}</nowiki> | ||
|example2output = {{IconImage|Arcanotechnician|Arcanotechnician_core_Arcanotechnician}} | |example2output = {{IconImage|Arcanotechnician|Arcanotechnician_core_Arcanotechnician}} | ||
|example3 = <nowiki>{{IconImage|Arcanotechnician}}</nowiki> | |example3 = <nowiki>{{IconImage|Arcanotechnician|Arcanotechnician_core_Arcanotechnician|Arcanotechnician (Enhancement)}}</nowiki> | ||
|example3output = {{IconImage|Arcanotechnician|Arcanotechnician_core_Arcanotechnician|Arcanotechnician (Enhancement)}} | |example3output = {{IconImage|Arcanotechnician|Arcanotechnician_core_Arcanotechnician|Arcanotechnician (Enhancement)}} | ||
|parameter1name = Generated name | |parameter1name = Generated name |
Revision as of 14:20, 28 June 2018
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|Arcanotechnician}} | File:Arcanotechnician Icon.png |
{{IconImage|Arcanotechnician|Arcanotechnician_core_Arcanotechnician}} | File:Arcanotechnician core Arcanotechnician Icon.png |
{{IconImage|Arcanotechnician|Arcanotechnician_core_Arcanotechnician|Arcanotechnician (Enhancement)}} | File:Arcanotechnician core Arcanotechnician Icon.png |
Usage[edit]
{{IconImage|(Generated name)|(User Defined Name)|(Link)}}
Parameter Documentation | |
Generated name | The name of the icon that was generated by the outer template, used if the user defined name is empty. |
User Defined Name | The name of the icon that was entered as part of the out template |
Link | The page you want to link to for the icon. |
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=|36px|x36px|]]