User:Llamageddon/ItemIcon: Difference between revisions
Jump to navigation
Jump to search
Llamageddon (talk | contribs) mNo edit summary |
Llamageddon (talk | contribs) mNo edit summary |
||
(One intermediate revision by one other user not shown) | |||
Line 2: | Line 2: | ||
{{#lvardef: exlk | {{{1 |}}} }} | {{#lvardef: exlk | {{{1 |}}} }} | ||
{{#lvardef: rrty | {{{2 |}}} }} | {{#lvardef: rrty | {{{2 |}}} }} | ||
}}<span style="padding: 4px 0px 6px 0px; max-width: 25px; border: 2px solid {{#switch: {{#lvar:rrty}} | common = #1B1A1999 | uncommon = #00491599 | rare = #00374999 | veryrare = #54003299 | legendary = #563E0D99 | story = #561D0099 | #1B1A1999 }};">[[File:{{#lvar:exlk}}|25px]]</span> </includeonly><noinclude> | }}<span style="box-shadow: rgba(0, 0, 0, 0.14) 3px 3px 6px 0px inset, rgba(0, 0, 0, 0.14) -3px -3px 6px 1px inset; background: #1B1A19; padding: 4px 0px 6px 0px; max-width: 25px; border: 2px solid {{#switch: {{#lvar:rrty}} | common = #1B1A1999 | uncommon = #00491599 | rare = #00374999 | veryrare = #54003299 | legendary = #563E0D99 | story = #561D0099 | #1B1A1999 }};">[[File:{{#lvar:exlk}}|25px]]</span> </includeonly><noinclude> | ||
This is a proof of concept template for colouring icon borders depending on the value of a 'rarity' variable. | |||
== Examples == | == Examples == | ||
<nowiki>{{User:Llamageddon/ItemIcon|Club Item Icon.png|rare}}</nowiki> | <nowiki>{{User:Llamageddon/ItemIcon|Club Item Icon.png|rare}}</nowiki> |
Latest revision as of 11:20, 5 September 2023
This is a proof of concept template for colouring icon borders depending on the value of a 'rarity' variable.
Examples[edit | edit source]
{{User:Llamageddon/ItemIcon|Club Item Icon.png|rare}}
{{User:Llamageddon/ItemIcon|Longsword Icon.png|uncommon}}
{{User:Llamageddon/ItemIcon|Mace Item Icon.png|rare}}
{{User:Llamageddon/ItemIcon|Club Item Icon.png|veryrare}}
{{User:Llamageddon/ItemIcon|Warhammer Item Icon.png|legendary}}
{{User:Llamageddon/ItemIcon|Stuffed Bear A Icon.png|story}}
{{User:Llamageddon/ItemIcon|Ball Item Icon.png}}