Difference between revisions of "Template:PersonalHistoryListing"

From 118Wiki
Jump to navigation Jump to search
(fixing if black make white statement)
(added both lower and upper case black)
Line 4: Line 4:
 
! style="background:#000000;" |{{{4|}}}
 
! style="background:#000000;" |{{{4|}}}
 
! style="background:#000000;" |{{{5|}}}
 
! style="background:#000000;" |{{{5|}}}
! style="background:#000000;" |<font color="{{#ifeq:{{{7|}}}||{{#ifeq:{{{2|}}}|black|white|{{{2|}}}}}|{{{7}}}}}">{{{6|}}}</font>
+
! style="background:#000000;" |<font color="{{#ifeq:{{{7|}}}||{{#switch:{{{2|}}}|black=white|Black=white|{{{2|}}}}}|{{{7}}}}}">{{{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.

Revision as of 00:04, 9 April 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