Template:AwardTable: Difference between revisions

swapping ifeq for switch.
(err..?)
(swapping ifeq for switch.)
Line 1: Line 1:
<includeonly>{| class="wikitable collapsible {{#ifeq:{{{COLLASPED|}}}|n||collapsed}}{{#ifeq:{{{COLLASPED|}}}|no||collapsed}}" style="vertical-align: top; border-collapse: collapse" width=100%
<includeonly>{| class="wikitable collapsible {{#switch:{{{COLLASPED|}}}|n|no=|collapsed}}" style="vertical-align: top; border-collapse: collapse" width=100%
!  colspan=100% style="background:#343434; color:#fff;" | [[File:Starfleet instructor.png|20px]] {{{TITLE|}}} [[File:Starfleet instructor.png|20px]]
!  colspan=100% style="background:#343434; color:#fff;" | [[File:Starfleet instructor.png|20px]] {{{TITLE|}}} [[File:Starfleet instructor.png|20px]]
|-
|-