Difference between revisions of "Template:PersonalHistoryListing"

From 118Wiki
Jump to navigation Jump to search
(>_>)
(link to master table added.)
 
(10 intermediate revisions by 3 users not shown)
Line 1: Line 1:
 
<includeonly>|-
 
<includeonly>|-
 
! style="background:#000000;" |{{Pips|{{{1|}}}|{{{2}}}|{{{3|}}}}}
 
! style="background:#000000;" |{{Pips|{{{1|}}}|{{{2}}}|{{{3|}}}}}
! style="background:#000000;" |{{#ifeq: {{{1|}}}|Blank||{{{1|}}}}}
+
! style="background:#000000;" |{{#ifeq: {{{1|}}}|Blank||{{{1|}}}}} {{#if: {{{SHIP|}}}|
 +
{{!}}{{!}} {{{SHIP|}}}|}}
 
! style="background:#000000;" |{{{4|}}}
 
! style="background:#000000;" |{{{4|}}}
 
! style="background:#000000;" |{{{5|}}}
 
! style="background:#000000;" |{{{5|}}}
! style="background:#000000;" |<font color="{{#if:{{{7|}}}|{{{7|}}}|{{{2|}}}}}">{{{6|}}}</font>
+
! style="background:#000000;" |<font color="{{{7|{{#switch:{{{2|}}}|black=white|Black=white|{{{2|}}}}}}}}">{{{6|}}}</font>
 
|-</includeonly><noinclude>This template adds a character listing. The variables are, in order:
 
|-</includeonly><noinclude>This template adds a character listing. The variables are, in order:
 
* Rank - The character's rank.
 
* Rank - The character's rank.
Line 12: Line 13:
 
* End Date - the end of the date
 
* End Date - the end of the date
 
* Position - The position of the character.
 
* Position - The position of the character.
* Position Color - If specified, will color the position this way</noinclude>
+
* Position Color - If specified, will color the position this way
 +
<br>
 +
Optional Parameters:
 +
* SHIP. If specified, it will add in the ship name to the listing. Only use if you have specified DISPLAYINROW on the main table.
 +
 
 +
This template is meant for use with [[Template:StarfleetHistoryTable]]. For any questions, please contact [[User:Ceciri]] </noinclude>

Latest revision as of 11:54, 24 November 2015

This template adds a character listing. The variables are, in order:

  • Rank - The character's rank.
  • Position Color - The position color. (red, gold, blue, teal) for pips. You may specify lightblue if you wish.
  • PipStyle - must be included. Use Default if you wish a normal one
  • Beginning Date - the beginning of the date
  • End Date - the end of the date
  • Position - The position of the character.
  • Position Color - If specified, will color the position this way


Optional Parameters:

  • SHIP. If specified, it will add in the ship name to the listing. Only use if you have specified DISPLAYINROW on the main table.

This template is meant for use with Template:StarfleetHistoryTable. For any questions, please contact User:Ceciri