Template:CharSum: Difference between revisions
Jump to navigation
Jump to search
(trying to correct it) |
(making width adjustable) |
||
(4 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
< | <includeonly>{|align={{#if: {{{Align|}}}|{{{Align}}}|left}} | ||
| | |style="max-width:{{#if: {{{Width|}}}|{{{Width}}}|600}}; background:lightgrey; border:thin #000000 solid; border-radius:21px 21px 21px 21px"| | ||
{|width=600 style="background:#{{FCBGColor|{{{Color}}}}}; color:{{#switch: {{{Color|}}}| Orange=navy|Gold=navy|Off-White=navy|Pink=navy|White=navy|{{{Color}}}=lightgray}}; border:thin #000000 solid; border-radius:{{#if: {{{FirstName1|}}}|20px 20px 0px 0px|20px 20px 20px 20px}};" | {|width={{#if: {{{Width|}}}|{{{Width}}}|600}} style="background:#{{FCBGColor|{{{Color}}}}}; color:{{#switch: {{{Color|}}}| Orange=navy|Gold=navy|Off-White=navy|Pink=navy|White=navy|{{{Color}}}=lightgray}}; border:thin #000000 solid; border-radius:{{#if: {{{FirstName1|}}}|20px 20px 0px 0px|20px 20px 20px 20px}};" | ||
|width=5| | |width=5| | ||
|rowspan="2"|{{TileCenter|{{{FirstName}}}|{{#if: {{{LastName|}}}|{{{LastName}}}|}}|{{{Color}}}|{{{CurrentPost}}}|{{#if: {{{Image|}}}|{{{Image}}}|}}|10}} | |rowspan="2"|{{TileCenter|{{{FirstName}}}|{{#if: {{{LastName|}}}|{{{LastName}}}|}}|{{{Color}}}|{{{CurrentPost}}}|{{#if: {{{Image|}}}|{{{Image}}}|}}|10}} | ||
Line 34: | Line 34: | ||
|align=right|[[Template:CharSum|{{#switch: {{{Color|}}}|Orange=<font size{{=}}0>|Gold=<font size{{=}}0>|Pink=<font size{{=}}0>|Off-White=<font size{{=}}0>|White=<font size{{=}}0>|{{{Color}}}=<font size{{=}}0 color{{=}}white>}}View Template</font>]] | |align=right|[[Template:CharSum|{{#switch: {{{Color|}}}|Orange=<font size{{=}}0>|Gold=<font size{{=}}0>|Pink=<font size{{=}}0>|Off-White=<font size{{=}}0>|White=<font size{{=}}0>|{{{Color}}}=<font size{{=}}0 color{{=}}white>}}View Template</font>]] | ||
|} | |} | ||
|}<br style="clear:both;" /></ | |}<br style="clear:both;" /></includeonly> | ||
<noinclude> | <noinclude> | ||
==Example== | ==Example== | ||
Line 43: | Line 43: | ||
|CurrentPost=First Officer | |CurrentPost=First Officer | ||
|PrevPost=Prisoner | |PrevPost=Prisoner | ||
|Summary=Having been captured on the ''[[USS Endeavour-A|<font color=white>Endeavour</font>]]'''s first mission and placed in the brig, Jackal was released and asked to assist [[Macarius, Geoffrey|<font color=white>Captain Macarius</font>]] in understanding the disaster and getting the ship back to its own time after the entire crew, save the captain and himself, were killed by an unknown spacial and temporal anomaly. | |Summary=Having been captured on the ''[[USS Endeavour-A|<font color=white>Endeavour</font>]]'''s first mission and placed in the brig, Jackal was released and asked to assist [[Macarius, Geoffrey|<font color=white>Captain Macarius</font>]] in understanding the disaster and getting the ship back to its own time after the entire crew, save the captain and himself, were killed by an unknown spacial and temporal anomaly.}} | ||
==Directions== | ==Directions== |
Latest revision as of 16:16, 15 September 2014
Example
|
Directions
For this same template, but with a ship (or two) at the top, use Template:ShipCharSum. To use as the intro blurb on your character page (or for any other reason), just type the following:
{{CharSum |Color = |Rank = (optional) |FirstName = |LastName = |CurrentPost = |Image = (file name of your character pic) |PrevPost = (optional, any or all posts you've previously served on aboard this ship) |StartDate = (Real time date, or Stardate, whichever you prefer) |EndDate = (ditto) |Summary = (the summary description of your character) }}
If you'd like to display two or three characters on the same template, use the following. For only two characters, just delete all the lines with a "2" in the names.
{{CharSum |Color = (department color of your first character) |Rank = (optional) |FirstName = |LastName = |CurrentPost = |Image = (file name of your character pic) |PrevPost = (optional, any or all posts your 1st character has previously served aboard this ship) |StartDate = (Real time date, or Stardate, whichever you prefer) |EndDate = (ditto) |Summary = (the summary description of your first character) |Color1 = (department color of your second character) |Rank1 = (optional) |FirstName1 = |LastName1 = |CurrentPost1 = |Image1 = (file name of your second character's pic) |PrevPost1 = (optional, any or all posts your 2nd character has previously served) |StartDate1 = (Real time date, or Stardate, whichever you prefer) |EndDate1 = (ditto) |Summary1 = (the summary description of your second character) |Color2 = (department color of your third character) |Rank2 = (optional) |FirstName2 = |LastName2 = |CurrentPost2 = |Image2 = (file name of your third character's pic) |PrevPost2 = (optional, any or all posts your 3rd character has previously served) |StartDate2 = (Real time date, or Stardate, whichever you prefer) |EndDate2 = (ditto) |Summary2 = (the summary description of your third character) }}