Template:CrewSidebar/en: Difference between revisions

From Pirate Party Belgium
Jump to navigation Jump to search
(Updating to match new version of source page)
(Updating to match new version of source page)
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
<includeonly>{| class="pirate-sidebar"
<includeonly>{| class="pirate-sidebar crew"
| style="padding:0;" colspan=2 |
| style="padding:0;" colspan=2 |
{| style="width:100%" cellspacing=0
{| style="width:100%" cellspacing=0
! class="title" | [[Has crew name::{{{crewname|{{PAGENAME}}}}}]]
! class="title" | [[Has crew name::{{{crewname|{{PAGENAME}}}}}]]
| class="icon" | [[File:Sailboat symbol.svg|x25px|link=Category:Crew]]
| class="icon" | [[File:Toicon-icon-avocado-fold.svg|x24px|link=Category:Crew]]
|}
|}
|-
|-
Line 45: Line 45:
{{#if: {{{socialnetworks|}}} |  
{{#if: {{{socialnetworks|}}} |  
! {{int:sidebar-social-networks}}
! {{int:sidebar-social-networks}}
{{!}}{{#arraymap:{{{socialnetworks}}}|,|x|x|<br />}}  
{{!}} {{#arraymap:{{{socialnetworks}}}|,|x|x|<br />}}
{{!}}- }}
{{#if: {{{contact|}}} |
! {{int:sidebar-contact}}
{{!}} {{#arraymap:{{{contact|}}}|,|x|x|<br />}}
{{!}}- }}
{{!}}- }}
! {{int:sidebar-status}}
! {{int:sidebar-status}}
Line 63: Line 67:
   |  
   |  
   | {{!}}-  
   | {{!}}-  
     ! colspan=2 {{!}} {{#display_map: {{#var: coords}} | height=225px | zoom=11 | enablefullscreen = yes | static = yes }} [[Has coordinates::{{#var:coords}}| ]]
     {{!}} colspan=2 {{!}} {{#display_map: {{#var: coords}} | height=225px | zoom=11 | enablefullscreen = yes | scrollwheelzoom = no }} [[Has coordinates::{{#var:coords}}| ]]
   }}  
   }}  
}}
}}
Line 89: Line 93:
|treasurekeeper = Coco the parrot
|treasurekeeper = Coco the parrot
|socialnetworks= Link Diaspora, Facebook, Twitter, ...
|socialnetworks= Link Diaspora, Facebook, Twitter, ...
|contact = coco [at] pirateparty (point) be
|status = active
|status = active
|nocat = true
|nocat = true
Line 111: Line 116:
|treasurekeeper = Coco the parrot
|treasurekeeper = Coco the parrot
|socialnetworks= Link Diaspora, Facebook, Twitter, ...
|socialnetworks= Link Diaspora, Facebook, Twitter, ...
|contact = coco [at] pirateparty (point) be
|status = active
|status = active
}}</nowiki>
}}</nowiki>
Line 122: Line 128:
: By default, the '''page name''' is used.
: By default, the '''page name''' is used.
; image
; image
: Une image qui représente l'équipage (e.g. un logo)
: An image which represents the crew (e.g. a logo)
; venue*  
; venue*  
: Name of the venue where the crew is usually meeting (optional)
: Name of the venue where the crew is usually meeting (optional)

Latest revision as of 11:04, 31 January 2018

Other languages:
An awesome crew Toicon-icon-avocado-fold.svg
Logo-heart 135px.png
Venue Flying Dutchman
Anchoring Treasure Island 666
City 9000 Atlantis
Province North Sea
Region Atlantica
Members Jack, Pieter, Mary
Captain Edward Teach
Navigator Mr. Smee
Treasurer Coco the parrot
Social networks Link Diaspora
Facebook
Twitter
...
Contact coco [at] pirateparty (point) be
Status Active

Usage

You can copy/paste this code to start using the template:

{{CrewSidebar
|crewname = An awesome crew
|image = Logo-heart 135px.png
|venue = Flying Dutchman
|address = Treasure Island 666
|postalcode = 9000
|city = Atlantis
|province = North Sea
|region = Atlantica
|members = Jack, Pieter, Mary
|captain = Edward Teach
|navigator = Mr. Smee
|treasurekeeper = Coco the parrot
|socialnetworks= Link Diaspora, Facebook, Twitter, ...
|contact = coco [at] pirateparty (point) be
|status = active
}}

Parameters

Fields marked with an asterisk (*) are optional.

crewname
Name of the crew.
By default, the page name is used.
image
An image which represents the crew (e.g. a logo)
venue*
Name of the venue where the crew is usually meeting (optional)
address*
Address where the crew is usually meeting (optional)
postalcode
Postal code of the city where the crew is located.
city
City where the crew is located.
province
Province where the crew is located.
region
Region where the crew is located.
Three values are allowed: Brussels, Vlaanderen and Wallonie.
members
List of the crew's members, separated by comas.
captain*
Captain of the crew (optional)
navigator*
Navigator of the crew (optional).
treasurekeeper*
Treasure keeper of the crew (optional).
socialnetworks*
Social networks used by the crew, separated by comas (optional).
status
Status of the crew
Two possible values: active or inactive (default).
nocat
Disable the automatic creation of categories.
Two possible values: true or false (default).