Template:CrewSidebarEN: Difference between revisions
Jump to navigation
Jump to search
m (→Usage) |
(update sidebar to match with Template:CrewSidebarFR) |
||
| Line 1: | Line 1: | ||
{| class="toccolours vatop" cellpadding="1" cellspacing="1" style="float:right; clear:right; width:150px; padding:0px; margin:0px 0px 1em 1em; font-size:85%; text-align:center;" | <includeonly>{| class="toccolours vatop" cellpadding="1" cellspacing="1" style="float:right; clear:right; width:150px; padding:0px; margin:0px 0px 1em 1em; font-size:85%; text-align:center;" | ||
! colspan=2 bgcolor=#692E89 |<center><font color="white">'''{{{crewname|Pirate Party}}}'''</font></center> | ! colspan=2 bgcolor=#692E89 |<center><font color="white">'''{{{crewname|Pirate Party}}}'''</font></center> | ||
{{{flag|}}} | {{{flag|}}} | ||
| Line 23: | Line 23: | ||
|- | |- | ||
| {{{navigator|Not assigned}}} | | {{{navigator|Not assigned}}} | ||
|- | |- | ||
! colspan=2 bgcolor=gainsboro |<center>'''Treasure Keeper'''</center> | ! colspan=2 bgcolor=gainsboro |<center>'''Treasure Keeper'''</center> | ||
|- | |- | ||
| {{{ | | {{{treasurekeeper|Not assigned}}} | ||
{{#if: {{{socialnetworks|}}} | | {{#if: {{{socialnetworks|}}} | | ||
{{!}}- | {{!}}- | ||
| Line 40: | Line 32: | ||
{{!}}- | {{!}}- | ||
{{!}} | {{!}} | ||
{{{socialnetworks|}}} | {{#arraymap:{{{socialnetworks|}}}|,|x|x|<br />}} | ||
}} | }} | ||
|- | |- | ||
| Line 47: | Line 39: | ||
| {{#ifeq: {{{active|false}}} | true | Active | Inactive }} | | {{#ifeq: {{{active|false}}} | true | Active | Inactive }} | ||
|} | |} | ||
{{#if: {{{nocat|}}} | | | |||
[[Category:Active_Crews]] | {{#ifeq: {{{active|false}}} | true | [[Category:Active_Crews]] | [[Category:Inactive_Crew]] }} | ||
}} [[Category:Crew]]</includeonly><noinclude> | [[Category:Crew]] | ||
This template exists in [[Template:CrewSidebar|Dutch]] and [[Template:CrewSidebarFR|French]] as well | }}</includeonly><noinclude> | ||
{{CrewSidebarEN | |||
|crewname = An awesome crew | |||
|place = Flying Dutchman | |||
|street = Treasure Island | |||
|number = 666 | |||
|postalcode = 9000 | |||
|city = Atlantica | |||
|members = Jack, Pieter, Mary | |||
|captain = Edward Teach | |||
|navigator = Mr. Smee | |||
|treasurekeeper = Coco the parrot | |||
|socialnetworks= Link Diaspora, Facebook, Twitter, ... | |||
|active = true | |||
|nocat = true | |||
}} | |||
This template exists in [[Template:CrewSidebar|Dutch]] and [[Template:CrewSidebarFR|French]] as well. | |||
{| class="wikitable" | {| class="wikitable" | ||
|+ Parameters | |+ Parameters | ||
| Line 78: | Line 87: | ||
| | | | ||
|-- | |-- | ||
| | | treasurekeeper | ||
| | | | ||
|-- | |-- | ||
| socialnetworks | | socialnetworks | ||
| Links to social media. | | Links to social media. | ||
|-- | |-- | ||
| | | active | ||
| | | true or false | ||
|} | |} | ||
| Line 106: | Line 109: | ||
|captain = Edward Teach | |captain = Edward Teach | ||
|navigator = Mr. Smee | |navigator = Mr. Smee | ||
| | |treasurekeeper = Coco the parrot | ||
|socialnetworks= Link Diaspora, Facebook, Twitter, ... | |socialnetworks= Link Diaspora, Facebook, Twitter, ... | ||
|active = true | |active = true | ||
}}</nowiki | }}</nowiki> | ||
Revision as of 13:44, 11 November 2016
| Flying Dutchman | |
| Treasure Island 666 | |
| 9000 Atlantica | |
Members
| |
|
Jack | |
Captain
| |
| Edward Teach | |
| Mr. Smee | |
| Coco the parrot | |
|
Link Diaspora | |
| Active | |
This template exists in Dutch and French as well.
| parameter | description |
|---|---|
| crewname | |
| place | Meeting place. |
| street | |
| number | Street number. |
| postalcode | |
| city | |
| captain | |
| treasurekeeper | |
| socialnetworks | Links to social media. |
| active | true or false |
Usage
{{CrewSidebarEN
|crewname = An awesome crew
|place = Flying Dutchman
|street = Treasure Island
|number = 666
|postalcode = 9000
|city = Atlantica
|members = Jack, Pieter, Mary
|captain = Edward Teach
|navigator = Mr. Smee
|treasurekeeper = Coco the parrot
|socialnetworks= Link Diaspora, Facebook, Twitter, ...
|active = true
}}