Template:CrewSidebar/en: Difference between revisions
Jump to navigation
Jump to search
(Created page with "== Parameters ==") |
(Updating to match new version of source page) |
||
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>{| 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;" | ||
! style="text-align: center; background-color: #692D89; color:white;padding:0.3em; font-size:medium;" colspan="2" | {{{crewname|{{PAGENAME}} }}} | ! style="text-align: center; background-color: #692D89; color:white;padding:0.3em; font-size:medium;" colspan="2" | [[Has crew name::{{{crewname|{{PAGENAME}}}}}]] | ||
|- | |- | ||
{{#if: {{{venue|}}} | | {{#if: {{{venue|}}} | | ||
Line 41: | Line 41: | ||
{{!}}- }} | {{!}}- }} | ||
! style="vertical-align: top;" | {{int:sidebar-status}} | ! style="vertical-align: top;" | {{int:sidebar-status}} | ||
| {{# | | {{#if: {{{status|}}} | ||
| | | [[Has status::{{lc:{{{status}}}}}|{{int:sidebar-status-{{lc:{{{status}}}}}}}]] | ||
| ? | |||
}} | }} | ||
{{#if: {{{province|}}}{{{city|}}} | {{#if: {{{province|}}}{{{city|}}} | ||
Line 56: | Line 56: | ||
| | | | ||
| {{!}}- | | {{!}}- | ||
! 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 | static = yes }} [[Has coordinates::{{#var:coords}}| ]] | ||
}} | }} | ||
}} | }} |
Revision as of 09:26, 7 August 2017
Usage
You can copy/paste this code to start using the template:
{{CrewSidebar |crewname = An awesome crew |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 }}
Parameters
Fields marked with an asterisk (*) are optional.
- crewname
- Name of the crew.
- By default, the page name is used.
- 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).