User:Llamageddon/ItemIcon: Difference between revisions
Jump to navigation
Jump to search
Llamageddon (talk | contribs) mNo edit summary |
Llamageddon (talk | contribs) mNo edit summary |
||
(28 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
<includeonly>{{trim| | <includeonly>{{trim| | ||
{{# | {{#lvardef: exlk | {{{1 |}}} }} | ||
{{# | {{#lvardef: rrty | {{{2 |}}} }} | ||
{{# | }}<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 == | |||
<nowiki>{{User:Llamageddon/ItemIcon|Club Item Icon.png|rare}}</nowiki> | |||
{{User:Llamageddon/ItemIcon|Mace Item Icon.png|common}} | |||
<nowiki>{{User:Llamageddon/ItemIcon|Longsword Icon.png|uncommon}}</nowiki> | |||
{{User:Llamageddon/ItemIcon|Longsword Icon.png|uncommon}} | |||
<nowiki>{{User:Llamageddon/ItemIcon|Mace Item Icon.png|rare}}</nowiki> | |||
{{User:Llamageddon/ItemIcon|Mace Item Icon.png|rare}} | |||
<nowiki>{{User:Llamageddon/ItemIcon|Club Item Icon.png|veryrare}}</nowiki> | |||
{{User:Llamageddon/ItemIcon|Club Item Icon.png|veryrare}} | |||
<nowiki>{{User:Llamageddon/ItemIcon|Warhammer Item Icon.png|legendary}}</nowiki> | |||
{{User:Llamageddon/ItemIcon|Warhammer Item Icon.png|legendary}} | |||
<nowiki>{{User:Llamageddon/ItemIcon|Stuffed Bear A Icon.png|story}}</nowiki> | |||
{{User:Llamageddon/ItemIcon|Stuffed Bear A Icon.png|story}} | |||
<nowiki>{{User:Llamageddon/ItemIcon|Ball Item Icon.png}}</nowiki> | |||
{{User:Llamageddon/ItemIcon|Ball Item Icon.png}} | |||
=== List Layout === | |||
{{User:Llamageddon/ItemIcon|Stuffed Bear A Icon.png|story}} | |||
{{User:Llamageddon/ItemIcon|Warhammer Item Icon.png|legendary}} | |||
{{User:Llamageddon/ItemIcon|Club Item Icon.png|veryrare}} | |||
{{User:Llamageddon/ItemIcon|Mace Item Icon.png|rare}} | |||
</noinclude> |
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}}