Template:PrivateShip: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
(32 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<includeonly>{| class="wikitable" cellpadding="2" style="float:right; margin: 0em 0em 1em 2em; width: |
<includeonly>{| class="wikitable" cellpadding="2" style="float:right; margin: 0em 0em 1em 2em; width:220px; border-spacing:1px;" |
||
|- |
|- |
||
! colspan="2" align="center" | '''{{#if:{{{name|}}}|[[Ship name is::{{{name}}}]]|[[Ship name is::{{PAGENAME}}]]}}''' |
! colspan="2" align="center" | '''{{#if:{{{name|}}}|[[Ship name is::{{{name}}}]]|[[Ship name is::{{PAGENAME}}]]}}''' |
||
|- |
|- |
||
| width=30% | '''Class:''' || width=70% | {{#switch:{{lc:{{{class}}}}} |cog=[[Ship class is::Cog|Cog]] |cutter=[[Ship class is::Cutter|Cutter]] |brig=[[Ship class is::Brig|Brig]] |galleon=[[Ship class is::Galleon|Galleon]] |''Unknown''}} |
| width=30% | '''Class:''' || width=70% | {{#switch:{{lc:{{{class}}}}} |cog=[[Ship class is::Cog|Cog]] |cutter=[[Ship class is::Cutter|Cutter]] |cruiser=[[Ship class is::Cruiser|Cruiser]] |brig=[[Ship class is::Brig|Brig]] |galleon=[[Ship class is::Galleon|Galleon]] |''Unknown''}} |
||
|- |
|- |
||
| '''Rooms:''' || {{#if:{{{rooms|}}} | [[Ship room count is::{{{rooms}}}| ]]{{{rooms}}} | ''Unknown''}} |
|||
|- |
|- |
||
{{#if:{{{look|}}} | {{!}} '''Look:''' {{!}}{{!}} [[Ship description is::{{{look}}}| ]]{{{look}}}}} |
|||
| '''Rooms:''' || Rooms |
|||
|- |
|- |
||
{{#if:{{{pilot|}}} | {{!}} '''Pilot:''' {{!}}{{!}} [[Ship pilot is::{{{pilot}}}| ]]{{{pilot}}}}} |
|||
| '''Pilot:''' || Pilot |
|||
|- |
|- |
||
{{#if:{{{captain|}}} | {{!}} '''Captain:''' {{!}}{{!}} {{#switch:{{lc:{{{captain}}}}}|-|none=None|[[Ship captain is::{{{captain}}}]]}}}} |
{{#if:{{{captain|}}} | {{!}} '''Captain:''' {{!}}{{!}} {{#switch:{{lc:{{{captain}}}}}|-|none=None|[[Ship captain is::{{{captain}}}]]}}}} |
||
|- |
|- |
||
{{#if:{{{crew|}}} | {{!}} '''Crew:''' {{!}}{{!}} {{#arraymap:{{{crew}}}|,|@@@@|[[Ship crewmember is::@@@@|@@@@]]<br> | }}}} |
|||
| '''Crew:''' || Crew1<br>Crew2<br>Crew3 |
|||
|- |
|- |
||
{{#if:{{{extras|}}} | {{!}} '''Extras:''' {{!}}{{!}} {{{extras}}}}} |
{{#if:{{{extras|}}} | {{!}} '''Extras:''' {{!}}{{!}} {{{extras}}}}} |
||
|- |
|- |
||
{{#if:{{{source|}}} | {{!}} '''Source:''' {{!}}{{!}} {{{source}}}}} |
{{#if:{{{source|}}} | {{!}} '''Source:''' {{!}}{{!}} {{{source}}}}} |
||
⚫ | |||
{{#if:{{{instance|}}} | {{!}} '''Instance:''' {{!}}{{!}} {{#switch:{{{instance}}}|DR=[[Ship instance is::DR|Prime]]|DRX=[[Ship instance is::DRX|Platinum]]|DRF=[[Ship instance is::DRF|Fallen]]|''Unknown''}}}} |
|||
|- |
|||
| '''Status:''' || {{#switch:{{lc:{{{active}}}}} |y=[[Ship is active::Yes| ]] Active |yes=[[Ship is active::Yes| ]] Active |t=[[Ship is active::Yes| ]] Active |true=[[Ship is active::Yes| ]] Active |n=[[Ship is active::No| ]] Inactive |no=[[Ship is active::No| ]] Inactive |f=[[Ship is active::No| ]] Inactive |false=[[Ship is active::No| ]] Inactive |''Unknown''}} |
|||
|} |
|} |
||
{{cat|Ships,Private ships}} |
|||
</includeonly> |
</includeonly> |
||
<noinclude>==Usage== |
<noinclude>==Usage== |
||
A template |
A template for details about [[:Category:Private ships|private ships]]. |
||
<pre>{{PrivateShip |
<pre>{{PrivateShip |
||
⚫ | |||
⚫ | |||
|name= |
|name= |
||
⚫ | |||
⚫ | |||
|look= |
|look= |
||
⚫ | |||
|captain= |
|captain= |
||
|crew= |
|crew= |
||
⚫ | |||
⚫ | |||
⚫ | |||
|extras= |
|extras= |
||
|source= |
|source= |
||
⚫ | |||
⚫ | |||
}} |
}} |
||
</pre> |
</pre> |
||
===Values=== |
===Values=== |
||
{| class="wikitable" border="1" cellpadding="3" |
{| class="wikitable" border="1" cellpadding="3" |
||
| active || |
|||
⚫ | |||
⚫ | |||
|- |
|- |
||
| name || If different than page. |
| name || If different than page. |
||
|- |
|- |
||
⚫ | |||
| look || Room appearance, if customized. |
|||
|- |
|- |
||
| |
| rooms || # of rooms |
||
|- |
|- |
||
| |
| look || Room appearance, if customized. |
||
|- |
|- |
||
| pilot || |
| pilot || Pilot's first name. |
||
|- |
|- |
||
| captain || Captain's first name |
|||
⚫ | |||
|- |
|- |
||
| crew || List the crew, separated by commas. |
|||
| rooms || # of rooms |
|||
|- |
|- |
||
| extras || |
| extras || Any special features/goodies? |
||
|- |
|- |
||
| source || Where'd the ship come from? |
| source || Where'd the ship come from? |
||
|- |
|||
⚫ | |||
|- |
|||
| active || true, false, yes, no |
|||
|} |
|} |
||
{{cat|Templates}}</noinclude> |
{{cat|Templates}}</noinclude> |
Latest revision as of 19:34, 24 March 2022
Usage
A template for details about private ships.
{{PrivateShip |name= |class= |rooms= |look= |pilot= |captain= |crew= |extras= |source= |instance= |active= }}
Values
name | If different than page. |
class | Cog, Cruiser, Cutter, Brig, Galleon |
rooms | # of rooms |
look | Room appearance, if customized. |
pilot | Pilot's first name. |
captain | Captain's first name |
crew | List the crew, separated by commas. |
extras | Any special features/goodies? |
source | Where'd the ship come from? |
instance | DR, DRX, DRF (DR = Prime, DRX = Platinum, DRF = Fallen) |
active | true, false, yes, no |