Difference between revisions of "Template:UserCharacterChecklist"
Jump to navigation
Jump to search
(added color coding feature to group characters; small optimization) |
|||
Line 1: | Line 1: | ||
{| class="wikitable sortable" style="width: 50%; text-align: center;" | {| class="wikitable sortable" style="width: 50%; text-align: center;" | ||
!Characters | !Characters | ||
Line 6: | Line 5: | ||
!☆5 | !☆5 | ||
|- | |- | ||
{{#vardefine: setColor|inherit}} | |||
{{ | {{ | ||
#forargs: c | #forargs: c | ||
| | | character | ||
| | | flags | ||
| <nowiki/> | | <nowiki/> | ||
{{!}}{{ #var: | {{ #if: {{ #pos: {{ #var: character }} | GroupColor }} | ||
| {{ #vardefine: setColor|{{ #var: flags }} }} | |||
{{!}}- | |||
{{!}}{{!}} | |||
{{!}}- | |||
| {{!}} style="background-color: {{ #if: {{ #var: setColor }} | {{ #var: setColor }} | inherit }};" {{!}} [[ {{ #var: character }} |<span style="color:black; font-weight: bold;">{{ #var: character }}</span> ]]{{ | |||
#loop: star | |||
| 3 | |||
| 3 | |||
| {{!}}{{!}}{{ | |||
#if: {{ #pos: {{ #explode: {{ #var: flags }}|/|0 }} | {{ #var: star }} }} | |||
| style="background-color: lime;" {{!}} ✔ | |||
| {{ | |||
#if: {{ #pos: {{ #explode: {{ #var: flags }}|/|1 }} | {{ #var: star }} }} | |||
| style="background-color: red;" {{!}} ✘ | |||
| style="background-color: black;" {{!}} - | |||
}} | |||
}} | }} | ||
}} | }} | ||
{{!}}- | |||
}} | }} | ||
}} | }} | ||
|} | |} |
Revision as of 07:30, 20 February 2017
Characters | ☆3 | ☆4 | ☆5 |
---|