Difference between revisions of "Template:Crate series table/row/Sandbox"
(Attempt to change bg based on grade variable) |
|||
Line 2: | Line 2: | ||
<nowiki></nowiki> | <nowiki></nowiki> | ||
{{!-}} | {{!-}} | ||
− | {{!}} colspan="2" style=" | + | {{!}} colspan="2" style="background:{{#switch: {{{grade}}}| elite = orange| #default = #FFDDAD}}" {{!}} {{item icon|{{{item}}}}}[[{{{link|{{{item}}}}}}{{if lang}}|{{{name|{{Item name|{{{item}}}}}}}}]] |
− | |||
− | |||
− | |||
− | |||
{{!}} style="text-align:right;" {{!}} {{#if:{{{rate|}}}|{{Decimal Align|NUM={{{rate}}}|P=2|POSTFIX=%}}}} | {{!}} style="text-align:right;" {{!}} {{#if:{{{rate|}}}|{{Decimal Align|NUM={{{rate}}}|P=2|POSTFIX=%}}}} | ||
{{!-}} | {{!-}} |
Revision as of 01:15, 5 September 2023
Template documentation [series table/row/Sandbox/doc?action=edit&preload=Template:Documentation/preload create]