Difference between revisions of "Template:UserCharacterChecklist"

Jump to navigation Jump to search
m
removed the spacers since it would shift with the sorting mechanic
(added color coding feature to group characters; small optimization)
m (removed the spacers since it would shift with the sorting mechanic)
Line 13: Line 13:
   {{ #if: {{ #pos: {{ #var: character }} | GroupColor }}
   {{ #if: {{ #pos: {{ #var: character }} | GroupColor }}
     | {{ #vardefine: setColor|{{ #var: flags }} }}
     | {{ #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> ]]{{
     | {{!}} style="background-color: {{ #if: {{ #var: setColor }} | {{ #var: setColor }} | inherit }};" {{!}} [[ {{ #var: character }} |<span style="color:black; font-weight: bold;">{{ #var: character }}</span> ]]{{
       #loop: star
       #loop: star
359

edits

Navigation menu