Template:ProjectSidebar: Difference between revisions

From Pirate Party Belgium
Jump to navigation Jump to search
mNo edit summary
(new design)
Line 1: Line 1:
<includeonly>{{#vardefine:NA| {{#ifeq: {{{lang|}}} | fr | Non assigné | {{#ifeq: {{{lang|}}} | nl | | Not assigned }} }} }}
<includeonly>{{#vardefine:NA|?}}{| style="min-width: 275px; 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;"
{{#vardefine:TBD| {{#ifeq: {{{lang|}}} | fr | À définir | {{#ifeq: {{{lang|}}} | nl | | To be defined }} }} }}
! style="text-align: center; background-color: #692D89; color:white;padding:0.3em; font-size:medium;" colspan="2" |[[Has title::{{{projectname|Pirate Project}}}]]
{| class="toccolours vatop" cellpadding="1" cellspacing="1" style="float:right; clear:right; width:150px; padding:0px; margin:0px 0px 1em 1em; font-size:85%; text-align:center;"
! colspan=2 bgcolor=#692D89 |<center><font color="white">'''{{{projectname|Pirate Project}}}'''</font></center>
|-
|-
! colspan=2 bgcolor=gainsboro |<center>'''{{#ifeq: {{{lang|}}} | fr | Initié par | {{#ifeq: {{{lang|}}} | nl | | Initiated by }} }}'''</center>
! style="vertical-align: top;" | {{#switch: {{{lang|}}} | fr = Lancé par | Initiated by }}
|-
| {{{intiator|{{#var:NA}}}}}
|{{{initiator| {{#var:NA}} }}}
|-
| colspan=2 bgcolor=gainsboro |<div style="text-align: center;">'''{{#ifeq: {{{lang|}}} | fr | Collaborateur(s) | {{#ifeq: {{{lang|}}} | nl | | Collaborator(s) }} }}'''</div>
|-
| {{#arraymap: {{{collaborators| {{#var:NA}} }}}|,|x|x|<br />}}
|-  
|-  
! colspan=2 bgcolor=gainsboro |<center>'''{{#ifeq: {{{lang|}}} | fr | Résumé | {{#ifeq: {{{lang|}}} | nl | | Summary }} }}'''</center>
! style="vertical-align: top;" | {{#switch: {{{lang|}}} | fr = Collaborateur(s) | Collaborator(s) }}
| {{#arraymap: {{{collaborators|{{#var:NA}}}}}|,|x|x|<br />}}
|-  
|-  
| {{{summary| {{#var:TBD}} }}}
! style="vertical-align: top;" | {{#switch: {{{lang|}}} | fr = Résumé | Summary }}
| {{{summary|{{#var:NA}}}}}
|-
|-
! colspan=2 bgcolor=gainsboro |<center>'''{{#ifeq: {{{lang|}}} | fr | Objectifs | {{#ifeq: {{{lang|}}} | nl | | Goals }} }}'''</center>
! style="vertical-align: top;" | {{#switch: {{{lang|}}} | fr = Objectifs | Goals }}  
|-
| {{{goals|{{#var:NA}}}}}
| {{{goals| {{#var:TBD}} }}}
|-  
|-  
! colspan=2 bgcolor=gainsboro |<center>'''Contact'''</center>
! style="vertical-align: top;" | {{#switch: {{{lang|}}} | Contact }}
|-
| {{#arraymap: {{{contact|{{#var:NA}}}}}|,|x|x|<br />}}
| {{#arraymap: {{{contact| {{#var:NA}} }}}|,|x|x|<br />}}
|-
|-
|  colspan=2 bgcolor=gainsboro |<center>'''{{#ifeq: {{{lang|}}} | fr | Statut | {{#ifeq: {{{lang|}}} | nl | | Status }} }}'''</center>
! style="vertical-align: top;" | {{#switch: {{{lang|}}} | fr = Statut | nl = Staat | Status }}  
|-
| {{#ifeq: {{{active|}}} | true |  
| {{#ifeq: {{{active|}}} | true |  
    {{#ifeq: {{{lang|}}} | fr | Actif | {{#ifeq: {{{lang|}}} | nl | | Active }} }} |  
  {{#switch: {{{lang|}}} | fr = Actif | nl = Actief | Active }} {{#set: Has status=Active }} |  
    {{#ifeq: {{{archived|}}} | true |  
  {{#ifeq: {{{archived|}}} | true |
      {{#ifeq: {{{lang|}}} | fr | Archivé | {{#ifeq: {{{lang|}}} | nl | | Archived }} }} |  
    {{#switch: {{{lang|}}} | fr = Archivé | nl = Gearchiveerd | Archived }} {{#set: Has status=Archived }} |
      {{#ifeq: {{{lang|}}} | fr | Inactif | {{#ifeq: {{{lang|}}} | nl | | Inactive }} }}
    {{#switch: {{{lang|}}} | fr = Inactif | nl = Inactief | Inactive }} {{#set: Has status=Inactive }}  
    }}
   }}
   }}
}}
|}
|}
{{#if: {{{nocat|}}} | |  
{{#if: {{{nocat|}}} | |  

Revision as of 23:24, 19 November 2016

Our awesome project
Initiated by ?
Collaborator(s) An awesome team
Summary This is an awesome project to do great things in order to live in a better world
Goals To take on the world !
Contact Some tentacles
Status Active


Usage

{{ProjectSidebar
|lang = en
|projectname = Our awesome project
|initiator = An awesome Pirate
|collaborators = An awesome team
|summary = This is an awesome project to do great things in order to live in a better world
|goals = To take on the world !
|contact = Some tentacles
|active = true
|archived = false
}}