Template:StarfleetHistoryTable: Difference between revisions

From 118Wiki
Jump to navigation Jump to search
(Testing an optional.)
(Improved the documentation.)
Line 116: Line 116:
{{StarfleetHistoryTable
{{StarfleetHistoryTable
|ROUNDBORDER=BOTH
|ROUNDBORDER=BOTH
|HEADERCOLOR=red
|HEADERCOLOR=maroon
|{{PersonalHistoryListing|Cadet 4th|Gold|RetroSlanted|238812.01|238812.12|N/A}}
|{{PersonalHistoryListing|Cadet 3rd|Gold|RetroSlanted|238901.02|238912.20|N/A}}
|{{PersonalHistoryListing|Cadet 2nd|Gold|RetroSlanted|239001.01|239012.07|N/A}}
|{{PersonalHistoryListing|Cadet 1st|Gold|RetroSlanted|239011.14|239112.14|N/A}}
|{{PersonalHistorySubheader|'''{{USSwhite|Constitution|B}}''' [[File:Galaxy-icon1.gif]]}}
|{{PersonalHistorySubheader|'''Engineering Division'''|darkgoldenrod}}
|{{PersonalHistoryListing|Ensign|Gold|RetroSlanted|239112.15|239202.01|Engineering Officer}}
|{{PersonalHistoryListing|Lieutenant JG|Gold|RetroSlanted|239202.01|239202.16|Engineering Officer}}
|{{PersonalHistorySubheader|'''HCO Division'''|maroon}}
|{{PersonalHistoryListing|Lieutenant JG|Red|RetroSlanted|239202.16|239204.04|HCO}}
|{{PersonalHistorySubheader|'''{{USSwhite|Doyle|A}}''' [[File:Luna-icon.gif]]}}
|{{PersonalHistorySubheader|'''HCO Division'''|maroon}}
|{{PersonalHistoryListing|Lieutenant JG|Red|RetroSlanted|239204.04|239204.09|HCO}}
|{{PersonalHistoryListing|Lieutenant|Red|RetroSlanted|239204.09|239207.04|HCO}}
|{{PersonalHistoryListing|Lieutenant Commander|Red|RetroSlanted|239207.04|239207.13|HCO}}
|{{PersonalHistoryListing|Lieutenant Commander|Red|RetroSlanted|239207.13|{{stardate}}|Chief HCO}}
|{{PersonalHistoryListing|Lieutenant Commander|Red|RetroSlanted|239207.13|{{stardate}}|Chief HCO}}
}}
}}
Line 124: Line 139:
{{StarfleetHistoryTable
{{StarfleetHistoryTable
|ROUNDBORDER=BOTH
|ROUNDBORDER=BOTH
|HEADERCOLOR=maroon
|{{PersonalHistoryListing|Cadet 4th|Gold|RetroSlanted|238812.01|238812.12|N/A}}
|{{PersonalHistoryListing|Cadet 3rd|Gold|RetroSlanted|238901.02|238912.20|N/A}}
|{{PersonalHistoryListing|Cadet 2nd|Gold|RetroSlanted|239001.01|239012.07|N/A}}
|{{PersonalHistoryListing|Cadet 1st|Gold|RetroSlanted|239011.14|239112.14|N/A}}
|{{PersonalHistorySubheader|'''{{USSwhite|Constitution|B}}''' [[File:Galaxy-icon1.gif]]}}
|{{PersonalHistorySubheader|'''Engineering Division'''|darkgoldenrod}}
|{{PersonalHistoryListing|Ensign|Gold|RetroSlanted|239112.15|239202.01|Engineering Officer}}
|{{PersonalHistoryListing|Lieutenant JG|Gold|RetroSlanted|239202.01|239202.16|Engineering Officer}}
|{{PersonalHistorySubheader|'''HCO Division'''|maroon}}
|{{PersonalHistoryListing|Lieutenant JG|Red|RetroSlanted|239202.16|239204.04|HCO}}
|{{PersonalHistorySubheader|'''{{USSwhite|Doyle|A}}''' [[File:Luna-icon.gif]]}}
|{{PersonalHistorySubheader|'''HCO Division'''|maroon}}
|{{PersonalHistoryListing|Lieutenant JG|Red|RetroSlanted|239204.04|239204.09|HCO}}
|{{PersonalHistoryListing|Lieutenant|Red|RetroSlanted|239204.09|239207.04|HCO}}
|{{PersonalHistoryListing|Lieutenant Commander|Red|RetroSlanted|239207.04|239207.13|HCO}}
|{{PersonalHistoryListing|Lieutenant Commander|Red|RetroSlanted|239207.13|{{stardate}}|Chief HCO}}
|{{PersonalHistoryListing|Lieutenant Commander|Red|RetroSlanted|239207.13|{{stardate}}|Chief HCO}}
}}
{{StarfleetHistoryTable
|ROUNDBORDER=BOTH
|HEADERCOLOR=red
||{{PersonalHistoryListing|Lieutenant Commander|Red|RetroSlanted|239207.13|{{stardate}}|Chief HCO}}
}}
}}


