Difference between revisions of "Template:Crate series table/row/Sandbox"
(Add grade background colors) |
(escape) |
||
Line 2: | Line 2: | ||
<nowiki></nowiki> | <nowiki></nowiki> | ||
{{!-}} | {{!-}} | ||
− | {{!}} colspan="2" style="background:{{#switch: {{{grade}}}|civilian = #B0C3D9|freelance = #5E98D9|mercenary = #4B69FF|commando = #8847FF|assassin = #D32CE6|elite = #EB4B4B|#default = #FFDDAD}};" {{!}} {{item icon|{{{item}}}}}[[{{{link|{{{item}}}}}}{{if lang}}|{{{name|{{Item name|{{{item}}}}}}}}]] | + | {{!}} colspan="2" style="background:{{#switch: {{{grade}}}|civilian = \#B0C3D9|freelance = \#5E98D9|mercenary = \#4B69FF|commando = \#8847FF|assassin = \#D32CE6|elite = \#EB4B4B|#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:22, 5 September 2023
Template documentation [series table/row/Sandbox/doc?action=edit&preload=Template:Documentation/preload create]