Template:StarfleetHistoryTable: Difference between revisions
Jump to navigation
Jump to search
(swapping out header.) |
(added second variant.) |
||
(4 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<includeonly>{| class="darktable" border='0' cellspacing='0' style="margin: 1em auto 1em auto;" | <includeonly>{| class="darktable" border='0' cellspacing='0' style="margin: 1em auto 1em auto;" | ||
|- | |- | ||
! 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>{{{HEADERTITLE|}}}</center> | ! colspan="{{#if: {{{DISPLAYSHIPINROW|}}}|6|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>{{{HEADERTITLE| }}}</center> | ||
|- | |- | ||
{{#if: {{{DISPLAYSHIPINROW|}}} | {{StarfleetHistoryTableHeaderB|{{{HEADERCOLOR|}}} | {{StarfleetHistoryTableHeaderA|{{{HEADERCOLOR|}}} | {{#if: {{{DISPLAYSHIPINROW|}}} | {{StarfleetHistoryTableHeaderB|{{{HEADERCOLOR|}}}}} | {{StarfleetHistoryTableHeaderA|{{{HEADERCOLOR|}}}}}}} | ||
|- | |- | ||
{{{1|}}}|- | {{{1|}}}|- | ||
Line 106: | Line 106: | ||
{{{100|}}}|- | {{{100|}}}|- | ||
|- | |- | ||
!colspan="5" style="height:12px; {{#switch: {{{ROUNDBORDER|}}} | BOTH = border-radius: 0px 0px 20px 20px;" | LEFT = border-radius: 0px 0px 20px 0px;"| RIGHT = border-radius: 0px 0px 0px 20px;" | border-radius: 0px;" }}| | !colspan="{{#if: {{{DISPLAYSHIPINROW|}}}|6|5}}" style="height:12px; {{#switch: {{{ROUNDBORDER|}}} | BOTH = border-radius: 0px 0px 20px 20px;" | LEFT = border-radius: 0px 0px 20px 0px;"| RIGHT = border-radius: 0px 0px 0px 20px;" | border-radius: 0px;" }}| | ||
|}</includeonly><noinclude> | |}</includeonly><noinclude> | ||
This table allows one to create a Starfleet History Table in LCARS style. To invoke, use the following: | This table allows one to create a Starfleet History Table in LCARS style. To invoke, use the following: | ||
Style 1 (Ships not in row) | |||
<pre> | <pre> | ||
{{StarfleetHistoryTable | {{StarfleetHistoryTable | ||
Line 155: | Line 157: | ||
|{{PersonalHistoryListing|Lieutenant Commander|Red|RetroSlanted|239207.13|{{stardate}}|Chief HCO}} | |{{PersonalHistoryListing|Lieutenant Commander|Red|RetroSlanted|239207.13|{{stardate}}|Chief HCO}} | ||
}} | }} | ||
<br> | |||
Style 2: (ships in row) | |||
<pre> | |||
{{StarfleetHistoryTable | |||
|ROUNDBORDER=BOTH | |||
|HEADERCOLOR=blue | |||
|HEADERTITLE=Professional History | |||
|DISPLAYSHIPINROW=true | |||
|{{PersonalHistoryListing|Cadet 4th|Black|TNG|236512.01|236612.12|N/A|SHIP=''Starfleet Academy''}} | |||
|{{PersonalHistoryListing|Cadet 3rd|Black|TNG|236601.02|236712.20|N/A|SHIP=''Starfleet Academy''}} | |||
|{{PersonalHistoryListing|Cadet 2nd|Black|TNG|236701.01|236812.07|N/A|SHIP=''Starfleet Academy''}} | |||
|{{PersonalHistoryListing|Cadet 1st|Black|TNG|236812.14|236912.14|N/A|SHIP=''Starfleet Academy''}} | |||
|{{PersonalHistoryListing|Ensign|Black|TNG|236912.15|237101.09|Intelligence Officer|SHIP=''[[ma:USS_Cairo|<font style="color: white;">USS Cairo</font>]]''}} | |||
|{{PersonalHistoryListing|Lieutenant JG|Black|TNG|237101.09|237208.15|Intelligence Officer|SHIP=''[[ma:USS_Cairo|<font style="color: white;">USS Cairo</font>]]''}} | |||
|{{PersonalHistoryListing|Lieutenant JG|Black|DS9|237208.15|237310.27|Intelligence Officer|SHIP=''USS Spector''}} | |||
|{{PersonalHistoryListing|Lieutenant|Black|DS9|237310.27|237501.20|Intelligence Officer|SHIP=''USS Spector''}} | |||
|{{PersonalHistoryListing|Lieutenant|Black|DS9|237501.22|237901.22|Officer Retraining|SHIP=''Starfleet Academy''}} | |||
|{{PersonalHistoryListing|Lieutenant|Blue|DS9|237902.01|238305.22|Science Officer|lightblue|SHIP=''[[StarBase 118 Ops]]''}} | |||
|{{PersonalHistoryListing|Lieutenant Commander|Blue|DS9|238305.22|238406.15|Science Officer|lightblue|SHIP=''[[StarBase 118 Ops]]''}} | |||
|{{PersonalHistoryListing|Lieutenant Commander|Blue|DS9|238406.19|238702.15|Science Analyst|lightblue|SHIP=''[[Deep Space 285]]''}} | |||
|{{PersonalHistoryListing|Lieutenant Commander|Black|DS9|238702.16|239110.19|Mission Analyst|SHIP=''USS Spector''}} | |||
|{{PersonalHistoryListing|Lieutenant Commander|Blue|DS9|239110.19|239209.01|Assistant Chief of Science|lightblue|SHIP=''USS Spector''}} | |||
|{{PersonalHistoryListing|Lieutenant Commander|Blue|RetroSlanted|239209.01|{{stardate}}|Assistant Chief of Science|lightblue|SHIP=''USS Doyle-A''}} | |||
}} | |||
</pre> | |||
{{StarfleetHistoryTable | |||
|ROUNDBORDER=BOTH | |||
|HEADERCOLOR=blue | |||
|HEADERTITLE=Professional History | |||
|DISPLAYSHIPINROW=true | |||
|{{PersonalHistoryListing|Cadet 4th|Black|TNG|236512.01|236612.12|N/A|SHIP=''Starfleet Academy''}} | |||
|{{PersonalHistoryListing|Cadet 3rd|Black|TNG|236601.02|236712.20|N/A|SHIP=''Starfleet Academy''}} | |||
|{{PersonalHistoryListing|Cadet 2nd|Black|TNG|236701.01|236812.07|N/A|SHIP=''Starfleet Academy''}} | |||
|{{PersonalHistoryListing|Cadet 1st|Black|TNG|236812.14|236912.14|N/A|SHIP=''Starfleet Academy''}} | |||
|{{PersonalHistoryListing|Ensign|Black|TNG|236912.15|237101.09|Intelligence Officer|SHIP=''[[ma:USS_Cairo|<font style="color: white;">USS Cairo</font>]]''}} | |||
|{{PersonalHistoryListing|Lieutenant JG|Black|TNG|237101.09|237208.15|Intelligence Officer|SHIP=''[[ma:USS_Cairo|<font style="color: white;">USS Cairo</font>]]''}} | |||
|{{PersonalHistoryListing|Lieutenant JG|Black|DS9|237208.15|237310.27|Intelligence Officer|SHIP=''USS Spector''}} | |||
|{{PersonalHistoryListing|Lieutenant|Black|DS9|237310.27|237501.20|Intelligence Officer|SHIP=''USS Spector''}} | |||
|{{PersonalHistoryListing|Lieutenant|Black|DS9|237501.22|237901.22|Officer Retraining|SHIP=''Starfleet Academy''}} | |||
|{{PersonalHistoryListing|Lieutenant|Blue|DS9|237902.01|238305.22|Science Officer|lightblue|SHIP=''[[StarBase 118 Ops]]''}} | |||
|{{PersonalHistoryListing|Lieutenant Commander|Blue|DS9|238305.22|238406.15|Science Officer|lightblue|SHIP=''[[StarBase 118 Ops]]''}} | |||
|{{PersonalHistoryListing|Lieutenant Commander|Blue|DS9|238406.19|238702.15|Science Analyst|lightblue|SHIP=''[[Deep Space 285]]''}} | |||
|{{PersonalHistoryListing|Lieutenant Commander|Black|DS9|238702.16|239110.19|Mission Analyst|SHIP=''USS Spector''}} | |||
|{{PersonalHistoryListing|Lieutenant Commander|Blue|DS9|239110.19|239209.01|Assistant Chief of Science|lightblue|SHIP=''USS Spector''}} | |||
|{{PersonalHistoryListing|Lieutenant Commander|Blue|RetroSlanted|239209.01|{{stardate}}|Assistant Chief of Science|lightblue|SHIP=''USS Doyle-A''}} | |||
}} | |||
'''Variables''' | '''Variables''' | ||
Line 160: | Line 210: | ||
* 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] | ||
* HEADERTITLE = Will put a title in the first row. It's optional in case the character doesn't start at Starfleet Academy. Leaving it blank will leave a blank row | * HEADERTITLE = Will put a title in the first row. It's optional in case the character doesn't start at Starfleet Academy. Leaving it blank will leave a blank row | ||
* DISPLAYSHIPINROW = if anything is here, it will switch the layout to one that lets you specify the ship per row rather than in a header. This means you will want to display SHIP= per in the personal history listing. | |||
For any questions, or possibly requests, you can leave a line at [[User talk:Ceciri]] | For any questions, or possibly requests, you can leave a line at [[User talk:Ceciri]] | ||
</noinclude> | </noinclude> |
Latest revision as of 11:52, 24 November 2015
This table allows one to create a Starfleet History Table in LCARS style. To invoke, use the following:
Style 1 (Ships not in row)
{{StarfleetHistoryTable |HEADERTITLE=Starfleet Academy |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 | 240112.11 | Chief HCO | |
Style 2: (ships in row)
{{StarfleetHistoryTable |ROUNDBORDER=BOTH |HEADERCOLOR=blue |HEADERTITLE=Professional History |DISPLAYSHIPINROW=true |{{PersonalHistoryListing|Cadet 4th|Black|TNG|236512.01|236612.12|N/A|SHIP=''Starfleet Academy''}} |{{PersonalHistoryListing|Cadet 3rd|Black|TNG|236601.02|236712.20|N/A|SHIP=''Starfleet Academy''}} |{{PersonalHistoryListing|Cadet 2nd|Black|TNG|236701.01|236812.07|N/A|SHIP=''Starfleet Academy''}} |{{PersonalHistoryListing|Cadet 1st|Black|TNG|236812.14|236912.14|N/A|SHIP=''Starfleet Academy''}} |{{PersonalHistoryListing|Ensign|Black|TNG|236912.15|237101.09|Intelligence Officer|SHIP=''[[ma:USS_Cairo|<font style="color: white;">USS Cairo</font>]]''}} |{{PersonalHistoryListing|Lieutenant JG|Black|TNG|237101.09|237208.15|Intelligence Officer|SHIP=''[[ma:USS_Cairo|<font style="color: white;">USS Cairo</font>]]''}} |{{PersonalHistoryListing|Lieutenant JG|Black|DS9|237208.15|237310.27|Intelligence Officer|SHIP=''USS Spector''}} |{{PersonalHistoryListing|Lieutenant|Black|DS9|237310.27|237501.20|Intelligence Officer|SHIP=''USS Spector''}} |{{PersonalHistoryListing|Lieutenant|Black|DS9|237501.22|237901.22|Officer Retraining|SHIP=''Starfleet Academy''}} |{{PersonalHistoryListing|Lieutenant|Blue|DS9|237902.01|238305.22|Science Officer|lightblue|SHIP=''[[StarBase 118 Ops]]''}} |{{PersonalHistoryListing|Lieutenant Commander|Blue|DS9|238305.22|238406.15|Science Officer|lightblue|SHIP=''[[StarBase 118 Ops]]''}} |{{PersonalHistoryListing|Lieutenant Commander|Blue|DS9|238406.19|238702.15|Science Analyst|lightblue|SHIP=''[[Deep Space 285]]''}} |{{PersonalHistoryListing|Lieutenant Commander|Black|DS9|238702.16|239110.19|Mission Analyst|SHIP=''USS Spector''}} |{{PersonalHistoryListing|Lieutenant Commander|Blue|DS9|239110.19|239209.01|Assistant Chief of Science|lightblue|SHIP=''USS Spector''}} |{{PersonalHistoryListing|Lieutenant Commander|Blue|RetroSlanted|239209.01|{{stardate}}|Assistant Chief of Science|lightblue|SHIP=''USS Doyle-A''}} }}
Insignia | Rank | Ship | From | To | Position |
---|---|---|---|---|---|
Cadet 4th | Starfleet Academy | 236512.01 | 236612.12 | N/A | |
Cadet 3rd | Starfleet Academy | 236601.02 | 236712.20 | N/A | |
Cadet 2nd | Starfleet Academy | 236701.01 | 236812.07 | N/A | |
Cadet 1st | Starfleet Academy | 236812.14 | 236912.14 | N/A | |
Ensign | USS Cairo | 236912.15 | 237101.09 | Intelligence Officer | |
Lieutenant JG | USS Cairo | 237101.09 | 237208.15 | Intelligence Officer | |
Lieutenant JG | USS Spector | 237208.15 | 237310.27 | Intelligence Officer | |
Lieutenant | USS Spector | 237310.27 | 237501.20 | Intelligence Officer | |
Lieutenant | Starfleet Academy | 237501.22 | 237901.22 | Officer Retraining | |
Lieutenant | StarBase 118 Ops | 237902.01 | 238305.22 | Science Officer | |
Lieutenant Commander | StarBase 118 Ops | 238305.22 | 238406.15 | Science Officer | |
Lieutenant Commander | Deep Space 285 | 238406.19 | 238702.15 | Science Analyst | |
Lieutenant Commander | USS Spector | 238702.16 | 239110.19 | Mission Analyst | |
Lieutenant Commander | USS Spector | 239110.19 | 239209.01 | Assistant Chief of Science | |
Lieutenant Commander | USS Doyle-A | 239209.01 | 240112.11 | Assistant Chief of Science | |
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
- HEADERTITLE = Will put a title in the first row. It's optional in case the character doesn't start at Starfleet Academy. Leaving it blank will leave a blank row
- DISPLAYSHIPINROW = if anything is here, it will switch the layout to one that lets you specify the ship per row rather than in a header. This means you will want to display SHIP= per in the personal history listing.
For any questions, or possibly requests, you can leave a line at User talk:Ceciri