User:Kaimbe/ItemIcon: Difference between revisions

From bg3.wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 1: Line 1:
<noinclude>
<noinclude>
{{User:Kaimbe/ItemIcon|image=Shortbow_PlusOne_Icon.png|name=Darkfire Shortbow|rarity=rare}}
Usage: {{code|<nowiki>{{User:Kaimbe/ItemIcon|ImagePath|ItemName|Rarity}}</nowiki>}}<br>
Example: {{code|<nowiki>{{User:Kaimbe/ItemIcon|Shortbow_PlusOne_Icon.png|Darkfire Shortbow|rare}}</nowiki>}}<br>Result: {{User:Kaimbe/ItemIcon|Shortbow_PlusOne_Icon.png|Darkfire Shortbow|rare}}
</noinclude>
</noinclude>
<includeonly>
<includeonly>
<div style="text-align: center; vertical-align: middle;">
<div style="text-align: center; vertical-align: middle;">
{{#if: {{{image|}}} | [[File:{{{image}}}|frameless|50px|link={{{name}}}]] <br>}}
{{#if: {{{1|}}} | [[File:{{{1}}}|frameless|50px|link={{{2}}}]] <br>}}
[[{{{name}}} | {{RarityColor | {{{rarity}}} | {{{name}}} }}]]
[[{{{2}}} | {{RarityColor | {{{3}}} | {{{2}}} }}]]
</div>
</div>
</includeonly>
</includeonly>

Revision as of 13:22, 27 August 2023

Usage: {{User:Kaimbe/ItemIcon|ImagePath|ItemName|Rarity}}
Example: {{User:Kaimbe/ItemIcon|Shortbow_PlusOne_Icon.png|Darkfire Shortbow|rare}}
Result:

Shortbow PlusOne Icon.png
Darkfire Shortbow