Difference between revisions of "Template:CrewSidebar/nl"

From Pirate Party Belgium
Jump to: navigation, search
(Created page with "''De velden gemarkeerd met een asterix (*) zijn optioneel.''")
 
(Updating to match new version of source page)
 
(21 intermediate revisions by 3 users not shown)
Line 1: Line 1:
<includeonly>{| style="width: 300px; border: 1px solid #aaaaaa; background-color: #f9f9f9; color: black; margin-bottom: 0.5em; margin-left: 1em; padding: 0.2em; float: right; position:relative; text-align:left;"
+
<includeonly>{| class="pirate-sidebar crew"
! style="text-align: center; background-color: #692D89; color:white;padding:0.3em; font-size:medium;" colspan="2" | {{{crewname|{{PAGENAME}} }}}
+
| style="padding:0;" colspan=2 |
 +
{| style="width:100%" cellspacing=0
 +
! class="title" | [[Has crew name::{{{crewname|{{PAGENAME}}}}}]]
 +
| class="icon" | [[File:Toicon-icon-avocado-fold.svg|x24px|link=Category:Crew]]
 +
|}
 
|-
 
|-
 +
{{#if: {{{image|}}} |
 +
{{!}} colspan=2 {{!}} [[File:{{{image}}}|frameless|150px|center]]
 +
{{!}}- }}
 
{{#if: {{{venue|}}} |
 
{{#if: {{{venue|}}} |
! style="vertical-align: top;" {{!}} {{int:sidebar-venue}}
+
! {{int:sidebar-venue}}
 
{{!}} {{#set: In venue={{{venue}}} }}{{{venue}}}
 
{{!}} {{#set: In venue={{{venue}}} }}{{{venue}}}
 
{{!}}- }}
 
{{!}}- }}
 
{{#if: {{{address|}}} |
 
{{#if: {{{address|}}} |
! style="vertical-align: top;" {{!}} {{int:sidebar-anchor}}
+
! {{int:sidebar-anchor}}
 
{{!}} [[Has address::{{{address}}}]]
 
{{!}} [[Has address::{{{address}}}]]
 
{{!}}- }}
 
{{!}}- }}
! style="vertical-align: top;" | {{int:sidebar-city}}
+
! {{int:sidebar-city}}
 
| {{#if: {{{postalcode|}}}  
 
| {{#if: {{{postalcode|}}}  
 
   | [[In postal code::{{{postalcode}}}]]  
 
   | [[In postal code::{{{postalcode}}}]]  
 
   }} {{#if: {{{city|}}} | [[In city::{{{city}}}]] | ? }}
 
   }} {{#if: {{{city|}}} | [[In city::{{{city}}}]] | ? }}
 
|-
 
|-
! style="vertical-align: top;" | {{int:sidebar-province}}
+
! {{int:sidebar-province}}
 
| {{#if: {{{province|}}} | [[In province::{{{province}}}]] | ? }}
 
| {{#if: {{{province|}}} | [[In province::{{{province}}}]] | ? }}
 
|-
 
|-
! style="vertical-align: top;" | {{int:sidebar-region}}
+
! {{int:sidebar-region}}
 
| {{#if: {{{region|}}} | [[In region::{{{region}}}]] | ? }}
 
| {{#if: {{{region|}}} | [[In region::{{{region}}}]] | ? }}
 
|-  
 
|-  
! style="vertical-align: top;" | {{int:sidebar-members}}
+
! {{int:sidebar-members}}
 
| {{#if: {{{members|}}} | {{#arraymap:{{{members}}}|,|x|{{#set:Has member=x}}x}} | ? }}
 
| {{#if: {{{members|}}} | {{#arraymap:{{{members}}}|,|x|{{#set:Has member=x}}x}} | ? }}
 
|-  
 
|-  
 
{{#if: {{{captain|}}} |
 
{{#if: {{{captain|}}} |
! style="vertical-align: top;" {{!}} {{int:sidebar-captain}}
+
! {{int:sidebar-captain}}
 
{{!}} {{#arraymap:{{{captain}}}|,|x|{{#set:Has captain=x}}x|<br />}}
 
{{!}} {{#arraymap:{{{captain}}}|,|x|{{#set:Has captain=x}}x|<br />}}
 
{{!}}- }}
 
{{!}}- }}
 
{{#if: {{{navigator|}}} |  
 
{{#if: {{{navigator|}}} |  
! style="vertical-align: top;" {{!}} {{int:sidebar-navigator}}
+
! {{int:sidebar-navigator}}
 
{{!}} {{#arraymap:{{{navigator}}}|,|x|{{#set:Has navigator=x}}x|<br />}}
 
{{!}} {{#arraymap:{{{navigator}}}|,|x|{{#set:Has navigator=x}}x|<br />}}
 
{{!}}- }}
 
{{!}}- }}
 
{{#if: {{{treasurekeeper|}}} |  
 
{{#if: {{{treasurekeeper|}}} |  
! style="vertical-align: top;" {{!}} {{int:sidebar-treasurer}}
+
! {{int:sidebar-treasurer}}
 
{{!}} {{#arraymap:{{{treasurekeeper}}}|,|x|{{#set:Has treasurer=x}}x|<br />}}
 
{{!}} {{#arraymap:{{{treasurekeeper}}}|,|x|{{#set:Has treasurer=x}}x|<br />}}
 
{{!}}- }}
 
{{!}}- }}
 
{{#if: {{{socialnetworks|}}} |  
 
{{#if: {{{socialnetworks|}}} |  
! style="vertical-align: top;" {{!}} {{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 />}}
 
{{!}}- }}
 
{{!}}- }}
! style="vertical-align: top;" | {{int:sidebar-status}}
+
! {{int:sidebar-status}}
| {{#ifeq: {{{status|}}} | active
+
| {{#if: {{{status|}}}
   | {{int:sidebar-active}} [[Has status::Active| ]]
+
   | [[Has status::{{lc:{{{status}}}}}|{{int:sidebar-status-{{lc:{{{status}}}}}}}]]
  | {{int:sidebar-inactive}} [[Has status::Inactive| ]]
+
  | ?
 
   }}
 
   }}
 
{{#if: {{{province|}}}{{{city|}}}  
 
{{#if: {{{province|}}}{{{city|}}}  
Line 56: Line 67:
 
   |  
 
   |  
 
   | {{!}}-  
 
   | {{!}}-  
     ! colspan=2 {{!}} {{#display_map: {{#var: coords}} | height=225px | zoom=11}} [[Has coordinates::{{#var:coords}}| ]]
+
     {{!}} colspan=2 {{!}} {{#display_map: {{#var: coords}} | height=225px | zoom=11 | enablefullscreen = yes | scrollwheelzoom = no }} [[Has coordinates::{{#var:coords}}| ]]
 
   }}  
 
   }}  
 
}}
 
}}
Line 70: Line 81:
 
{{CrewSidebar
 
{{CrewSidebar
 
|crewname = An awesome crew
 
|crewname = An awesome crew
 +
|image = Logo-heart 135px.png
 
|venue = Flying Dutchman
 
|venue = Flying Dutchman
 
|address = Treasure Island 666
 
|address = Treasure Island 666
Line 81: 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
 
}}
 
}}
  
== Utilisation ==
+
== Gebruik ==
  
Vous pouvez copier/coller ce code pour commencer à utiliser ce modèle:
+
Je kan deze code kopiëren en plakken om met het sjabloon aan de slag te gaan:
 
  <nowiki>
 
  <nowiki>
 
{{CrewSidebar
 
{{CrewSidebar
 
|crewname = An awesome crew
 
|crewname = An awesome crew
 +
|image = Logo-heart 135px.png
 
|venue = Flying Dutchman
 
|venue = Flying Dutchman
 
|address = Treasure Island 666
 
|address = Treasure Island 666
Line 102: 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>
  
== Paramètres ==
+
== Parameters ==
  
 
''De velden gemarkeerd met een asterix (*) zijn optioneel.''
 
''De velden gemarkeerd met een asterix (*) zijn optioneel.''
  
 
; crewname  
 
; crewname  
: Le nom de l'équipage.  
+
: De naam van de crew.
: Par défaut, le '''nom de la page''' est utilisé.
+
: Standaard wordt de '''naam van de pagina''' gebruikt.
 +
; image
 +
: Een afbeelding die de crew voorstelt (b.v. een logo)
 
; venue*  
 
; venue*  
: Le nom du lieu où se réunit régulièrement l'équipage (optionnel)
+
: De naam van een plaats waar de crew regelmatig samenkomt (optioneel)
 
; address*  
 
; address*  
: L'adresse où se réunit régulièrement l'équipage (optionnel)
+
: Het adres waarop de crew regelmatig samenkomt (optioneel)
 
; postalcode  
 
; postalcode  
: Le code postal de la ville où se trouve l'équipage.
+
: De postcode van de plaats waar de crew zich bevindt.
 
; city  
 
; city  
: La ville où se trouve l'équipage.
+
: De stad waar de crew zich bevindt.
 
; province  
 
; province  
: La province dans laquelle se trouve l'équipage.
+
: De provincie waar de crew zich bevindt.
 
; region  
 
; region  
: La région dans laquelle se trouve l'équipage.
+
: De regio waar de crew zich bevindt .
: Trois valeurs sont possibles : '''Brussels''', '''Vlaanderen''' et '''Wallonie'''.
+
: Drie waarden zijn mogelijk : '''Brussels''', '''Vlaanderen''' en '''Wallonie'''.
 
; members  
 
; members  
: Liste des membres de l'équipage, séparés par des virgules.
+
: Lijst van crewleden, gescheiden door komma's.
 
; captain*  
 
; captain*  
: Capitaine de l'équipage (optionnel).
+
: Kapitein van de crew (optioneel).
 
; navigator*  
 
; navigator*  
: Navigateur de l'équipage (optionnel).
+
: Navigator van de crew (optioneel).
 
; treasurekeeper*  
 
; treasurekeeper*  
: Trésorier de l'équipage (optionnel).
+
: Schatbewaarder van de crew (optioneel).
 
; socialnetworks*  
 
; socialnetworks*  
: Réseaux sociaux utilisés par l'équipage, séparés par des virgules (optionnel)
+
: Sociale netwerken gebruikt door de crew, gescheiden met komma's (optioneel).
 
; status
 
; status
: Statut de l'équipage
+
: Statuut van de crew
:Deux valeurs possibles : '''active''' ou '''inactive''' (valeur par défaut).
+
: Twee waarden zijn mogelijk : '''active''' of '''inactive''' (standaardwaarde).
 
; nocat
 
; nocat
: Désactive la génération automatique des catégories.  
+
: Desactiveert de automatische generatie van de categorieên.
: Deux valeurs possibles : '''true''' ou '''false''' (valeur par défaut).
+
: Twee waarden mogelijk : '''true''' of '''false''' (standaardwaarde).
 
</noinclude>
 
</noinclude>

Latest revision as of 12:04, 31 January 2018

Other languages:
English • ‎Nederlands • ‎français
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

Gebruik

Je kan deze code kopiëren en plakken om met het sjabloon aan de slag te gaan:

{{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

De velden gemarkeerd met een asterix (*) zijn optioneel.

crewname
De naam van de crew.
Standaard wordt de naam van de pagina gebruikt.
image
Een afbeelding die de crew voorstelt (b.v. een logo)
venue*
De naam van een plaats waar de crew regelmatig samenkomt (optioneel)
address*
Het adres waarop de crew regelmatig samenkomt (optioneel)
postalcode
De postcode van de plaats waar de crew zich bevindt.
city
De stad waar de crew zich bevindt.
province
De provincie waar de crew zich bevindt.
region
De regio waar de crew zich bevindt .
Drie waarden zijn mogelijk : Brussels, Vlaanderen en Wallonie.
members
Lijst van crewleden, gescheiden door komma's.
captain*
Kapitein van de crew (optioneel).
navigator*
Navigator van de crew (optioneel).
treasurekeeper*
Schatbewaarder van de crew (optioneel).
socialnetworks*
Sociale netwerken gebruikt door de crew, gescheiden met komma's (optioneel).
status
Statuut van de crew
Twee waarden zijn mogelijk : active of inactive (standaardwaarde).
nocat
Desactiveert de automatische generatie van de categorieên.
Twee waarden mogelijk : true of false (standaardwaarde).