Difference between revisions of "Template:CrewSidebar/nl"
(Updating to match new version of source page) |
(Updating to match new version of source page) |
||
Line 1: | Line 1: | ||
− | <includeonly>{| style=" | + | <includeonly>{| class="pirate-sidebar" |
− | + | | style="padding:0;" colspan=2 | | |
+ | {| style="width:100%" cellspacing=0 | ||
+ | ! class="title" | [[Has crew name::{{{crewname|{{PAGENAME}}}}}]] | ||
+ | | class="icon" | [[File:Sailboat symbol.svg|x25px|link=Category:Crew]] | ||
+ | |} | ||
|- | |- | ||
+ | {{#if: {{{image|}}} | | ||
+ | {{!}} colspan=2 {{!}} [[File:{{{image}}}|frameless|150px|center]] | ||
+ | {{!}}- }} | ||
{{#if: {{{venue|}}} | | {{#if: {{{venue|}}} | | ||
− | ! | + | ! {{int:sidebar-venue}} |
{{!}} {{#set: In venue={{{venue}}} }}{{{venue}}} | {{!}} {{#set: In venue={{{venue}}} }}{{{venue}}} | ||
{{!}}- }} | {{!}}- }} | ||
{{#if: {{{address|}}} | | {{#if: {{{address|}}} | | ||
− | ! | + | ! {{int:sidebar-anchor}} |
{{!}} [[Has address::{{{address}}}]] | {{!}} [[Has address::{{{address}}}]] | ||
{{!}}- }} | {{!}}- }} | ||
− | ! | + | ! {{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}}}]] | ? }} | ||
|- | |- | ||
− | ! | + | ! {{int:sidebar-province}} |
| {{#if: {{{province|}}} | [[In province::{{{province}}}]] | ? }} | | {{#if: {{{province|}}} | [[In province::{{{province}}}]] | ? }} | ||
|- | |- | ||
− | ! | + | ! {{int:sidebar-region}} |
| {{#if: {{{region|}}} | [[In region::{{{region}}}]] | ? }} | | {{#if: {{{region|}}} | [[In region::{{{region}}}]] | ? }} | ||
|- | |- | ||
− | ! | + | ! {{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|}}} | | ||
− | ! | + | ! {{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|}}} | | ||
− | ! | + | ! {{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|}}} | | ||
− | ! | + | ! {{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|}}} | | ||
− | ! | + | ! {{int:sidebar-social-networks}} |
{{!}}{{#arraymap:{{{socialnetworks}}}|,|x|x|<br />}} | {{!}}{{#arraymap:{{{socialnetworks}}}|,|x|x|<br />}} | ||
{{!}}- }} | {{!}}- }} | ||
− | ! | + | ! {{int:sidebar-status}} |
| {{#if: {{{status|}}} | | {{#if: {{{status|}}} | ||
| [[Has status::{{lc:{{{status}}}}}|{{int:sidebar-status-{{lc:{{{status}}}}}}}]] | | [[Has status::{{lc:{{{status}}}}}|{{int:sidebar-status-{{lc:{{{status}}}}}}}]] | ||
Line 70: | Line 77: | ||
{{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 91: | Line 99: | ||
{{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 112: | Line 121: | ||
: De naam van de crew. | : De naam van de crew. | ||
: Standaard wordt de '''naam van de pagina''' gebruikt. | : Standaard wordt de '''naam van de pagina''' gebruikt. | ||
+ | ; image | ||
+ | : Une image qui représente l'équipage (e.g. un logo) | ||
; venue* | ; venue* | ||
: Le nom du lieu où se réunit régulièrement l'équipage (optionnel) | : Le nom du lieu où se réunit régulièrement l'équipage (optionnel) |
Revision as of 18:42, 27 September 2017
Utilisation
Vous pouvez copier/coller ce code pour commencer à utiliser ce modèle:
{{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, ... |status = active }}
Paramètres
De velden gemarkeerd met een asterix (*) zijn optioneel.
- crewname
- De naam van de crew.
- Standaard wordt de naam van de pagina gebruikt.
- image
- Une image qui représente l'équipage (e.g. un logo)
- venue*
- Le nom du lieu où se réunit régulièrement l'équipage (optionnel)
- address*
- L'adresse où se réunit régulièrement l'équipage (optionnel)
- 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).