Template:CrewSidebarEN: Difference between revisions

From Pirate Party Belgium
Jump to navigation Jump to search
(update sidebar to match with Template:CrewSidebarFR)
(Redirected page to Template:CrewSidebar)
 
Line 1: Line 1:
<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;"
#REDIRECT [[Template:CrewSidebar]]
! colspan=2 bgcolor=#692E89 |<center><font color="white">'''{{{crewname|Pirate Party}}}'''</font></center>
{{{flag|}}}
|-
!  colspan=2 bgcolor=gainsboro |<center>'''Location'''</center>
|-
|{{{place|Not assigned}}}
|-
|{{{street|}}} {{{number|}}}
|-
|{{{postalcode|}}} {{{city|}}}
|-
| colspan=2 bgcolor=gainsboro |<div style="text-align: center;">'''Members'''</div>
|-
|
{{#arraymap:{{{members|Not assigned}}}|,|x|x|<br />}}
|-
| colspan=2 bgcolor=gainsboro |<div style="text-align: center;">'''Captain'''</div>
|-
| {{{captain|Not assigned}}}
|-
!  colspan=2 bgcolor=gainsboro |<center>'''Navigator'''</center>
|-
| {{{navigator|Not assigned}}}
|-
!  colspan=2 bgcolor=gainsboro |<center>'''Treasure Keeper'''</center>
|-
| {{{treasurekeeper|Not assigned}}}
{{#if: {{{socialnetworks|}}} |
{{!}}-
!  colspan=2 bgcolor=gainsboro {{!}}<center>'''Social Networks'''</center>
{{!}}-
{{!}}
{{#arraymap:{{{socialnetworks|}}}|,|x|x|<br />}}
}}
|-
|  colspan=2 bgcolor=gainsboro |<center>'''Status'''</center>
|-
| {{#ifeq: {{{active|false}}} | true | Active | Inactive }}
|}
{{#if: {{{nocat|}}} | |
  {{#ifeq: {{{active|false}}} | true | [[Category:Active_Crews]] | [[Category:Inactive_Crew]] }}
  [[Category:Crew]]
}}</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"
|+ 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 ===
<nowiki>
{{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
}}</nowiki>

Latest revision as of 12:26, 12 November 2016