'''Variables'''
'''Variables'''
* ROUNDBORDER = Controls if the border of the table is rounded. Takes LEFT,RIGHT,BOTH. For no border, do not invoke.  
* 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.
* HEADERCOLOR = Optional. Will set a color on the header if invoked. Please use the color names listed [https://developer.mozilla.org/en-US/docs/Web/CSS/color_value here]


</noinclude>
</noinclude>

Revision as of 10:01, 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=maroon
|{{PersonalHistoryListing|Cadet 4th|Gold|RetroSlanted|238812.01|238812.12|N/A}}
|{{PersonalHistoryListing|Cadet 3rd|Gold|RetroSlanted|238901.02|238912.20|N/A}}
|{{PersonalHistoryListing|Cadet 2nd|Gold|RetroSlanted|239001.01|239012.07|N/A}}
|{{PersonalHistoryListing|Cadet 1st|Gold|RetroSlanted|239011.14|239112.14|N/A}}
|{{PersonalHistorySubheader|'''{{USSwhite|Constitution|B}}''' [[File:Galaxy-icon1.gif]]}}
|{{PersonalHistorySubheader|'''Engineering Division'''|darkgoldenrod}}
|{{PersonalHistoryListing|Ensign|Gold|RetroSlanted|239112.15|239202.01|Engineering Officer}}
|{{PersonalHistoryListing|Lieutenant JG|Gold|RetroSlanted|239202.01|239202.16|Engineering Officer}}
|{{PersonalHistorySubheader|'''HCO Division'''|maroon}}
|{{PersonalHistoryListing|Lieutenant JG|Red|RetroSlanted|239202.16|239204.04|HCO}}
|{{PersonalHistorySubheader|'''{{USSwhite|Doyle|A}}''' [[File:Luna-icon.gif]]}}
|{{PersonalHistorySubheader|'''HCO Division'''|maroon}}
|{{PersonalHistoryListing|Lieutenant JG|Red|RetroSlanted|239204.04|239204.09|HCO}}
|{{PersonalHistoryListing|Lieutenant|Red|RetroSlanted|239204.09|239207.04|HCO}}
|{{PersonalHistoryListing|Lieutenant Commander|Red|RetroSlanted|239207.04|239207.13|HCO}}
|{{PersonalHistoryListing|Lieutenant Commander|Red|RetroSlanted|239207.13|{{stardate}}|Chief HCO}}
}}

Results in:

Starfleet Academy
Insignia Rank From To Position
Alt-Yellow-C1-Cadet1.png
Cadet 4th 238812.01 238812.12 N/A
Alt-Yellow-C2-Cadet2.png
Cadet 3rd 238901.02 238912.20 N/A
Alt-Yellow-C3-Cadet3.png
Cadet 2nd 239001.01 239012.07 N/A
Alt-Yellow-C4-Cadet4.png
Cadet 1st 239011.14 239112.14 N/A
'USS Constitution-B' Galaxy-icon1.gif
'Engineering Division'
Alt-Yellow-O1-Ens.png
Ensign 239112.15 239202.01 Engineering Officer
Alt-Yellow-O2-LtJG.png
Lieutenant JG 239202.01 239202.16 Engineering Officer
'HCO Division'
Alt-Red-O2-LtJG.png
Lieutenant JG 239202.16 239204.04 HCO
'USS Doyle-A' Luna-icon.gif
'HCO Division'
Alt-Red-O2-LtJG.png
Lieutenant JG 239204.04 239204.09 HCO
Alt-Red-O3-Lt.png
Lieutenant 239204.09 239207.04 HCO
Alt-Red-O4-LtCmdr.png
Lieutenant Commander 239207.04 239207.13 HCO
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 = Optional. Will set a color on the header if invoked. Please use the color names listed here