Template:CrewSidebar: Difference between revisions

From Pirate Party Belgium
Jump to navigation Jump to search
m (N/A in nl)
mNo edit summary
Line 37: Line 37:
|  colspan=2 bgcolor=gainsboro |'''{{#ifeq: {{{lang|}}} | fr | Statut | {{#ifeq: {{{lang|}}} | nl | Staat | Status }} }}'''
|  colspan=2 bgcolor=gainsboro |'''{{#ifeq: {{{lang|}}} | fr | Statut | {{#ifeq: {{{lang|}}} | nl | Staat | Status }} }}'''
|-  
|-  
| {{#ifeq: {{{active|}}} | true |  
| {{#ifeq: {{{active|false}}} | true |  
     {{#ifeq: {{{lang|}}} | fr | Actif | {{#ifeq: {{{lang|}}} | nl | Actief | Active }} }} |  
     {{#ifeq: {{{lang|}}} | fr | Actif | {{#ifeq: {{{lang|}}} | nl | Actief | Active }} }} |  
     {{#ifeq: {{{lang|}}} | fr | Inactif | {{#ifeq: {{{lang|}}} | nl | Inactief | Inactive }} }}
     {{#ifeq: {{{lang|}}} | fr | Inactif | {{#ifeq: {{{lang|}}} | nl | Inactief | Inactive }} }}
   }}
   }}
|}
|}{{#if: {{{nocat|}}} | |  
{{#if: {{{nocat|}}} | |  
   {{#ifeq: {{{active|false}}} | true | [[Category:Active_Crews]] | [[Category:Inactive_Crew]] }}  
   {{#ifeq: {{{active|}}} | true | [[Category:Active_Crews]] | [[Category:Inactive_Crew]] }}  
   [[Category:Crew]]  
   [[Category:Crew]]  
}}</includeonly><noinclude>
}}</includeonly><noinclude>

Revision as of 18:55, 12 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
Parameters
parameter description
lang en, fr or nl
crewname
place Meeting place.
street
number Street number.
postalcode
city
captain
treasurekeeper
socialnetworks Links to social media.
active true or false

Usage

{{CrewSidebar
|lang = en
|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
}}