Template:Shipinfo

(Difference between revisions)
Jump to: navigation, search
m
(updated)
Line 1: Line 1:
 
{|cellpadding="2" style="float: right; width: 260px; background: #e3e3e3; margin-left: 1em; border-spacing: 1px;"
 
{|cellpadding="2" style="float: right; width: 260px; background: #e3e3e3; margin-left: 1em; border-spacing: 1px;"
|----- bgcolor="#FFFFFF"
+
{{ #if: {{{image_name|}}} |
! colspan="2"   | <center>[[Image:{{{image_name}}}|260px]]</center>
+
{{!-}} bgcolor="#FFFFFF"  
|-----
+
! colspan="2" {{!}} <center>[[Image:{{{image_name}}}|center|260px]]</center>
 +
}}
 +
|-
 
! colspan="2"  | <center>Facts</center>
 
! colspan="2"  | <center>Facts</center>
|----- bgcolor="#FFFFFF"
+
|- bgcolor="#FFFFFF"
| Class || {{{class}}}
+
| Class || {{#if: {{{class|}}} | {{ #ifexist: {{{class}}} | [[{{{class}}}]] | {{{class}}} }} | unknown shipclass }}
|----- bgcolor="#FFFFFF"
+
|- bgcolor="#FFFFFF"
| Serial Number || {{{serial}}}
+
| Serial Number || {{#if: {{{serial|}}} | {{{serial}}} | unknown }}
|----- bgcolor="#FFFFFF"
+
|- bgcolor="#FFFFFF"
| Commander || {{{commander}}}
+
| Commander || {{#if: {{{commander|}}} | {{ #ifexist: {{{commander}}} | [[{{{commander}}}]] | {{{commander}}} }} | unknown }}
|----- bgcolor="#FFFFFF"
+
|- bgcolor="#FFFFFF"
| Belonging || {{{owner}}}
+
| Belonging || {{#if: {{{owner|}}} | {{ #ifexist: {{{owner}}} | [[{{{owner}}}]] | {{{owner}}} }} | unknown }}
|----- bgcolor="#FFFFFF"
+
|- bgcolor="#FFFFFF"
| Construction Facility || {{{constructor}}}
+
| Construction Facility || {{#if: {{{constructor|}}} | {{ #ifexist: {{{constructor}}} | [[{{{constructor}}}]] | {{{constructor}}} }} | unknown }}
|----- bgcolor="#FFFFFF"
+
|- bgcolor="#FFFFFF"
| Home Planet || {{{home_system}}}
+
| Home Planet || {{#if: {{{home_system|}}} | {{ #ifexist: {{{home_system}}} | [[{{{home_system}}}]] | {{{home_system}}} }} | unknown }}
|----- bgcolor="#FFFFFF"
+
|- bgcolor="#FFFFFF"
| Status || {{{status}}}
+
| Status || {{#if: {{{status|}}} | {{{status}}} | unknown }}
 
|}
 
|}
  
Line 45: Line 47:
 
</pre>
 
</pre>
  
'''Example (Resolution of Hector)'''
+
'''Example ([[Resolution of Hector]])'''
 
<pre>
 
<pre>
 
{{Shipinfo
 
{{Shipinfo
 
|image_name  =Resolution.jpg
 
|image_name  =Resolution.jpg
|class      =unknown
+
|class      =
|serial      =unknown
+
|serial      =
|commander  =[[Balance of Judgement]]
+
|commander  =Balance of Judgement
 
|owner      =[[Commonwealth]]/[[Restorians]]
 
|owner      =[[Commonwealth]]/[[Restorians]]
|constructor =[[Sinti]]
+
|constructor =Sinti
|home_system =[[Sinti]]
+
|home_system =Sinti
 
|status      =destroyed
 
|status      =destroyed
 
}}
 
}}

Revision as of 22:58, 20 April 2007

Facts
Class unknown shipclass
Serial Number unknown
Commander unknown
Belonging unknown
Construction Facility unknown
Home Planet unknown
Status unknown





Usage

Universal

{{Shipinfo
|image_name  ="name of the image"
|class       ="class of the ship"
|serial      ="serial Number the ship"
|commander   ="name of the commander"
|owner       ="the race / group it belongs to"
|constructor ="the race/shipyard/person who constructed the ship"
|home_system ="the system/planet it mainly belongs to"
|status      ="status of the Ship (active,inactive,stolen,destroyed,etc)"
}}

Example (Resolution of Hector)

{{Shipinfo
|image_name  =Resolution.jpg
|class       =
|serial      =
|commander   =Balance of Judgement
|owner       =[[Commonwealth]]/[[Restorians]]
|constructor =Sinti
|home_system =Sinti
|status      =destroyed
}}
Personal tools
Namespaces
Variants
Actions
Navigation
Toolbox
In other languages