Difference between revisions of "Template:Ship"
From Conservapedia
(Smaller flag) |
m |
||
(11 intermediate revisions by 2 users not shown) | |||
Line 3: | Line 3: | ||
|- | |- | ||
<!----------Image----------> | <!----------Image----------> | ||
− | {{!}}align="center" colspan="2"{{!}}{{#if:{{{image|}}}|[[image:{{{image}}}|250px]]|}} | + | {{!}}align="center" colspan="2"{{!}}{{#if:{{{image|}}}|[[image:{{{image}}}|250px{{#if:{{{caption|}}}|{{!}}frame{{!}}{{{caption}}}|}}]]|}} |
{{!-}} | {{!-}} | ||
|colspan="2" align="center" style="color: MidnightBlue; font-size: 100%; height: 18px; background: LightBlue no-repeat scroll top left;"| '''Career''' | |colspan="2" align="center" style="color: MidnightBlue; font-size: 100%; height: 18px; background: LightBlue no-repeat scroll top left;"| '''Career''' | ||
Line 37: | Line 37: | ||
{{!}}width=40%{{!}} '''Shipyard''' | {{!}}width=40%{{!}} '''Shipyard''' | ||
{{!}} {{{built|}}} | <!--else--> | {{!}} {{{built|}}} | <!--else--> | ||
+ | }} | ||
+ | {{!-}} | ||
+ | <!----Type-----------------> | ||
+ | {{#if:{{{type|}}} | <!--then:--> | ||
+ | {{!}}width=40%{{!}} '''Type''' | ||
+ | {{!}} {{{type|}}} | <!--else--> | ||
+ | }} | ||
+ | {{!-}} | ||
+ | <!----Authorized-----------> | ||
+ | {{#if:{{{authorized|}}} | <!--then:--> | ||
+ | {{!}}width=40%{{!}} '''Authorized''' | ||
+ | {{!}} {{{authorized|}}} | <!--else--> | ||
+ | }} | ||
+ | {{!-}} | ||
+ | <!----Keel laid-----------> | ||
+ | {{#if:{{{keellaid|}}} | <!--then:--> | ||
+ | {{!}}width=40%{{!}} '''Keel laid''' | ||
+ | {{!}} {{{keellaid|}}} | <!--else--> | ||
}} | }} | ||
{{!-}} | {{!-}} | ||
Line 45: | Line 63: | ||
}} | }} | ||
{{!-}} | {{!-}} | ||
− | <!---- | + | <!----Commissioned-----------> |
− | {{#if:{{{ | + | {{#if:{{{commissioned|}}} | <!--then:--> |
− | {{!}}width=40%{{!}} ''' | + | {{!}}width=40%{{!}} '''Commissioned''' |
− | {{!}} {{{ | + | {{!}} {{{commissioned|}}} | <!--else--> |
}} | }} | ||
{{!-}} | {{!-}} | ||
− | <!---- | + | <!----Decommissioned------------> |
− | {{#if:{{{ | + | {{#if:{{{decommissioned|}}} | <!--then:--> |
− | {{!}}width=40%{{!}} ''' | + | {{!}}width=40%{{!}} '''Decommissioned''' |
− | {{!}} {{{ | + | {{!}} {{{decommissioned|}}} | <!--else--> |
}} | }} | ||
{{!-}} | {{!-}} | ||
Line 105: | Line 123: | ||
{{!}} '''Armament''' | {{!}} '''Armament''' | ||
{{!}} {{{armament|}}} | <!--else--> | {{!}} {{{armament|}}} | <!--else--> | ||
+ | }} | ||
+ | {{!-}} | ||
+ | <!----Aircraft------------> | ||
+ | {{#if:{{{aircraft|}}} | <!--then:--> | ||
+ | {{!}} '''Aircraft''' | ||
+ | {{!}} {{{aircraft|}}} | <!--else--> | ||
}} | }} | ||
{{!-}} | {{!-}} | ||
Line 127: | Line 151: | ||
|} | |} | ||
<includeonly>[[Category:Ships]]</includeonly> | <includeonly>[[Category:Ships]]</includeonly> | ||
− | <noinclude>[[Category:Template]] | + | <noinclude>[[Category:Template|{{PAGENAME}}]] |
{{TemplateDoc|pages=Ship articles|purpose=Infobox|cat=Ships}} | {{TemplateDoc|pages=Ship articles|purpose=Infobox|cat=Ships}} | ||
{{Parms| | {{Parms| | ||
{{Parm|name |Name of ship |no | defaults to page name}} | {{Parm|name |Name of ship |no | defaults to page name}} | ||
{{Parm|image |Picture of ship |no | image name only}} | {{Parm|image |Picture of ship |no | image name only}} | ||
+ | {{Parm|caption |Caption of image |no | }} | ||
{{Parm|flag |Flag |no | country of registry. Image name only.}} | {{Parm|flag |Flag |no | country of registry. Image name only.}} | ||
{{Parm|flag-caption |Caption for flag |no | }} | {{Parm|flag-caption |Caption for flag |no | }} | ||
Line 138: | Line 163: | ||
{{Parm|owner |owner |no | commercial owner}} | {{Parm|owner |owner |no | commercial owner}} | ||
{{Parm|built |Shipyard |no | }} | {{Parm|built |Shipyard |no | }} | ||
+ | {{Parm|type |Type |no | destroyer, frigate etc.}} | ||
+ | {{Parm|authorized |Authorized |no | }} | ||
+ | {{Parm|keellaid |Keel laid |no | }} | ||
{{Parm|launched |Launched |no | date launched}} | {{Parm|launched |Launched |no | date launched}} | ||
− | {{Parm| | + | {{Parm|commissioned |Commissioned |no | }} |
+ | {{Parm|decommissioned |Decommissioned |no | date decommisioned }} | ||
{{Parm|status |Status |no | }} | {{Parm|status |Status |no | }} | ||
− | |||
{{Parm|displ |Displacement |no | }} | {{Parm|displ |Displacement |no | }} | ||
{{Parm|length |Length |no | }} | {{Parm|length |Length |no | }} | ||
Line 149: | Line 177: | ||
{{Parm|test |Test depth |no | for submarines}} | {{Parm|test |Test depth |no | for submarines}} | ||
{{Parm|armament |Armament |no | if appropriate}} | {{Parm|armament |Armament |no | if appropriate}} | ||
+ | {{Parm|aircraft |Aircraft |no | }} | ||
{{Parm|crew |Crew |no | }} | {{Parm|crew |Crew |no | }} | ||
{{Parm|troops |Troops |no | if appropriate}} | {{Parm|troops |Troops |no | if appropriate}} | ||
Line 161: | Line 190: | ||
| name= | | name= | ||
| image= | | image= | ||
+ | | caption= | ||
| flag= | | flag= | ||
| flag-caption= | | flag-caption= | ||
| owner= | | owner= | ||
| built= | | built= | ||
+ | | authorized= | ||
+ | | keellaid= | ||
+ | | commissioned= | ||
| launched= | | launched= | ||
| retired= | | retired= | ||
Line 176: | Line 209: | ||
| test= | | test= | ||
| armament= | | armament= | ||
+ | | aircraft= | ||
| crew= | | crew= | ||
| troops= | | troops= |
Latest revision as of 05:52, April 19, 2010
Ship | |
---|---|
Career | |
Characteristics |
Template: Ship | |
---|---|
Use on | Ship articles |
Use for | Infobox |
Category template applies to page | Ships |
Template Parameters (See using templates). | |||
---|---|---|---|
Name | Purpose | Required? | Comment |
name | Name of ship | no | defaults to page name |
image | Picture of ship | no | image name only |
caption | Caption of image | no | |
flag | Flag | no | country of registry. Image name only. |
flag-caption | Caption for flag | no | |
flag-raw | Flag | no | |
port | Home port | no | |
owner | owner | no | commercial owner |
built | Shipyard | no | |
type | Type | no | destroyer, frigate etc. |
authorized | Authorized | no | |
keellaid | Keel laid | no | |
launched | Launched | no | date launched |
commissioned | Commissioned | no | |
decommissioned | Decommissioned | no | date decommisioned |
status | Status | no | |
displ | Displacement | no | |
length | Length | no | |
beam | Beam | no | |
draft | Draft | no | |
speed | Speed | no | speed in knots |
test | Test depth | no | for submarines |
armament | Armament | no | if appropriate |
aircraft | Aircraft | no | |
crew | Crew | no | |
troops | Troops | no | if appropriate |
pass | Passengers | no | if appropriate |
NOTE: Omitted paramaters will not be displayed.
Sample Data Block
The following may be copied and pasted at the top of the page being edited.
{{Ship | name= | image= | caption= | flag= | flag-caption= | owner= | built= | authorized= | keellaid= | commissioned= | launched= | retired= | status= | type= | displ= | length= | beam= | draft= | speed= | test= | armament= | aircraft= | crew= | troops= | pass= |} }}