Template:PrivateShip: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
(23 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:{{{ |
{{#if:{{{look|}}} | {{!}} '''Look:''' {{!}}{{!}} [[Ship description is::{{{look}}}| ]]{{{look}}}}} |
||
|- |
|- |
||
{{#if:{{{pilot|}}} | {{!}} '''Pilot:''' {{!}}{{!}} [[Ship pilot is::{{{pilot}}}| ]]{{{pilot}}}}} |
{{#if:{{{pilot|}}} | {{!}} '''Pilot:''' {{!}}{{!}} [[Ship pilot is::{{{pilot}}}| ]]{{{pilot}}}}} |
||
Line 20: | Line 20: | ||
|- |
|- |
||
{{#if:{{{instance|}}} | {{!}} '''Instance:''' {{!}}{{!}} {{#switch:{{{instance}}}|DR=[[Ship instance is::DR|Prime]]|DRX=[[Ship instance is::DRX|Platinum]]|DRF=[[Ship instance is::DRF|Fallen]]|''Unknown''}}}} |
{{#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 |