Template:CrewSidebarEN: Difference between revisions

From Pirate Party Belgium
Jump to navigation Jump to search
(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>'''Quarter-Master'''</center>
|-
| {{{quarter|Not assigned}}}
|-
|-
!  colspan=2 bgcolor=gainsboro |<center>'''Treasure Keeper'''</center>
!  colspan=2 bgcolor=gainsboro |<center>'''Treasure Keeper'''</center>
|-  
|-  
| {{{treasure|Not assigned}}}
| {{{treasurekeeper|Not assigned}}}
|-
!  colspan=2 bgcolor=gainsboro |<center>'''Program Responsible'''</center>
|-
| {{{program|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 }}
|}
|}
<includeonly>{{#ifeq: {{{active|false}}} | true |
{{#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 up to some differences.
}}</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:
|  
|  
|--
|--
| quarter
| treasurekeeper
| Name of the Quarter-Master.
|--
| treasure
|  
|  
|--
| program
| Name of a responsible for the program.
|--
|--
| socialnetworks
| socialnetworks
| Links to social media.
| Links to social media.
|--
|--
| status
| active
| Active or Inactive
| true or false
|}
|}


Line 106: Line 109:
|captain = Edward Teach
|captain = Edward Teach
|navigator = Mr. Smee
|navigator = Mr. Smee
|treasure = Coco the parrot
|treasurekeeper = Coco the parrot
|socialnetworks= Link Diaspora, Facebook, Twitter, ...
|socialnetworks= Link Diaspora, Facebook, Twitter, ...
|active = true
|active = true
}}</nowiki></includeonly>
}}</nowiki>

Revision as of 13:44, 11 November 2016

An awesome crew
Location
Flying Dutchman
Treasure Island 666
9000 Atlantica
Members

Jack
Pieter
Mary

Captain
Edward Teach
Navigator
Mr. Smee
Treasure Keeper
Coco the parrot
Social Networks

Link Diaspora
Facebook
Twitter
...

Status
Active


This template exists in Dutch and French as well.

Parameters
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
}}