Template:PrivateShip: Difference between revisions

From Elanthipedia
Jump to navigation Jump to search
No edit summary
No edit summary
 
(24 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:200px; border-spacing:1px;"
<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''}}
|-
|-
{{#if:{{{look|}}} | {{!}} '''Look:''' {{!}}{{!}} [[Ship description is‎::{{{look}}}| ]]{{{look}}}}}
| '''Rooms:''' || {{#if:{{{rooms|}}} | [[Ship room count is::{{{rooms}}}| ]]{{{rooms}}} | ''Unknown''}}
|-
|-
{{#if:{{{rooms|}}} | {{!}} '''Rooms:''' {{!}}{{!}} [[Ship room count is‎::{{{rooms}}}| ]]{{{rooms}}}}}
{{#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 13: Line 13:
{{#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}}}}}
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|Private ships}} -->
{{cat|Ships,Private ships}}
</includeonly>
</includeonly>
<noinclude>==Usage==
<noinclude>==Usage==
A template to post articles for the [[The First Land Herald]].
A template for details about [[:Category:Private ships|private ships]].


<pre>{{PrivateShip
<pre>{{PrivateShip
|active=
|instance=
|name=
|name=
|class=
|rooms=
|look=
|look=
|pilot=
|captain=
|captain=
|crew=
|crew=
|pilot=
|class=
|rooms=
|extras=
|extras=
|source=
|source=
|instance=
|active=
}}
}}
</pre>
</pre>
===Values===
===Values===
{| class="wikitable" border="1" cellpadding="3"
{| class="wikitable" border="1" cellpadding="3"
| active ||
|-
| instance || DR, DRX, DRF (DR = Prime, DRX = Platinum, DRF = Fallen)
|-
|-
| name || If different than page.
| name || If different than page.
|-
|-
| class || Cog, Cruiser, Cutter, Brig, Galleon
| look || Room appearance, if customized.
|-
|-
| captain ||
| rooms || # of rooms
|-
|-
| crew || List the crew, separated by commas.
| look || Room appearance, if customized.
|-
|-
| pilot ||
| pilot || Pilot's first name.
|-
|-
| captain || Captain's first name
| class || Cog, Cruiser, Cutter, Brig, Galleon
|-
|-
| 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?
|-
| instance || DR, DRX, DRF (DR = Prime, DRX = Platinum, DRF = Fallen)
|-
| 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