Difference between revisions of "Template:IconImageWithLink"
From DDO Compendium
MNDeveloper (talk | contribs) |
MNDeveloper (talk | contribs) |
||
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. - Links to image file | |description = This template is used to show an icon image for all items, enhancements, etc. It handles making sure they are uniform in size. - Links to image file | ||
|category=Shared Templates | |category=Shared Templates | ||
|example1 = <nowiki>{{IconImageWithLink|Arcanotechnician}}</nowiki> | |example1 = <nowiki>{{IconImageWithLink|Enhancement Arcanotechnician}}</nowiki> | ||
|example1output = {{IconImageWithLink|Arcanotechnician}} | |example1output = {{IconImageWithLink|Enhancement Arcanotechnician}} | ||
|example2 = <nowiki>{{IconImageWithLink|Arcanotechnician_core_Arcanotechnician|Arcanotechnician}}</nowiki> | |example2 = <nowiki>{{IconImageWithLink|Arcanotechnician_core_Arcanotechnician|Enhancement Arcanotechnician}}</nowiki> | ||
|example2output = {{IconImageWithLink|Arcanotechnician_core_Arcanotechnician|Arcanotechnician}} | |example2output = {{IconImageWithLink|Arcanotechnician_core_Arcanotechnician|Enhancement Arcanotechnician}} | ||
|example3 = <nowiki>{{IconImageWithLink|Arcanotechnician_core_Arcanotechnician|Arcanotechnician|Arcanotechnician (Enhancement)}}</nowiki> | |example3 = <nowiki>{{IconImageWithLink|Arcanotechnician_core_Arcanotechnician|Enhancement Arcanotechnician|Arcanotechnician (Enhancement)}}</nowiki> | ||
|example3output = {{IconImageWithLink|Arcanotechnician_core_Arcanotechnician|Arcanotechnician|Arcanotechnician (Enhancement)}} | |example3output = {{IconImageWithLink|Arcanotechnician_core_Arcanotechnician|Enhancement Arcanotechnician|Arcanotechnician (Enhancement)}} | ||
|example4 = <nowiki>{{IconImageWithLink|Arcanotechnician_core_Arcanotechnician}}</nowiki> | |example4 = <nowiki>{{IconImageWithLink|Arcanotechnician_core_Arcanotechnician}}</nowiki> | ||
|example4output = {{IconImageWithLink|Arcanotechnician_core_Arcanotechnician}} | |example4output = {{IconImageWithLink|Arcanotechnician_core_Arcanotechnician}} |
Revision as of 17:52, 12 November 2021
IconImageWithLink[edit]
This template is used to show an icon image for all items, enhancements, etc. It handles making sure they are uniform in size. - Links to image file
Example Usage | |
{{IconImageWithLink|Enhancement Arcanotechnician}} | ![]() |
{{IconImageWithLink|Arcanotechnician_core_Arcanotechnician|Enhancement Arcanotechnician}} | ![]() |
{{IconImageWithLink|Arcanotechnician_core_Arcanotechnician|Enhancement Arcanotechnician|Arcanotechnician (Enhancement)}} | ![]() |
{{IconImageWithLink|Arcanotechnician_core_Arcanotechnician}} | File:Arcanotechnician core Arcanotechnician Icon.png |
Usage[edit]
{{IconImageWithLink|(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 outer 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=File:{{{1}}}_Icon.png|36px|x36px|]]