No edit summary |
m (Minor typo correction) |
||
(17 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<onlyinclude>{| class="infobox" cellpadding=0 cellspacing=0 width= | <onlyinclude>{| class="infobox" cellpadding=0 cellspacing=0 width=320px style="-moz-border-radius:5px; border-radius:5px; border-spacing: 0; font-family: arial, sans-serif; padding: 6px; margin: {{#switch:{{{align|}}}|left=0 1em 1em 0|center=1em 1em 1em 1em|0 0 1em 1em}}; font-size: 11px; line-height: normal; background-color:{{{mainbg|#ffffff}}}; border:2px solid {{{mainborder|#ffffff}}}; float:{{{align|right}}}; color:{{{text|black}}};" | ||
|colspan="2" bgcolor="{{{titlebg|#e6e6e6}}}" style="-moz-border-radius-topleft:3px; -moz-border-radius-topright:3px; padding:12px; color:{{{titletext|black}}}; font-family:arial; font-size: 18.2px; text-align:center;" {{!}} '''{{{name|{{PAGENAME}}}}}''' | |colspan="2" bgcolor="{{{titlebg|#e6e6e6}}}" style="-moz-border-radius-topleft:3px; -moz-border-radius-topright:3px; padding:12px; color:{{{titletext|black}}}; font-family:arial; font-size: 18.2px; text-align:center;" {{!}} '''{{{name|{{PAGENAME}}}}}''' | ||
|- | |- | ||
|style="padding: 2px;"| | |style="padding: 2px;"| | ||
|- | |- | ||
|align="center" colspan="2" style="background-color: {{{imagebg|#ffffff}}}; padding: 2px;"|[[File | |align="center" colspan="2" style="background-color: {{{imagebg|#ffffff}}}; padding: 2px;"|[[File:{{{image|Nobiopic.png}}}|{{{scale|300px}}}]] | ||
|- | |- | ||
{{#if: {{{aff|}}} {{{quote|}}} {{{owner|}}} {{{co|}}} {{{xo|}}} {{{oo|}}} {{{science|}}} {{{|}}} {{{sec|}}} {{{engineer|}}} {{{cmo|}}} {{{pilot|}}} {{{xia}}} {{{discord|}}} {{{status|}}} {{{class|}}} {{{auxtype|}}} {{{auxname|}}} {{{auxtype|}}}|{{!}} colspan="2" style="border-bottom:2px solid {{{line|#ffffff}}}; text-align:center; padding: 2px;"{{!}}{{{caption|}}} }} | {{#if: {{{{type|}}} {{aff|}}} {{{quote|}}} {{{owner|}}} {{{co|}}} {{{xo|}}} {{{oo|}}} {{{science|}}} {{{|}}} {{{sec|}}} {{{engineer|}}} {{{cmo|}}} {{{pilot|}}} {{{xia|}}} {{{ai|}}} {{{discord|}}} {{{status|}}} {{{class|}}} {{{auxtype|}}} {{{auxname|}}} {{{auxtype|}}}|{{!}} colspan="2" style="border-bottom:2px solid {{{line|#ffffff}}}; text-align:center; padding: 2px;"{{!}}{{{caption|}}} }} | ||
|- class{{{name|{{PAGENAME}}}}}="hiddenStructure" | |- class{{{name|{{PAGENAME}}}}}="hiddenStructure" | ||
| colspan="2" style="border-bottom:2px solid {{{line|#ffffff}}}; color:{{{nametext|black}}}; background-color: {{{nicknumbg|#ffffff}}}; font-size: 13.5px; text-align:center; padding: 2px;"|<b><i>{{{fullname|{{PAGENAME}}}}}</i></b> | | colspan="2" style="border-bottom:2px solid {{{line|#ffffff}}}; color:{{{nametext|black}}}; background-color: {{{nicknumbg|#ffffff}}}; font-size: 13.5px; text-align:center; padding: 2px;"|<b><i>{{{fullname|{{PAGENAME}}}}}</i></b> | ||
|- | |- | ||
|style="padding: 2px;"| | |style="padding: 2px;"| | ||
|-class{{#if: {{{aff|}}} {{{quote|}}} {{{owner|}}} {{{co|}}} {{{xo|}}} {{{oo|}}} {{{science|}}} {{{|}}} {{{sec|}}} {{{engineer|}}} {{{cmo|}}} {{{pilot|}}} {{{xia}}} {{{discord|}}} {{{status|}}} {{{class|}}} {{{auxtype|}}} {{{auxname|}}} {{{auxtype|}}}|{{!}}-{{!}}}}="hiddenStructure" | |-class{{#if: {{{type|}}} {{{aff|}}} {{{quote|}}} {{{owner|}}} {{{co|}}} {{{xo|}}} {{{oo|}}} {{{science|}}} {{{|}}} {{{sec|}}} {{{engineer|}}} {{{cmo|}}} {{{pilot|}}} {{{xia|}}} {{{ai|}}} {{{discord|}}} {{{status|}}} {{{class|}}} {{{auxtype|}}} {{{auxname|}}} {{{auxtype|}}}|{{!}}-{{!}}}}="hiddenStructure" | ||
| | | | ||
{|class= "collapsible" cellspacing="0" width="100%" align="center" style="tpadding: 0; background-color:#d9d9d9;" | {|class= "collapsible" cellspacing="0" width="100%" align="center" style="tpadding: 0; background-color:#d9d9d9;" | ||
Line 21: | Line 21: | ||
| | | | ||
{{#if:{{{class|}}}| {{!}} width=47% style="padding: 3px 4px;"{{!}} '''Class:''' {{!!}} {{#ifexist: {{{class}}} | [[{{{class}}}]] | {{{class}}} }} }} | {{#if:{{{class|}}}| {{!}} width=47% style="padding: 3px 4px;"{{!}} '''Class:''' {{!!}} {{#ifexist: {{{class}}} | [[{{{class}}}]] | {{{class}}} }} }} | ||
| | |||
{{#if:{{{type|}}}| {{!}} width=47% style="padding: 3px 4px;"{{!}} '''Type:''' {{!!}} {{#ifexist: {{{type}}} | [[{{{type}}}]] | {{{type}}} }} }} | |||
| | | | ||
{{#if:{{{aff|}}}| {{!}} width=47% style="padding: 3px 4px;"{{!}} '''Affiliation:''' {{!!}} {{#ifexist: {{{aff}}} | [[{{{aff}}}]] | {{{aff}}} }} }} | {{#if:{{{aff|}}}| {{!}} width=47% style="padding: 3px 4px;"{{!}} '''Affiliation:''' {{!!}} {{#ifexist: {{{aff}}} | [[{{{aff}}}]] | {{{aff}}} }} }} | ||
Line 42: | Line 44: | ||
{{#if:{{{pilot|}}}| {{!}} width=47% style="padding: 3px 4px;"{{!}} '''Pilot:''' {{!!}} {{{pilot}}} }} | {{#if:{{{pilot|}}}| {{!}} width=47% style="padding: 3px 4px;"{{!}} '''Pilot:''' {{!!}} {{{pilot}}} }} | ||
| | | | ||
{{#if:{{{xia|}}}| {{!}} width=47% style="padding: 3px 4px;"{{!}} '''[[ | {{#if:{{{xia|}}}| {{!}} width=47% style="padding: 3px 4px;"{{!}} '''[[Xia]]:''' {{!!}} {{{xia}}} }} | ||
| | |||
{{#if:{{{ai|}}}| {{!}} width=47% style="padding: 3px 4px;"{{!}} '''[[MSAI]]:''' {{!!}} {{{ai}}} }} | |||
| | | | ||
{{#if:{{{quote|}}}| {{!}} width=47% style="padding: 3px 4px;"{{!}} '''Quote:''' {{!!}} {{{quote}}} }} | {{#if:{{{quote|}}}| {{!}} width=47% style="padding: 3px 4px;"{{!}} '''Quote:''' {{!!}} {{{quote}}} }} | ||
Line 55: | Line 59: | ||
}} | }} | ||
|} | |} | ||
|}{{#ifeq {{{status|Active}}} | Active | {{#ifexist: Category:{{{aff}}} Vessels and Facilities | [[Category:{{{aff}}} Vessels and Facilities]]}}}}{{#ifeq: {{{status}}} | Destroyed | [[Category:Missing or Destroyed]]|}}{{#ifeq: {{{status}}} | Missing | [[Category:Missing or Destroyed]]|}} | |}{{#ifeq: {{{status|Active}}} | Active | {{#ifexist: Category:{{{aff}}} Vessels and Facilities | [[Category:{{{aff}}} Vessels and Facilities]]}}}}{{#ifeq: {{{status}}} | Unassigned | {{#ifexist: Category:Unassigned {{{aff}}} Vessels and Facilities | [[Category:Unassigned {{{aff}}} Vessels and Facilities]]}}}}{{#ifeq: {{{status}}} | Destroyed | [[Category:Missing or Destroyed]]|}}{{#ifeq: {{{status}}} | Missing | [[Category:Missing or Destroyed]]|}}{{#ifeq: {{{status}}} | Unknown | [[Category:Missing or Destroyed]]|}} | ||
</onlyinclude> | </onlyinclude> | ||
<noinclude> | <noinclude> | ||
Line 75: | Line 79: | ||
|pilot=Your Most Excellent Pilot | |pilot=Your Most Excellent Pilot | ||
|xia=Your Awesome XIA | |xia=Your Awesome XIA | ||
|ai=That Amazing AI | |||
|quote="Once more unto the breech, once more." - William Shakespeare | |quote="Once more unto the breech, once more." - William Shakespeare | ||
|discord=Discord Server Invite Link | |discord=Discord Server Invite Link | ||
|name=Lollipop | |name=Lollipop | ||
|class=Gum-Ball Class Starship | |class=Gum-Ball Class Starship | ||
|type=Jawbreaker Sub-Type | |||
|auxtype=Yellow Submarine | |auxtype=Yellow Submarine | ||
|auxname=Gummy | |auxname=Gummy | ||
|auxpilot=Sweet Pilot Person | |auxpilot=Sweet Pilot Person | ||
|aff=Government | |aff=Government | ||
|status=Active, Missing, Destroyed, Unknown, Unassigned | |||
}} | }} | ||
</pre> | </pre> | ||
The status property tells the template what category to place a ship in and should take one of the values listed: | |||
* Active | |||
* Missing | |||
* Destroyed | |||
* Unknown | |||
* Unassigned | |||
Active and unassigned allow a ship to be easily found when a new captain or pilot character needs a ship. | |||
== Other Options == | == Other Options == | ||
Line 117: | Line 133: | ||
|pilot=Your Most Excellent Pilot | |pilot=Your Most Excellent Pilot | ||
|xia=Your Awesome XIA | |xia=Your Awesome XIA | ||
|ai=That Amazing AI | |||
|quote="Once more unto the breech, once more." - William Shakespeare | |quote="Once more unto the breech, once more." - William Shakespeare | ||
|discord=Discord Server Invite Link | |discord=Discord Server Invite Link | ||
|name=Lollipop | |name=Lollipop | ||
|class=Gum-Ball Class Starship | |class=Gum-Ball Class Starship | ||
|type=Jawbreaker Sub-Type | |||
|auxtype=Yellow Submarine | |auxtype=Yellow Submarine | ||
|auxname=Gummy | |auxname=Gummy |
Latest revision as of 03:11, 3 May 2024
Ship Stats | ||||||
Ship Stats | ||||||
|
Code Example
{{Ship Stats |image=Ship-no-image.png |owner=Big Deal Guy |co=Someone |xo=Someone Else |oo=Third Someone Else |science=Science Dude |sec=Security Dude |engineer=Engineering Dude |cmo=Doctor Dude |pilot=Your Most Excellent Pilot |xia=Your Awesome XIA |ai=That Amazing AI |quote="Once more unto the breech, once more." - William Shakespeare |discord=Discord Server Invite Link |name=Lollipop |class=Gum-Ball Class Starship |type=Jawbreaker Sub-Type |auxtype=Yellow Submarine |auxname=Gummy |auxpilot=Sweet Pilot Person |aff=Government |status=Active, Missing, Destroyed, Unknown, Unassigned }}
The status property tells the template what category to place a ship in and should take one of the values listed:
- Active
- Missing
- Destroyed
- Unknown
- Unassigned
Active and unassigned allow a ship to be easily found when a new captain or pilot character needs a ship.
Other Options
|mainbg= Templates background color. |mainborder= Templates border color. |titletext= Template title color. |titlebg= Title/header bg color. |titleborder= Title/header border color. |imagebg= Image section background color. |headertext= Set color of inner headers text. |headerbg= Set color of inner headers background. |line= Horizontal line(s) color. |nicknumbg= Character Fullname and Player Name Background Color. |esbg= Set color of even rows. |osbg= Set color of odd rows.
- Note: The color customization should be set using hexadecimal format ONLY! If you need help, talk with one of the Wiki editors.
In-Use Example
Lollipop | ||||||||||||||||||||||||||||||||||||||||||
Ship Stats | ||||||||||||||||||||||||||||||||||||||||||
|