Template:PromotionsTable: Difference between revisions

From 118Wiki
Jump to navigation Jump to search
(woops. Fixing optional.)
(switching from ifeq to switch.)
 
(One intermediate revision by the same user not shown)
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]] Promotions [[File:Starfleet instructor.png|20px]]
!  colspan=100% style="background:#343434; color:#fff;" | [[File:Starfleet instructor.png|20px]] Promotions [[File:Starfleet instructor.png|20px]]
|-
|-

Latest revision as of 13:43, 6 April 2015

This template creates a collapsible promotion table. Used with Template:AwardDisplayTable.
For documentation, please look at the category.