Template:ShipCharSum: Difference between revisions

From 118Wiki
Jump to navigation Jump to search
(making edges rounder)
(tightening frame)
 
(13 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly>{|align=left
<includeonly>{|align={{#if: {{{Align|}}}|{{{Align}}}|left}}
|style="max-width:600px; background:lightgrey; border-radius:20px 20px 20px 20px;"|
|style="max-width:600px; background:lightgrey; border:thin #000000 solid; border-radius:21px 21px 21px 21px;"|
{| align=center
{| align=center
|width=275 align=center|<font size=5>'''''[[{{{Ship}}}{{#if: {{{ShipNick|}}}|{{!}}{{{ShipNick}}}|}}]]'''''</font><br>[[File:{{{ShipClass}}}-scale.png|link={{{Ship}}}]]
|width=275 align=center|<font size=5>'''''[[{{{Ship}}}{{#if: {{{ShipNick|}}}|{{!}}{{{ShipNick}}}|}}]]'''''</font>{{#if: {{{NoPic|}}}||<br>[[File:{{{ShipClass}}}-scale.png|link={{{Ship}}}]]}}
{{#if: {{{Ship1|}}}|{{!}}align=center{{!}}<font size=5>'''''[[{{{Ship1}}}{{#if: {{{Ship1Nick|}}}|{{!}}{{{Ship1Nick}}}|}}]]'''''</font><br>[[File:{{{Ship1Class}}}-scale.png|link={{{Ship1}}}]]|}}
{{#if: {{{Ship1|}}}|{{!}}align=center{{!}}<font size=5>'''''[[{{{Ship1}}}{{#if: {{{Ship1Nick|}}}|{{!}}{{{Ship1Nick}}}|}}]]'''''</font>{{#if: {{{NoPic1|}}}||<br>[[File:{{{Ship1Class}}}-scale.png|link={{{Ship1}}}]]}}|}}
|-
|-
|align=center|'''{{{ShipReg}}}'''<br>[[ma:{{{ShipClass}}} class|''{{{ShipClass}}}'' class]]
|align=center|'''{{{ShipReg}}}'''<br>[[ma:{{{ShipClass}}} class|''{{{ShipClass}}}'' class]]
{{#if: {{{Ship1|}}}|{{!}}align=center{{!}}'''{{{Ship1Reg}}}'''<br>[[ma:{{{Ship1Class}}} class|''{{{Ship1Class}}}'' class]]|}}
{{#if: {{{Ship1|}}}|{{!}}align=center{{!}}'''{{{Ship1Reg}}}'''<br>[[ma:{{{Ship1Class}}} class|''{{{Ship1Class}}}'' class]]|}}
|}
|}
<font size=3><center>'''Commanding {{#if: {{{CO2-First|}}}|Officers|Officer}}: {{n|{{{CO1-First}}}|{{#if: {{{CO1-Last|}}}|{{{CO1-Last}}}|}}}}{{#if: {{{CO2-First|}}}|{{#if: {{{CO3-First|}}}|, {{n|{{{CO2-First}}}|{{#if: {{{CO2-Last|}}}|{{{CO2-Last}}}|}}}}, & {{n|{{{CO3-First}}}|{{#if: {{{CO3-Last|}}}|{{{CO3-Last}}}|}}}}|<font> & {{n|{{{CO2-First}}}|{{#if: {{{CO2-Last|}}}|{{{CO2-Last}}}|}}}}</font>}}|}}'''</center></font>
{{#if: {{{CO1-First|}}}|<font size=3><center>'''Commanding {{#if: {{{CO2-First|}}}|Officers|Officer}}: {{n|{{{CO1-First}}}|{{#if: {{{CO1-Last|}}}|{{{CO1-Last}}}|}}}}{{#if: {{{CO2-First|}}}|{{#if: {{{CO3-First|}}}|, {{n|{{{CO2-First}}}|{{#if: {{{CO2-Last|}}}|{{{CO2-Last}}}|}}}}, & {{n|{{{CO3-First}}}|{{#if: {{{CO3-Last|}}}|{{{CO3-Last}}}|}}}}|<font> & {{n|{{{CO2-First}}}|{{#if: {{{CO2-Last|}}}|{{{CO2-Last}}}|}}}}</font>}}|}}'''</center></font>|}}
{|width=600 align=center style="background:#{{DefBGColor|{{{Color}}}}}; color:{{#switch: {{{Color|}}}| Orange=navy|Gold=navy|White=navy|{{{Color}}}=lightgray}}; border-radius:{{#if: {{{FirstName1|}}}|20px 20px 0px 0px|20px 20px 20px 20px}};"
{|width=600 align=center style="border:thin #000000 solid; background:#{{FCBGColor|{{{Color}}}}}; color:{{#switch: {{{Color|}}}| Orange=navy|Gold=navy|Off-White=navy|Pink=navy|White=navy|{{{Color}}}=lightgray}}; border-radius:{{#if: {{{FirstName1|}}}|20px 20px 0px 0px|20px 20px 20px 20px}};"
|width=5|
|width=5|
|{{TileCenter|{{{FirstName}}}|{{#if: {{{LastName|}}}|{{{LastName}}}|}}|{{{Color}}}|{{{CurrentPost}}}|{{#if: {{{Image|}}}|{{{Image}}}|}}|10}}
|rowspan="2"|{{TileCenter|{{{FirstName}}}|{{#if: {{{LastName|}}}|{{{LastName}}}|}}|{{{Color}}}|{{{CurrentPost}}}|{{#if: {{{Image|}}}|{{{Image}}}|}}|10}}
|width=5|
|width=5|
|
|
*'''{{#if: {{{Rank|}}}|{{{Rank}}}|}} [[{{nraw|{{{FirstName}}}|{{#if: {{{LastName|}}}|{{{LastName}}}|}}}}|{{#if: {{{Nickname|}}}|{{#switch: {{{Color|}}}|Orange=<font>|Gold=<font>|White=<font>|{{{Color}}}=<font color{{=}}white>}}{{{Nickname}}}|{{#switch: {{{Color|}}}|Orange=<font>|Gold=<font>|White=<font>|{{{Color}}}=<font color{{=}}white>}}{{{FirstName}}} {{#if: {{{LastName|}}}|{{{LastName}}}|}}}}</font>]]''': {{#if: {{{StartDate|}}}|{{{StartDate}}}|Past}} to {{#if: {{{EndDate|}}}|{{{EndDate}}}|Present}}
*'''{{#if: {{{Rank|}}}|{{{Rank}}}|}} [[{{nraw|{{{FirstName}}}|{{#if: {{{LastName|}}}|{{{LastName}}}|}}}}|{{#if: {{{Nickname|}}}|{{#switch: {{{Color|}}}|Orange=<font>|Gold=<font>|White=<font>|{{{Color}}}=<font color{{=}}white>}}{{{Nickname}}}|{{#switch: {{{Color|}}}|Orange=<font>|Gold=<font>|Off-White=<font>|Pink=<font>|White=<font>|{{{Color}}}=<font color{{=}}white>}}{{{FirstName}}} {{#if: {{{LastName|}}}|{{{LastName}}}|}}}}</font>]]''': {{#if: {{{StartDate|}}}|{{{StartDate}}}|Past}} to {{#if: {{{EndDate|}}}|{{{EndDate}}}|Present}}
**'''{{#if: {{{PrevPost|}}}|<font>{{{PrevPost}}}, </font>|}}{{{CurrentPost}}}'''
**'''{{#if: {{{PrevPost|}}}|<font>{{{PrevPost}}}, </font>|}}{{{CurrentPost}}}'''
{{{Summary}}}
{{{Summary}}}
|width=5|
|width=5|
|-
{{#if: {{{FirstName1|}}}|{{!)}}
|
{{(!}}width=600 align=center style="border:thin #000000 solid; background:#{{FCBGColor|{{{Color1}}}}}; color:{{#switch: {{{Color1|}}}|Orange=navy|Gold=navy|Off-White=navy|Pink=navy|White=navy|{{{Color1}}}=lightgray}}; border-radius:{{#if: {{{FirstName2|}}}|0px 0px 0px 0px|0px 0px 20px 20px}};"
|
|
|align=right|[[Template:ShipCharSum|{{#switch: {{{Color|}}}|Orange=<font size{{=}}0>|Gold=<font size{{=}}0>|White=<font size{{=}}0>|{{{Color}}}=<font size{{=}}0 color{{=}}white>}}View Template</font>]]
|}{{#if: {{{FirstName1|}}}|{{(!}}width=600 align=center style="background:#{{DefBGColor|{{{Color1}}}}}; color:{{#switch: {{{Color1|}}}|Orange=navy|Gold=navy|White=navy|{{{Color1}}}=lightgray}}; border-radius:{{#if: {{{FirstName2|}}}|0px 0px 0px 0px|0px 0px 20px 20px}};"
{{!}}width=5{{!}}
{{!}}width=5{{!}}
{{!}}{{TileCenter|{{{FirstName1}}}|{{#if: {{{LastName1|}}}|{{{LastName1}}}|}}|{{{Color1}}}|{{{CurrentPost1}}}|{{#if: {{{Image1|}}}|{{{Image1}}}|}}|10}}
{{!}}rowspan="2"{{!}}{{TileCenter|{{{FirstName1}}}|{{#if: {{{LastName1|}}}|{{{LastName1}}}|}}|{{{Color1}}}|{{{CurrentPost1}}}|{{#if: {{{Image1|}}}|{{{Image1}}}|}}|10}}
{{!}}width=5{{!}}
{{!}}width=5{{!}}
{{!}}
{{!}}
*'''{{#if: {{{Rank1|}}}|{{{Rank1}}}|}} [[{{nraw|{{{FirstName1}}}|{{#if: {{{LastName1|}}}|{{{LastName1}}}|}}}}|{{#if: {{{Nickname1|}}}|<font{{#switch: {{{Color1|}}}|Orange=<font>|Gold=<font>|White=<font>|{{{Color1}}}=<font color{{=}}white>}}{{{Nickname1}}}|{{#switch: {{{Color1|}}}|Orange=<font>|Gold=<font>|White=<font>|{{{Color1}}}=<font color{{=}}white>}}{{{FirstName1}}} {{#if: {{{LastName1|}}}|{{{LastName1}}}|}}}}</font>]]''': {{#if: {{{StartDate1|}}}|{{{StartDate1}}}|Past}} to {{#if: {{{EndDate1|}}}|{{{EndDate1}}}|Present}}
*'''{{#if: {{{Rank1|}}}|{{{Rank1}}}|}} [[{{nraw|{{{FirstName1}}}|{{#if: {{{LastName1|}}}|{{{LastName1}}}|}}}}|{{#if: {{{Nickname1|}}}|<font{{#switch: {{{Color1|}}}|Orange=<font>|Gold=<font>|Off-White=<font>|Pink=<font>|White=<font>|White=<font>|{{{Color1}}}=<font color{{=}}white>}}{{{Nickname1}}}|{{#switch: {{{Color1|}}}|Orange=<font>|Gold=<font>|White=<font>|{{{Color1}}}=<font color{{=}}white>}}{{{FirstName1}}} {{#if: {{{LastName1|}}}|{{{LastName1}}}|}}}}</font>]]''': {{#if: {{{StartDate1|}}}|{{{StartDate1}}}|Past}} to {{#if: {{{EndDate1|}}}|{{{EndDate1}}}|Present}}
**'''{{#if: {{{PrevPost1|}}}|<font>{{{PrevPost1}}}, </font>|}}{{{CurrentPost1}}}'''
**'''{{#if: {{{PrevPost1|}}}|<font>{{{PrevPost1}}}, </font>|}}{{{CurrentPost1}}}'''
{{{Summary1}}}
{{{Summary1}}}
{{!}}width=5{{!}}|}}
{{#if: {{{FirstName2|}}}|{{!)}}
{{(!}}width=600 align=center style="border:thin #000000 solid; background:#{{FCBGColor|{{{Color2}}}}}; color:{{#switch: {{{Color2|}}}|Orange=navy|Gold=navy|Off-White=navy|Pink=navy|White=navy|{{{Color2}}}=lightgray}}; border-radius:0px 0px 20px 20px;"
{{!}}width=5{{!}}
{{!}}width=5{{!}}
{{!)}}|}}{{#if: {{{FirstName2|}}}|{{(!}}width=600 align=center style="background:#{{DefBGColor|{{{Color2}}}}}; color:{{#switch: {{{Color2|}}}|Orange=navy|Gold=navy|White=navy|{{{Color2}}}=lightgray}}; border-radius:0px 0px 20px 20px;"
{{!}}rowspan="2"{{!}}{{TileCenter|{{{FirstName2}}}|{{#if: {{{LastName2|}}}|{{{LastName2}}}|}}|{{{Color2}}}|{{{CurrentPost2}}}|{{#if: {{{Image2|}}}|{{{Image2}}}|}}|10}}
{{!}}width=5{{!}}
{{!}}{{TileCenter|{{{FirstName2}}}|{{#if: {{{LastName2|}}}|{{{LastName2}}}|}}|{{{Color2}}}|{{{CurrentPost2}}}|{{#if: {{{Image2|}}}|{{{Image2}}}|}}|10}}
{{!}}width=5{{!}}
{{!}}width=5{{!}}
{{!}}
{{!}}
*'''{{#if: {{{Rank2|}}}|{{{Rank2}}}|}} [[{{nraw|{{{FirstName2}}}|{{#if: {{{LastName2|}}}|{{{LastName2}}}|}}}}|{{#if: {{{Nickname2|}}}|<font{{#switch: {{{Color2|}}}|Orange=<font>|Gold=<font>|White=<font>|{{{Color2}}}=<font color{{=}}white>}}{{{Nickname2}}}|{{#switch: {{{Color2|}}}|Orange=<font>|Gold=<font>|White=<font>|{{{Color2}}}=<font color{{=}}white>}}{{{FirstName2}}} {{#if: {{{LastName2|}}}|{{{LastName2}}}|}}}}</font>]]''': {{#if: {{{StartDate2|}}}|{{{StartDate2}}}|Past}} to {{#if: {{{EndDate2|}}}|{{{EndDate2}}}|Present}}
*'''{{#if: {{{Rank2|}}}|{{{Rank2}}}|}} [[{{nraw|{{{FirstName2}}}|{{#if: {{{LastName2|}}}|{{{LastName2}}}|}}}}|{{#if: {{{Nickname2|}}}|<font{{#switch: {{{Color2|}}}|Orange=<font>|Gold=<font>|Off-White=<font>|Pink=<font>|White=<font>|White=<font>|{{{Color2}}}=<font color{{=}}white>}}{{{Nickname2}}}|{{#switch: {{{Color2|}}}|Orange=<font>|Gold=<font>|White=<font>|{{{Color2}}}=<font color{{=}}white>}}{{{FirstName2}}} {{#if: {{{LastName2|}}}|{{{LastName2}}}|}}}}</font>]]''': {{#if: {{{StartDate2|}}}|{{{StartDate2}}}|Past}} to {{#if: {{{EndDate2|}}}|{{{EndDate2}}}|Present}}
**'''{{#if: {{{PrevPost2|}}}|<font>{{{PrevPost2}}}, </font>|}}{{{CurrentPost2}}}'''
**'''{{#if: {{{PrevPost2|}}}|<font>{{{PrevPost2}}}, </font>|}}{{{CurrentPost2}}}'''
{{{Summary2}}}
{{{Summary2}}}
{{!}}width=5{{!}}
{{!}}width=5{{!}}|}}
{{!)}}|}}
|-
|}<br style="clear:both;" />
|
</includeonly>
|
|align=right|[[Template:ShipCharSum|{{#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;" /></includeonly>
<noinclude>
<noinclude>
==Example==
==Example==
Line 60: Line 60:
|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==
For this same template, but without the ship at the top, use [[Template:CharSum]]. If, instead, you only want the ship & CO portion, use [[Template:ShipSum]]. To use as the intro blurb on your character page (or for any other reason), just type the following. The ship images used can be found [[:Category:Ships to Scale|here]]; don't copy over the file names into the "ShipClass = " line, just put the class name (e.g. "ShipClass = Akira" or "ShipClass = Galaxy").
For this same template, but without the ship at the top, use [[Template:CharSum]]. If, instead, you only want the ship & CO portion, use [[Template:ShipSum]]. To use as the intro blurb on your character page (or for any other reason), just type the following. The ship images used can be found [[:Category:Ships to Scale|here]]; don't copy over the file names into the "ShipClass = " line, just put the class name (e.g. "ShipClass = Akira" or "ShipClass = Galaxy").

Latest revision as of 20:23, 8 September 2014


Example

USS Endeavour
Galaxy-scale.png
NCC-1895-A
Galaxy class
Commanding Officer: Geoffrey Macarius
Roster-blank.jpg
First Officer
Henry Jackal

Having been captured on the Endeavour's first mission and placed in the brig, Jackal was released and asked to assist Captain Macarius 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.


View Template



Directions

For this same template, but without the ship at the top, use Template:CharSum. If, instead, you only want the ship & CO portion, use Template:ShipSum. To use as the intro blurb on your character page (or for any other reason), just type the following. The ship images used can be found here; don't copy over the file names into the "ShipClass = " line, just put the class name (e.g. "ShipClass = Akira" or "ShipClass = Galaxy").

{{ShipCharSum
|Ship = 
|ShipNick = (optional, in case you'd like the title to hide the "-C"
or whatever letter from your ship's name)
|ShipClass = 
|ShipReg = 
|CO1-First = 
|CO1-Last = (optional, in case your CO only has one name)
|CO2-First = (optional, in case you've served under two COs on the same ship)
|CO2-Last = (optional, see above)
|CO3-First = (optional, in case you've served under three COs on the same ship)
|CO3-Last = (optional, see above)
|Color = (department color of your character)
|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've played the same character on two ships, use the following on your page:

{{ShipCharSum
|Ship = 
|ShipNick = (optional, in case if you'd like the title to hide the "-C"
or whatever letter from your ship's name)
|ShipClass = 
|ShipReg = 
|Ship1 = 
|Ship1Nick = (optional, see above)
|Ship1Class = 
|Ship1Reg = 
|CO1-First = 
|CO1-Last = (optional, in case your CO only has one name)
|CO2-First = (optional, in case you've served under two COs on thees ships)
|CO2-Last = (optional, see above)
|CO3-First = (optional, in case you've served under three COs on these ships)
|CO3-Last = (optional, see above)
|Color = (department color of your character)
|Rank = (optional)
|FirstName = 
|LastName = 
|CurrentPost = 
|Image = (file name of your character pic)
|PrevPost = (optional, any or all posts you've previously served aboard this ship)
|StartDate = (Real time date, or Stardate, whichever you prefer)
|EndDate = (ditto)
|Summary = (the summary description of your character)
}}

If you've played two or three characters on the same ship, use the following. For only two characters, just delete all the lines with a "2" in the names.

{{ShipCharSum
|Ship = 
|ShipNick = (optional, in case you'd like the title to hide the "-C"
or whatever letter from your ship's name)
|ShipClass = 
|ShipReg = 
|CO1-First = 
|CO1-Last = (optional, in case your CO only has one name)
|CO2-First = (optional, in case you've served under two COs on the same ship)
|CO2-Last = (optional, see above)
|CO3-First = (optional, in case you've served under three COs on the same ship)
|CO3-Last = (optional, see above)
|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)
}}