Template:MissionItemRow: Difference between revisions

From PSP2i Wiki
No edit summary
Tag: Reverted
No edit summary
 
(7 intermediate revisions by the same user not shown)
Line 1: Line 1:
|-
|-
{{#switch:{{{diff}}}
|[[{{{1}}}]]{{#if:{{{4|}}}|{{{4}}}|}}
| c = !style="background:#99CCFF;" rowspan="{{{diffspan|1}}}"{{!}}[[File:Cdiff.png|link=]]
|{{#if:{{{rank|}}}|{{{rank}}}|{{S}}}}
| b = !style="background:#99FFFF;" rowspan="{{{diffspan|1}}}"{{!}}[[File:Bdiff.png|link=]]
| a = !style="background:#99FF99;" rowspan="{{{diffspan|1}}}"{{!}}[[File:Adiff.png|link=]]
| s = !style="background:#FFFF99;" rowspan="{{{diffspan|1}}}"{{!}}[[File:Sdiff.png|link=]]
| i = !style="background:#FF9999;" rowspan="{{{diffspan|1}}}"{{!}}[[File:Idiff.png|link=]]
}}
|[[{{{1}}}]]
|{{{2}}}
|{{{2}}}
|{{#switch:{{{3}}}
|{{#switch:{{{3}}}
   | ? = data-sort-value="99999" style="background:#984C89;"{{!}}{{{3}}}
   | ? = data-sort-value="99999" style="background:#984C89;"{{!}}{{{3}}}
   | 1 = data-sort-value="1" style="background:#0B5884;"{{!}}1/1
   | 1 = data-sort-value="1" style="background:#0B5884;"{{!}}Always
   | #default = data-sort-value="{{{3}}},1/" style="background:#{{#ifexpr: {{{3}}} < 5 | 3C780A | {{#ifexpr: {{{3}}} < 50 | A48900 | {{#ifexpr: {{{3}}} < 100 | B55E0C | 9F261E}}}}}};"{{!}}{{#if:{{{4|}}}|{{DropNote|1/{{{3}}}|{{{4}}}}}|1/{{{3}}}}}
   | #default = data-sort-value="{{{3}}},1/" style="background:#{{#ifexpr: {{{3}}} < 5 | 3C780A | {{#ifexpr: {{{3}}} < 50 | A48900 | {{#ifexpr: {{{3}}} < 100 | B55E0C | 9F261E}}}}}};"{{!}}1/{{{3}}}
}}
}}

Latest revision as of 12:56, 15 January 2023

|- |[[{{{1}}}]] | |{{{2}}} |data-sort-value="{{{3}}},1/" style="background:#Expression error: Unrecognized punctuation character "{".;"|1/{{{3}}}