Template:AwardTableGen: Difference between revisions

From 118Wiki
Jump to navigation Jump to search
(making it collapsible. Making it easier to use.)
(You'd think I'd learn to not hit enter too soon. And that named parameters need to be handled carefully.)
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly>{| class="wikitable collapsible {{#switch:{{{COLLASPED|}}}|n|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]] {{{1|}}} [[File:Starfleet instructor.png|20px]]
!  colspan=100% style="background:#343434; color:#fff;" | [[File:Starfleet instructor.png|20px]] {{{TITLE|}}} [[File:Starfleet instructor.png|20px]]
|-
|-
! style="background:#c4bfb8;" width=100 |Ribbon
! style="background:#c4bfb8;" width=100 |Ribbon
! style="background:#c4bfb8;" |Name of Award{{#ifeq: {{{ShowRecipient|}}}|no||
! style="background:#c4bfb8;" |Name of Award{{#switch: {{{ShowRecipient|}}}|n|no=|
! style="background:#c4bfb8;" {{!}}Recipient}}
! style="background:#c4bfb8;" {{!}}Recipient}}
! style="background:#c4bfb8;" |Stardate
! style="background:#c4bfb8;" |Stardate
Line 110: Line 110:
{{{100|}}}|-
{{{100|}}}|-
|}
|}
</includeonly><noinclude>This creates a generalized award table, useful if you do not want the customized award template for service, and used for duty post, general and staff awards. Documentation is on the category.
</includeonly><noinclude>This creates a generalized award table, useful if you do not want the customized award template for service, and used for duty post, general and staff awards. Documentation is on the linked category.


[[Category:Award Display Templates]]
[[Category:Award Display Templates]]
</noinclude>
</noinclude>

Latest revision as of 14:21, 6 April 2015

This creates a generalized award table, useful if you do not want the customized award template for service, and used for duty post, general and staff awards. Documentation is on the linked category.