Difference between revisions of "Template:ProjectSidebar"

From Pirate Party Belgium
Jump to: navigation, search
(French translation for (in)active/archived)
(nocat parameter + default values for each parameter)
Line 1: Line 1:
{| 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;"
+
<includeonly>{| 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|Our awesome project}}}'''</font></center>
 
! colspan=2 bgcolor=#692D89 |<center><font color="white">'''{{{projectname|Our awesome project}}}'''</font></center>
 
|-
 
|-
 
!  colspan=2 bgcolor=gainsboro |<center>'''{{#ifeq: {{{lang|}}} | fr | Initié par | {{#ifeq: {{{lang|}}} | nl | | Initiated by }} }}'''</center>
 
!  colspan=2 bgcolor=gainsboro |<center>'''{{#ifeq: {{{lang|}}} | fr | Initié par | {{#ifeq: {{{lang|}}} | nl | | Initiated by }} }}'''</center>
 
|-
 
|-
|{{{initiator|An awesome Pirate}}}
+
|{{{initiator| {{#ifeq: {{{lang|}}} | fr | Non assigné | {{#ifeq: {{{lang|}}} | nl | | Not assigned }} }} }}}
 
|-  
 
|-  
 
| colspan=2 bgcolor=gainsboro |<div style="text-align: center;">'''{{#ifeq: {{{lang|}}} | fr | Collaborateur(s) | {{#ifeq: {{{lang|}}} | nl | | Collaborator(s) }} }}'''</div>
 
| colspan=2 bgcolor=gainsboro |<div style="text-align: center;">'''{{#ifeq: {{{lang|}}} | fr | Collaborateur(s) | {{#ifeq: {{{lang|}}} | nl | | Collaborator(s) }} }}'''</div>
 
|-  
 
|-  
| {{#arraymap: {{{collaborators|An awesome team of Pirates}}}|,|x|x|<br />}}
+
| {{#arraymap: {{{collaborators| {{#ifeq: {{{lang|}}} | fr | Non assigné | {{#ifeq: {{{lang|}}} | nl | | Not assigned }} }} }}}|,|x|x|<br />}}
 
|-  
 
|-  
 
!  colspan=2 bgcolor=gainsboro |<center>'''{{#ifeq: {{{lang|}}} | fr | Résumé | {{#ifeq: {{{lang|}}} | nl | | Summary }} }}'''</center>
 
!  colspan=2 bgcolor=gainsboro |<center>'''{{#ifeq: {{{lang|}}} | fr | Résumé | {{#ifeq: {{{lang|}}} | nl | | Summary }} }}'''</center>
 
|-  
 
|-  
| {{{summary|This is an awesome project to do great things in order to live in a better world}}}
+
| {{{summary|To be defined}}}
 
|-
 
|-
 
!  colspan=2 bgcolor=gainsboro |<center>'''{{#ifeq: {{{lang|}}} | fr | Objectifs | {{#ifeq: {{{lang|}}} | nl | | Goals }} }}'''</center>
 
!  colspan=2 bgcolor=gainsboro |<center>'''{{#ifeq: {{{lang|}}} | fr | Objectifs | {{#ifeq: {{{lang|}}} | nl | | Goals }} }}'''</center>
 
|-  
 
|-  
| {{{goals|To take on the world !}}}
+
| {{{goals|To be defined}}}
 
|-  
 
|-  
 
!  colspan=2 bgcolor=gainsboro |<center>'''Contact'''</center>
 
!  colspan=2 bgcolor=gainsboro |<center>'''Contact'''</center>
 
|-  
 
|-  
| {{#arraymap: {{{contact|Some tentacles}}}|,|x|x|<br />}}
+
| {{#arraymap: {{{contact|Not assigned}}}|,|x|x|<br />}}
 
|-
 
|-
 
|  colspan=2 bgcolor=gainsboro |<center>'''{{#ifeq: {{{lang|}}} | fr | Statut | {{#ifeq: {{{lang|}}} | nl | | Status }} }}'''</center>
 
|  colspan=2 bgcolor=gainsboro |<center>'''{{#ifeq: {{{lang|}}} | fr | Statut | {{#ifeq: {{{lang|}}} | nl | | Status }} }}'''</center>
 
|-  
 
|-  
 
| {{#ifeq: {{{active|}}} | true |  
 
| {{#ifeq: {{{active|}}} | true |  
  {{#ifeq: {{{lang|}}} | fr | Actif | {{#ifeq: {{{lang|}}} | nl | | Active }} }} [[Category:Active_Projects]] |  
+
    {{#ifeq: {{{lang|}}} | fr | Actif | {{#ifeq: {{{lang|}}} | nl | | Active }} }} |  
  {{#ifeq: {{{archived|}}} | true |  
+
    {{#ifeq: {{{archived|}}} | true |  
    {{#ifeq: {{{lang|}}} | fr | Archivé | {{#ifeq: {{{lang|}}} | nl | | Archived }} }} [[Category:Archived Project]] |  
+
      {{#ifeq: {{{lang|}}} | fr | Archivé | {{#ifeq: {{{lang|}}} | nl | | Archived }} }} |  
    {{#ifeq: {{{lang|}}} | fr | Inactif | {{#ifeq: {{{lang|}}} | nl | | Inactive }} }} <includeonly>[[Category:Inactive Project]]</includeonly>
+
      {{#ifeq: {{{lang|}}} | fr | Inactif | {{#ifeq: {{{lang|}}} | nl | | Inactive }} }}
 +
    }}
 
   }}
 
   }}
 +
|}
 +
{{#if: {{{nocat|}}} | |
 +
  {{#ifeq: {{{active|}}} | true | [[Category:Active_Projects]] |
 +
    {{#ifeq: {{{archived|}}} | true | [[Category:Archived Project]] |
 +
      [[Category:Inactive Project]]
 +
    }}
 +
  }}
 +
  [[Category:Project]]
 +
}}</includeonly><noinclude>
 +
{{ProjectSidebar
 +
|lang = en
 +
|projectname = Our awesome project
 +
|initiator = An awesome Pirate
 +
|collaborators = An awesom 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
 +
|nocat = true
 
}}
 
}}
|}
 
<includeonly>[[Category:Project]]</includeonly><noinclude>
 
  
 
=== Usage ===
 
=== Usage ===
Line 41: Line 59:
 
|initiator = An awesome Pirate
 
|initiator = An awesome Pirate
 
|collaborators = An awesom team
 
|collaborators = An awesom team
|summary = This an awesom project to do great things.
+
|summary = This is an awesome project to do great things in order to live in a better world
 
|goals = To take on the world !
 
|goals = To take on the world !
 
|contact = Some tentacles
 
|contact = Some tentacles

Revision as of 01:29, 12 November 2016

Toicon-icon-avocado-build.svg
Start date ?
Contact Some tentacles
Status ?

Usage

{{ProjectSidebar
|lang = en
|projectname = Our awesome project
|initiator = An awesome Pirate
|collaborators = An awesom 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
}}