User:Llamageddon/Test: Difference between revisions
Llamageddon (talk | contribs) mNo edit summary |
Llamageddon (talk | contribs) mNo edit summary |
||
Line 1: | Line 1: | ||
<includeonly>{{trim| | <includeonly>{{trim| | ||
{{#lvardef: | {{#lvardef: icon | {{{1 |}}} Item Icon.png }} | ||
{{#lvardef: text | {{{2 | {{{1}}} }}} }} | {{#lvardef: text | {{{2 | {{{1}}} }}} Item Icon.png }} | ||
{{#lvardef: rrty | {{{3 |}}} }} | {{#lvardef: rrty | {{{3 |}}} }} | ||
{{#lvardef: | {{#lvardef: stor | {{#If: {{#Switch: {{{3}}} | common = common | uncommon = uncommon | rare = rare | very rare = very rare | legendary = legendary | story = story }} | {{{3 |}}} | norare |}} }} | ||
{{#lvardef: | {{#lvardef: mode | {{#Ifeq: {{#lvar:rrty}} | {{#If: {{#Switch: {{{2}}} | common = common | uncommon = uncommon | rare = rare | very rare = very rare | legendary = legendary | story = story }} | 0 | 1 }} | 1 }} }} | ||
{{#lvardef: spna | <span style="display: inline-block; vertical-align: middle; width: 25px; height: 25px; overflow: hidden;">}} | {{#lvardef: spna | <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-radius: 5px; border: 2px solid {{#Switch: {{#lvar:rrty}} | ||
}} | | common = #1B1A1999 | ||
== | | uncommon = #00491599 | ||
| rare = #00374999 | |||
| veryrare = #54003299 | |||
| legendary = #563E0D99 | |||
| story = #561D0099 | |||
| #1B1A1999 }};">}} | |||
{{#lvardef: spnb | <span style="display: inline-block; vertical-align: middle; width: 25px; height: 25px; overflow: hidden;">}} | |||
}}{{#lvar:spna}}{{#lvar:spnb}}[[File:{{#lvar:text}}|25px]]</span></span> [[{{#lvar:text}}]] | [[{{#lvar:icon}}]] Textcheck is {{#lvar:stor}} {{Rarity|{{#lvar:mode}} }}</includeonly><noinclude> | |||
== Debug == | |||
<nowiki>{{User:Llamageddon/Test|A|B|Rarevalue|Xvalue|Zvalue}} {{#lvar:icon}} {{#lvar:text}} {{#lvar:tchk}} {{#lvar:tchk}} {{#lvar:tchk}}</nowiki> | |||
{{User:Llamageddon/Test|A|B|Rarevalue|Xvalue|Zvalue}} {{#lvar:icon}} {{#lvar:text}} {{#lvar:tchk}} {{#lvar:tchk}} {{#lvar:tchk}} | |||
== Examples == | |||
<nowiki>{{Icon|{{#lvar:exlk}} Icon.png}}</nowiki> | <nowiki>{{Icon|{{#lvar:exlk}} Icon.png}}</nowiki> | ||
Revision as of 14:08, 5 September 2023
Debug
{{User:Llamageddon/Test|A|B|Rarevalue|Xvalue|Zvalue}} {{#lvar:icon}} {{#lvar:text}} {{#lvar:tchk}} {{#lvar:tchk}} {{#lvar:tchk}}
B Item Icon.png | A Item Icon.png Textcheck is norare Rarity: Common
Examples
{{Icon|{{#lvar:exlk}} Icon.png}}
{{User:Llamageddon/Test|Club|Mace|uncommon}}
Mace Item Icon.png | Club Item Icon.png Textcheck is uncommon Rarity: Common
Mace Item Icon.png | Club Item Icon.png Textcheck is uncommon Rarity: Common
{{User:Llamageddon/Test|Club|{{blank}}|rare}}
[[ Item Icon.png]] | Club Item Icon.png Textcheck is rare Rarity: Common
{{User:Llamageddon/Test|Club|Mace|very rare}}
Mace Item Icon.png | Club Item Icon.png Textcheck is very rare Rarity: Common
{{User:Llamageddon/Test|Club|rare}}
rare Item Icon.png | Club Item Icon.png Textcheck is norare Rarity: Common
{{User:Llamageddon/Test|Wrong|Mace|legendary}}
Mace Item Icon.png | Wrong Item Icon.png Textcheck is legendary Rarity: Common
{{User:Llamageddon/Test|Club|Mace|wrong}}
Mace Item Icon.png | Club Item Icon.png Textcheck is norare Rarity: Common
{{User:Llamageddon/Test|||}}
Item Icon.png | Item Icon.png Textcheck is norare Rarity: Common
{{User:Llamageddon/Test|{{blank}}|{{blank}}|{{blank}}}}
[[ Item Icon.png]] | [[ Item Icon.png]] Textcheck is norare Rarity: Common