Template:CrewSidebar: Difference between revisions

From Pirate Party Belgium
Jump to navigation Jump to search
mNo edit summary
(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|PirateParty}}}'''</font></center>
! colspan=2 bgcolor=#692D89 |<center><font color="white">'''{{{crewname|PiratenPartij}}}'''</font></center>
|-
|-
!  colspan=2 bgcolor=gainsboro |<center>'''Locatie'''</center>
!  colspan=2 bgcolor=gainsboro |<center>'''Locatie'''</center>
Line 9: Line 9:
|-
|-
|{{{postalcode|9000}}} {{{city|Atlantica}}}
|{{{postalcode|9000}}} {{{city|Atlantica}}}
|-
| colspan=2 bgcolor=gainsboro |<div style="text-align: center;">'''Leden'''</div>
|-
|
{{#arraymap:{{{members|Not assigned}}}|,|x|x|<br />}}
|-  
|-  
| colspan=2 bgcolor=gainsboro |<div style="text-align: center;">'''Kapitein'''</div>
| colspan=2 bgcolor=gainsboro |<div style="text-align: center;">'''Kapitein'''</div>
Line 20: Line 25:
!  colspan=2 bgcolor=gainsboro |<center>'''Treasure Keeper'''</center>
!  colspan=2 bgcolor=gainsboro |<center>'''Treasure Keeper'''</center>
|-  
|-  
| {{{treasurekeeper|Not assigned}}}
| {{{treasurekeeper|Non assigné}}}
{{#if: {{{socialnetworks|}}} |  
{{#if: {{{socialnetworks|}}} |  
{{!}}-
{{!}}-
Line 28: Line 33:
{{{socialnetworks|}}}
{{{socialnetworks|}}}
}}
}}
|-
|  colspan=2 bgcolor=gainsboro |<center>'''Staat'''</center>
|-
| {{#ifeq: {{{active|false}}} | true | Actief | Inactief }}
|}
|}
<includeonly>{{#ifeq: {{lc:{{{nocat|false}}}}} | false |
{{#if: {{{nocat|}}} | |
[[Category:Crew]]
  {{#ifeq: {{{active|false}}} | true | [[Category:Active_Crews]] | [[Category:Inactive_Crew]] }}  
}}</includeonly>
  [[Category:Crew]]  
}}</includeonly><noinclude>
{{CrewSidebar
|crewname = An awesome crew
|place = An awesome location
|street = Ocean street
|number = 42
|postalcode = 9000
|city = Atlantic
|members = Pierre, Paul, Jacques
|captain = Luffy
|navigator = Nami
|treasurekeeper = Coco the parrot
|socialnetworks= Link Diaspora, Facebook, Twitter, ...
|active = true
|nocat = true
}}
 
=== Usage ===
<nowiki>
{{CrewSidebar
|crewname = An awesome crew
|place = An awesome location
|street = Ocean street
|number = 42
|postalcode = 9000
|city = Atlantic
|members = Pierre, Paul, Jacques
|captain = Black Beard
|navigator = Nami
|treasurekeeper = Coco the parrot
|socialnetworks= Link Diaspora, Facebook, Twitter, ...
|active = true
}}</nowiki></noinclude>

Revision as of 13:02, 11 November 2016

An awesome crew
Locatie
An awesome location
Ocean street 42
9000 Atlantic
Leden

Pierre
Paul
Jacques

Kapitein
Luffy
Navigator
Nami
Treasure Keeper
Coco the parrot
Social Networks

Link Diaspora, Facebook, Twitter, ...

Staat
Actief


Usage

{{CrewSidebar
|crewname = An awesome crew
|place = An awesome location
|street = Ocean street
|number = 42
|postalcode = 9000
|city = Atlantic
|members = Pierre, Paul, Jacques
|captain = Black Beard
|navigator = Nami
|treasurekeeper = Coco the parrot
|socialnetworks= Link Diaspora, Facebook, Twitter, ...
|active = true
}}