Template:StarfleetHistoryTable: Difference between revisions
Jump to navigation
Jump to search
(Improved the documentation.) |
m (some tweaks to the invoke code and documentation. Added last note.) |
||
Line 121: | Line 121: | ||
|{{PersonalHistoryListing|Cadet 2nd|Gold|RetroSlanted|239001.01|239012.07|N/A}} | |{{PersonalHistoryListing|Cadet 2nd|Gold|RetroSlanted|239001.01|239012.07|N/A}} | ||
|{{PersonalHistoryListing|Cadet 1st|Gold|RetroSlanted|239011.14|239112.14|N/A}} | |{{PersonalHistoryListing|Cadet 1st|Gold|RetroSlanted|239011.14|239112.14|N/A}} | ||
|{{PersonalHistorySubheader|'''{{ | |{{PersonalHistorySubheader|'''{{USS|Constitution|B}}''' [[File:Galaxy-icon1.gif]]}} | ||
|{{PersonalHistorySubheader|'''Engineering Division'''|darkgoldenrod}} | |{{PersonalHistorySubheader|'''Engineering Division'''|darkgoldenrod}} | ||
|{{PersonalHistoryListing|Ensign|Gold|RetroSlanted|239112.15|239202.01|Engineering Officer}} | |{{PersonalHistoryListing|Ensign|Gold|RetroSlanted|239112.15|239202.01|Engineering Officer}} | ||
Line 127: | Line 127: | ||
|{{PersonalHistorySubheader|'''HCO Division'''|maroon}} | |{{PersonalHistorySubheader|'''HCO Division'''|maroon}} | ||
|{{PersonalHistoryListing|Lieutenant JG|Red|RetroSlanted|239202.16|239204.04|HCO}} | |{{PersonalHistoryListing|Lieutenant JG|Red|RetroSlanted|239202.16|239204.04|HCO}} | ||
|{{PersonalHistorySubheader|'''{{ | |{{PersonalHistorySubheader|'''{{USS|Doyle|A}}''' [[File:Luna-icon.gif]]}} | ||
|{{PersonalHistorySubheader|'''HCO Division'''|maroon}} | |{{PersonalHistorySubheader|'''HCO Division'''|maroon}} | ||
|{{PersonalHistoryListing|Lieutenant JG|Red|RetroSlanted|239204.04|239204.09|HCO}} | |{{PersonalHistoryListing|Lieutenant JG|Red|RetroSlanted|239204.04|239204.09|HCO}} | ||
Line 144: | Line 144: | ||
|{{PersonalHistoryListing|Cadet 2nd|Gold|RetroSlanted|239001.01|239012.07|N/A}} | |{{PersonalHistoryListing|Cadet 2nd|Gold|RetroSlanted|239001.01|239012.07|N/A}} | ||
|{{PersonalHistoryListing|Cadet 1st|Gold|RetroSlanted|239011.14|239112.14|N/A}} | |{{PersonalHistoryListing|Cadet 1st|Gold|RetroSlanted|239011.14|239112.14|N/A}} | ||
|{{PersonalHistorySubheader|'''{{ | |{{PersonalHistorySubheader|'''{{USS|Constitution|B}}''' [[File:Galaxy-icon1.gif]]}} | ||
|{{PersonalHistorySubheader|'''Engineering Division'''|darkgoldenrod}} | |{{PersonalHistorySubheader|'''Engineering Division'''|darkgoldenrod}} | ||
|{{PersonalHistoryListing|Ensign|Gold|RetroSlanted|239112.15|239202.01|Engineering Officer}} | |{{PersonalHistoryListing|Ensign|Gold|RetroSlanted|239112.15|239202.01|Engineering Officer}} | ||
Line 150: | Line 150: | ||
|{{PersonalHistorySubheader|'''HCO Division'''|maroon}} | |{{PersonalHistorySubheader|'''HCO Division'''|maroon}} | ||
|{{PersonalHistoryListing|Lieutenant JG|Red|RetroSlanted|239202.16|239204.04|HCO}} | |{{PersonalHistoryListing|Lieutenant JG|Red|RetroSlanted|239202.16|239204.04|HCO}} | ||
|{{PersonalHistorySubheader|'''{{ | |{{PersonalHistorySubheader|'''{{USS|Doyle|A}}''' [[File:Luna-icon.gif]]}} | ||
|{{PersonalHistorySubheader|'''HCO Division'''|maroon}} | |{{PersonalHistorySubheader|'''HCO Division'''|maroon}} | ||
|{{PersonalHistoryListing|Lieutenant JG|Red|RetroSlanted|239204.04|239204.09|HCO}} | |{{PersonalHistoryListing|Lieutenant JG|Red|RetroSlanted|239204.04|239204.09|HCO}} | ||
Line 159: | Line 159: | ||
'''Variables''' | '''Variables''' | ||
* ROUNDBORDER = Controls if the border of the table is rounded. Takes LEFT,RIGHT,BOTH. For | * ROUNDBORDER = Controls if the border of the table is rounded. Takes LEFT,RIGHT,BOTH. For normal square border, do not invoke. | ||
* 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] | * 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] | ||
For any questions, or possibly requests, you can leave a line at [[User talk:Ceciri]] | |||
</noinclude> | </noinclude> |
Revision as of 10:04, 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|'''{{USS|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|'''{{USS|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:
Insignia | Rank | From | To | Position |
---|---|---|---|---|
Cadet 4th | 238812.01 | 238812.12 | N/A | |
Cadet 3rd | 238901.02 | 238912.20 | N/A | |
Cadet 2nd | 239001.01 | 239012.07 | N/A | |
Cadet 1st | 239011.14 | 239112.14 | N/A | |
Ensign | 239112.15 | 239202.01 | Engineering Officer | |
Lieutenant JG | 239202.01 | 239202.16 | Engineering Officer | |
Lieutenant JG | 239202.16 | 239204.04 | HCO | |
Lieutenant JG | 239204.04 | 239204.09 | HCO | |
Lieutenant | 239204.09 | 239207.04 | HCO | |
Lieutenant Commander | 239207.04 | 239207.13 | HCO | |
Lieutenant Commander | 239207.13 | 240111.24 | Chief HCO | |
Variables
- ROUNDBORDER = Controls if the border of the table is rounded. Takes LEFT,RIGHT,BOTH. For normal square border, do not invoke.
- HEADERCOLOR = Optional. Will set a color on the header if invoked. Please use the color names listed here
For any questions, or possibly requests, you can leave a line at User talk:Ceciri