Template:StarfleetHistoryTable: Difference between revisions

From 118Wiki
Jump to navigation Jump to search
(Test 1.)
m (forgot a |-)
Line 2: Line 2:
|-
|-
!  colspan="5" style="width:850px; {{#switch: {{{ROUNDBORDER|}}} | BOTH = border-radius: 20px 20px 0px 0px;" | LEFT = border-radius: 20px 0px 0px 0px;"| RIGHT = border-radius: 0px 20px 0px 0px;" | border-radius: 0px;" }}|<center>Starfleet Academy</center>
!  colspan="5" style="width:850px; {{#switch: {{{ROUNDBORDER|}}} | BOTH = border-radius: 20px 20px 0px 0px;" | LEFT = border-radius: 20px 0px 0px 0px;"| RIGHT = border-radius: 0px 20px 0px 0px;" | border-radius: 0px;" }}|<center>Starfleet Academy</center>
|-
! style="background: {{{HEADERCOLOR|}}}; width: 150px;"|'''Insignia'''
! style="background: {{{HEADERCOLOR|}}}; width: 150px;"|'''Insignia'''
! style="background: {{{HEADERCOLOR|}}}; width: 150px;"|'''Rank'''
! style="background: {{{HEADERCOLOR|}}}; width: 150px;"|'''Rank'''
Line 124: Line 125:
|ROUNDBORDER=BOTH
|ROUNDBORDER=BOTH
|HEADERCOLOR=red
|HEADERCOLOR=red
|{{PersonalHistoryListing|Lieutenant Commander|Red|RetroSlanted|239207.13|{{stardate}}|Chief HCO}}
||{{PersonalHistoryListing|Lieutenant Commander|Red|RetroSlanted|239207.13|{{stardate}}|Chief HCO}}
}}
}}



Revision as of 09:56, 18 November 2015

This table allows one to create a Starfleet History Table in LCARS style. To invoke, use the following:

{{StarfleetHistoryTable
|ROUNDBORDER=BOTH
|HEADERCOLOR=red
|{{PersonalHistoryListing|Lieutenant Commander|Red|RetroSlanted|239207.13|{{stardate}}|Chief HCO}}
}}

Results in:

Starfleet Academy
Insignia Rank From To Position
Alt-Red-O4-LtCmdr.png
Lieutenant Commander 239207.13 240111.22 Chief HCO


Variables

  • ROUNDBORDER = Controls if the border of the table is rounded. Takes LEFT,RIGHT,BOTH. For no border, do not invoke.
  • HEADERCOLOR = Required. Sets the header color of the table.