Difference between revisions of "Template:ProjectSidebar/sandbox"

From Pirate Party Belgium
Jump to: navigation, search
(remove member list as Val and Renaud suggested)
 
(10 intermediate revisions by the same user not shown)
Line 2: Line 2:
 
! style="text-align: center; background-color: #692D89; color:white;padding:0.3em; font-size:medium;" colspan="2" | [[Has title::{{{title|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 = Lancé le | Launched on }}
+
{{#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}}
 +
{{!}} {{#arraymap:{{{workgroup}}}|,|x|[[Organized by::x]]|<br />}}
 +
{{!}}- }}
 +
! 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}} }}]] | ? }}
 
|-  
 
|-  
 
{{#if: {{{end|}}}
 
{{#if: {{{end|}}}
| ! style="vertical-align: top;" {{!}} {{#switch: {{{lang|}}} | fr = Terminé le | Ended on }}
+
| ! style="vertical-align: top;" {{!}} {{int:sidebar-end-date}}
{{!}} [[Has end date::{{#time:Y/m/d|{{{end}}} }}|{{#time: D j F Y|{{{end}}}|{{{lang|en}}} }}]]  
+
{{!}} [[Has end date::{{#time:Y/m/d|{{{end}}} }}|{{#time: D j F Y|{{{end}}}|{{int:language-code}} }}]]  
 
{{!}}- }}
 
{{!}}- }}
! style="vertical-align: top;" | {{#switch: {{{lang|}}} | fr = Membres | nl = Leden | Members }}
+
! style="vertical-align: top;" | {{int:sidebar-contact}}  
| {{#if: {{{members|}}} | {{#arraymap: {{{members}}}|,|x|{{#set: Has member=x}}x}} | ? }}
 
|-
 
! style="vertical-align: top;" | {{#switch: {{{lang|}}} | 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: {{lc:{{{status|}}}}}
+
| {{#if: {{{status|}}}  
   | doing = [[Has status::In progress|{{#switch: {{{lang|}}}  
+
   | [[Has status::{{lc:{{{status}}}}}|{{int:sidebar-status-{{lc:{{{status}}}}}}}]]
    | fr = En cours
 
    | In progress
 
    }}]]
 
  | done = [[Has status::Done|{{#switch: {{{lang|}}}
 
    | fr = Terminé
 
    | Done
 
    }}]]
 
  | abandoned = [[Has status::Abandoned|{{#switch: {{{lang|}}}  
 
    | fr = Abandonné
 
    | Abandoned }}]]
 
 
   | ?
 
   | ?
 
   }}
 
   }}
Line 33: Line 25:
 
|  
 
|  
 
| {{#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]]
}}</includeonly><noinclude>
+
}}</includeonly><noinclude>{{ProjectSidebar/sandbox
 +
| title = New ProjectSidebar
 +
| workgroup = WikiSquad
 +
| start = 2017/03/01
 +
| end = tomorrow
 +
| contact = wiki +at+ pirateparty [point] be
 +
| status = doing
 +
| nocat = true
 +
}}
 +
 
 
  <nowiki>{{ProjectSidebar/sandbox
 
  <nowiki>{{ProjectSidebar/sandbox
|title=New ProjectSidebar
+
| title = New ProjectSidebar
|start=2017/03/01
+
| workgroup = WikiSquad <!-- optional -->
|end=tomorrow
+
| start = 2017/03/01
|members=[[User:HgO|HgO]], [[User:Franky|Franky]]
+
| end = tomorrow <!-- optional -->
|contact=wiki +at+ pirateparty [point] be
+
| contact = wiki +at+ pirateparty [point] be
|status=active
+
| status = doing <!-- doing / done / abandoned -->
|nocat=true
+
}}</nowiki></noinclude>
}}</nowiki>
 
 
 
{{ProjectSidebar/sandbox
 
|title=New ProjectSidebar
 
|start=2017/03/01
 
|end=tomorrow
 
|members=[[User:HgO|HgO]], [[User:Franky|Franky]]
 
|contact=wiki +at+ pirateparty [point] be
 
|status=active
 
|nocat=true
 
}}</noinclude>
 

Latest revision as of 16:26, 7 March 2017

New ProjectSidebar
Workgroup WikiSquad
Start date Wed 1 March 2017
End date Tue 30 April 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 -->
}}