Template:ProjectSidebar/sandbox: Difference between revisions

From Pirate Party Belgium
Jump to navigation Jump to search
(project of a new project sidebar)
 
(remove member list as Val and Renaud suggested)
 
(17 intermediate revisions by the same user 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>{| 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" | [[Has title::{{{projectname|Pirate Project}}}]]
! style="text-align: center; background-color: #692D89; color:white;padding:0.3em; font-size:medium;" colspan="2" | [[Has title::{{{title|Pirate Project}}}]]
|-
! style="vertical-align: top;" | {{#switch: {{{lang|}}} | fr = Porté par | Backed by }}
| {{#if: {{{backer|}}} | [[Backed by::{{{backer}}}]] | ? }}
|-  
|-  
! style="vertical-align: top;" | {{#switch: {{{lang|}}} | fr = Lancé le | Launch date }}
{{#if: {{{workgroup|}}}  
| {{#if: {{{start|}}} | [[Has start date::{{#time:Y/m/d|{{{start}}} }}|{{#time:D j F Y|{{{start}}}|{{{lang|en}}} }}]] | ? }}
|  
|-  
! style="vertical-align: top;" {{!}} {{int:sidebar-workgroup}}
! style="vertical-align: top;" | {{#switch: {{{lang|}}} | fr = Participants | nl = Deelnemers | Members }}
{{!}} {{#arraymap:{{{workgroup}}}|,|x|[[Organized by::x]]|<br />}}
| {{#if: {{{members|}}} | {{#arraymap: {{{members}}}|,|x|{{#set: Has member=x}}x}} | ? }}
{{!}}- }}
! style="vertical-align: top;" | {{int:sidebar-start-date}}
| {{#if: {{{start|}}} | [[Has start date::{{#time:Y/m/d|{{{start}}} }}|{{#time: D j F Y|{{{start}}}|{{int:language-code}} }}]] | ? }}
|-  
|-  
! style="vertical-align: top;" | {{#switch: {{{lang|}}} | Contact }}  
{{#if: {{{end|}}}
| ! style="vertical-align: top;" {{!}} {{int:sidebar-end-date}}
{{!}} [[Has end date::{{#time:Y/m/d|{{{end}}} }}|{{#time: D j F Y|{{{end}}}|{{int:language-code}} }}]]
{{!}}- }}
! style="vertical-align: top;" | {{int:sidebar-contact}}  
| {{#if: {{{contact|}}} | {{#arraymap: {{{contact}}}|,|x|x|<br />}} | ? }}
| {{#if: {{{contact|}}} | {{#arraymap: {{{contact}}}|,|x|x|<br />}} | ? }}
|-
|-
! style="vertical-align: top;" | {{#switch: {{{lang|}}} | fr = Statut | nl = Staat | Status }}  
! style="vertical-align: top;" | {{int:sidebar-status}}  
| {{#switch: {{{status|}}}  
| {{#if: {{{status|}}}  
   | active = [[Has status::Active|{{#switch: {{{lang|}}}  
   | [[Has status::{{lc:{{{status}}}}}|{{int:sidebar-status-{{lc:{{{status}}}}}}}]]
    | fr = Actif
   | ?
    | nl = Actief
    | Active
    }}]]
  | archived = [[Has status::Archived|{{#switch: {{{lang|}}}  
    | fr = Archivé
    | nl = Gearchiveerd
    | Archived
    }}]]
   | [[Has status::Inactive|{{#switch: {{{lang|}}}
    | fr = Inactif
    | nl = Inactief
    | Inactive }}]]
   }}
   }}
|} {{#if: {{{nocat|}}}  
|} {{#if: {{{nocat|}}}  
|  
|  
| {{#switch: {{{status|}}}  
| {{#switch: {{{status|}}}  
   | active = [[Category:Active_Projects]]  
   | doing = [[Category:Active_Projects]]  
   | archived = [[Category:Archived Project]]  
   | done = [[Category:Archived Project]]  
   | [[Category:Inactive Project]]  
   | [[Category:Inactive Project]]  
   }} [[Category:Project]]
   }} [[Category:Project]]
}} [[In language::{{{lang|en}}}| ]]</includeonly><noinclude>
}}</includeonly><noinclude>{{ProjectSidebar/sandbox
{{ProjectSidebar/sandbox
| title = New ProjectSidebar
|backer=User:HgO
| workgroup = WikiSquad
|start=now
| start = 2017/03/01
|members=User:HgO, User:Franky
| end = tomorrow
|contact=Some tentacles, Random text
| contact = wiki +at+ pirateparty [point] be
|status=active
| status = doing
|nocat=true
| nocat = true
}}</noinclude>
}}
 
<nowiki>{{ProjectSidebar/sandbox
| title = New ProjectSidebar
| workgroup = WikiSquad <!-- optional -->
| start = 2017/03/01
| end = tomorrow <!-- optional -->
| contact = wiki +at+ pirateparty [point] be
| status = doing <!-- doing / done / abandoned -->
}}</nowiki></noinclude>

Latest revision as of 15:26, 7 March 2017

New ProjectSidebar
Workgroup WikiSquad
Start date Wed 1 March 2017
End date Mon 25 November 2024
Contact wiki +at+ pirateparty [point] be
Status In progress
{{ProjectSidebar/sandbox
| title = New ProjectSidebar
| workgroup = WikiSquad <!-- optional -->
| start = 2017/03/01
| end = tomorrow <!-- optional -->
| contact = wiki +at+ pirateparty [point] be
| status = doing <!-- doing / done / abandoned -->
}}