Template:CharacterListing: Difference between revisions

From 118Wiki
Jump to navigation Jump to search
(I AM A MORON. Missed closing tags on the #ifeq)
(missing |!)
 
(23 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<includeonly>|-
<includeonly>|-
! style="background:#000000;" |{{Pips|{({1|}})|{{PostPipPicker|{({6|}}}}}|{{{4|}}}}}
! style="background:#000000;" |{{Pips|{{{1|}}}|{{PostPipPicker|{{{6|}}}}}|{{{4|}}}}}
! style="background:#000000;" |{{{1|}}}
! style="background:#000000;" |{{{1|}}}
! style="background:#000000;" |{{nwhite|{{{2|}}}|{{{3|}}}}}
! style="background:#000000;" |{{nwhite|{{{2|}}}|{{{3|}}}}}
! 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|}}}}}">'''{{{6|}}}'''</font>
! style="background:#000000;" |<font color="{{PostColorPicker|{{{6|}}}}}">'''{{PostFormatDisplay|{{{6|}}}}}'''</font>
! style="background:#000000;" |{{#ifeq: {{{7|}}} |Active|<font color="green">'''Active'''</font>|<font color="red">'''Inactive'''</font>}}
! 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.
Line 12: Line 11:
* PipStyle - must be included. Use Default if you wish a normal one
* PipStyle - must be included. Use Default if you wish a normal one
* Ship - please use the [[Template:USS]] or [[Template:USSwhite]] templates here.
* 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.)
* 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</noinclude>
* Active - Put Active if the character is active
* Character Type - optional. I added it in case you wanted to put it in.</noinclude>

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.