Template:CharacterListing: Difference between revisions

From 118Wiki
Jump to navigation Jump to search
(hmm.. removing the if)
(missing |!)
 
(8 intermediate revisions by 2 users not shown)
Line 5: Line 5:
! style="background:#000000;" |<font color=white>{{ShipPicker|{{{5|}}}}}</font>
! style="background:#000000;" |<font color=white>{{ShipPicker|{{{5|}}}}}</font>
! style="background:#000000;" |<font color="{{PostColorPicker|{{{6|}}}}}">'''{{PostFormatDisplay|{{{6|}}}}}'''</font>
! style="background:#000000;" |<font color="{{PostColorPicker|{{{6|}}}}}">'''{{PostFormatDisplay|{{{6|}}}}}'''</font>
! style="background:#000000;" |{{#ifeq: {{{7|}}} |Active|<font color="green">'''Active'''</font> {{{8|}}}|<font color="red">'''Inactive'''</font> {{{8|}}}}}
! style="background:#000000;" |{{#ifeq: {{{7|}}} |Active|<font color="green">'''Active'''</font> {{#if: {{{8|}}}|''{{{8|}}}''|}}|<font color="red">'''Inactive'''</font> {{#if: {{{8|}}}|''{{{8|}}}''|}}}}
|-</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.

Latest revision as of 04:28, 28 June 2015

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

  • Rank - The character's rank.
  • Name - The character's name
  • PipStyle - must be included. Use Default if you wish a normal one
  • Ship - please use the Template:USS or Template:USSwhite templates here.
  • Post - Where is the person on the ship? (i.e Tactical, Engineering, Command, - The division not the post.) Do not use Officer at the end. Just the post (If you don't get a working post, please put the division there instead.) For examples of what to say for certain posts, please check Template:PostFormatDisplay. If you want to add more, please contact me at User:Ceciri
  • Active - Put Active if the character is active
  • Character Type - optional. I added it in case you wanted to put it in.