Difference between revisions of "Template:Ship Service"

From Discovery Wiki
Jump to navigationJump to search
 
(8 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
<noinclude>If you want to set the CSS styles of this infobox or colours, get a wiki Admin to change the Monobook.css. Most infoboxes' styles are controlled from there. This allows freedom for skins, while not changing the content of the infobox. (Say for example if you don't like this current one modelled off Freelancer User Interface, and want a default Wiki skin.)
 
<noinclude>If you want to set the CSS styles of this infobox or colours, get a wiki Admin to change the Monobook.css. Most infoboxes' styles are controlled from there. This allows freedom for skins, while not changing the content of the infobox. (Say for example if you don't like this current one modelled off Freelancer User Interface, and want a default Wiki skin.)
 +
 +
===Notes===
 +
 +
Bigger ships such as Capital Ships would use:<br>
 +
| commissioned = <br>
 +
| decommissioned =
 +
 +
Where as smaller ships like fighters might use:<br>
 +
| active = <br>
 +
| inactive =
 +
 +
  
 
<!--</noinclude>
 
<!--</noinclude>
 
{| class="infobox bordered" style="float: left; background-color:14193F; margin-left: 1em; margin-bottom: 10px; width: 270px; font-size: 11px; line-height: 14px; border: 1px solid #dddddd;" cellpadding="3"
 
{| class="infobox bordered" style="float: left; background-color:14193F; margin-left: 1em; margin-bottom: 10px; width: 270px; font-size: 11px; line-height: 14px; border: 1px solid #dddddd;" cellpadding="3"
 +
 
|-
 
|-
| class="infobox-data-title" | '''Origin'''
+
| colspan="2" class="infobox-name" | '''{{{name}}}'''
 +
|-
 +
|-
 +
| class="infobox-data-title" | '''Originated from'''
 
| style="padding-right: 1em;" | {{#if: {{{origin|}}}
 
| style="padding-right: 1em;" | {{#if: {{{origin|}}}
 
| {{{origin}}}
 
| {{{origin}}}
Line 10: Line 26:
 
}}
 
}}
 
|-
 
|-
| class="infobox-data-title" | '''Commissioned'''
+
| class="infobox-data-title" | '''Creator'''
| style="padding-right: 1em;" | {{#if: {{{commissioned|}}}
+
| style="padding-right: 1em;" | {{#if: {{{creator|}}}
| {{{commissioned}}}
+
| {{{creator}}}
 
| ''unknown''
 
| ''unknown''
 +
}}
 +
{{#if: {{{decommissioned|}}}
 +
| {{!}}-
 +
{{!}} class="infobox-data-title" {{!}} '''Decommissioned'''
 +
{{!}} style="padding-right: 1em;" {{!}} {{{decommissioned}}}
 
}}
 
}}
 
|-
 
|-
| class="infobox-data-title" | '''Decommissioned'''
+
{{#if: {{{commissioned|}}}
| style="padding-right: 1em;" | {{#if: {{{decommissioned|}}}
+
| {{!}}-
| {{{decommissioned}}}
+
{{!}} class="infobox-data-title" {{!}} '''Commissioned'''
| ''unknown''
+
{{!}} style="padding-right: 1em;" {{!}} {{{commissioned}}}
 +
}}
 +
|-
 +
{{#if: {{{active|}}}
 +
| {{!}}-
 +
{{!}} class="infobox-data-title" {{!}} '''Active from'''
 +
{{!}} style="padding-right: 1em;" {{!}} {{{active}}}
 +
}}
 +
|-
 +
{{#if: {{{inactive|}}}
 +
| {{!}}-
 +
{{!}} class="infobox-data-title" {{!}} '''Inactive from'''
 +
{{!}} style="padding-right: 1em;" {{!}} {{{inactive}}}
 
}}
 
}}
 +
|-
 
|-
 
|-
 
| class="infobox-data-title" | '''Notable Personnal'''
 
| class="infobox-data-title" | '''Notable Personnal'''
Line 26: Line 60:
 
| {{{notable_personnal}}}
 
| {{{notable_personnal}}}
 
| ''unknown''
 
| ''unknown''
}}
 
{{Ship Service
 
| commissioned = <value> <automatic date addition>
 
| decommissioned = <value> <automatic date addition>
 
| notable_personnal = <value>
 
}}
 
|-
 
 
}}
 
}}
 
<noinclude>
 
<noinclude>
Line 38: Line 65:
 
==Usage==
 
==Usage==
 
<pre><nowiki>{{Ship_Service
 
<pre><nowiki>{{Ship_Service
| origin = Hell
+
| name = Party Boat
| commissioned =  
+
| origin = New London
| decommissioned =  
+
| creator = El Rodrigo
 +
| commissioned = November 16th 815A.S.
 +
| decommissioned = September 30th 817A.S
 +
| active =
 +
| inactive =  
 
| notable_personnal = Mon'Star, Luxuria
 
| notable_personnal = Mon'Star, Luxuria
 
}}</nowiki></pre>
 
}}</nowiki></pre>
Line 46: Line 77:
 
==Result==
 
==Result==
 
{{Ship_Service
 
{{Ship_Service
| origin = Hell
+
| name = Party Boat
| commissioned =  
+
| origin = New London
| decommissioned =  
+
| creator = El Rodrigo
 +
| commissioned = November 16th 815A.S.
 +
| decommissioned = September 30th 817A.S
 +
| active =
 +
| inactive =  
 
| notable_personnal = Mon'Star, Luxuria
 
| notable_personnal = Mon'Star, Luxuria
 
}}
 
}}
 +
  
 
[[Category:Templates]]
 
[[Category:Templates]]
 
</noinclude>
 
</noinclude>

Latest revision as of 02:12, 30 October 2009

If you want to set the CSS styles of this infobox or colours, get a wiki Admin to change the Monobook.css. Most infoboxes' styles are controlled from there. This allows freedom for skins, while not changing the content of the infobox. (Say for example if you don't like this current one modelled off Freelancer User Interface, and want a default Wiki skin.)

Notes

Bigger ships such as Capital Ships would use:
| commissioned =
| decommissioned =

Where as smaller ships like fighters might use:
| active =
| inactive =


Usage

{{Ship_Service
| name = Party Boat
| origin = New London
| creator = El Rodrigo
| commissioned = November 16th 815A.S.
| decommissioned = September 30th 817A.S
| active = 
| inactive = 
| notable_personnal = Mon'Star, Luxuria
}}

Result

Party Boat
Originated from New London
Creator El Rodrigo
Decommissioned September 30th 817A.S
Commissioned November 16th 815A.S.
Notable Personnal Mon'Star, Luxuria