Template:ProjectSidebar: Difference between revisions

From Pirate Party Belgium
Jump to navigation Jump to search
(use css class pirate-sidebar)
 
(13 intermediate revisions by one other user not shown)
Line 1: Line 1:
<includeonly>{| class="pirate-sidebar"
<includeonly>{| class="pirate-sidebar project"
| colspan=2 style="padding:0;" |
| colspan=2 style="padding:0;" |
{| style="width:100%;" cellspacing=0
{| style="width:100%;" cellspacing=0
! class="title" | {{#if: {{{title|}}} | [[Has title::{{{title}}}]] }}
! class="title" | {{#if: {{{title|}}} | [[Has title::{{{title}}}]] }}
| class="icon" | [[File:Gear - Noun project 7137.svg|x25px|link=Category:Project]]
| class="icon" | [[File:Toicon-icon-avocado-build.svg|x24px|link=Category:Project]]
|}
|}
|-  
|-  
{{#if: {{{image|}}} |
{{!}} colspan=2 {{!}} [[File:{{{image}}}|frameless|150px|center]]
{{!}}- }}
{{#if: {{{workgroup|}}} |  
{{#if: {{{workgroup|}}} |  
! {{int:sidebar-workgroup}}
! {{int:sidebar-workgroup}}
{{!}} {{#arraymap:{{{workgroup}}}|,|x|[[Organized by::{{ShowTitle|x}}]]|<br />}}
{{!}} {{#arraymap:{{{workgroup}}}|,|x|[[Organized by::x|{{ShowTitle|x}}]]|<br />}}
{{!}}- }}
{{#if: {{{topics|}}} |
! {{int:sidebar-topics}}
{{!}} {{#arraymap:{{{topics}}}|,|x|[[In topic::x|{{ShowTitle|x}}]]|<br />}}
{{!}}- }}
{{!}}- }}
! {{int:sidebar-start-date}}
! {{int:sidebar-start-date}}
Line 20: Line 27:
{{!}} [[Has end date::{{#time:Y/m/d|{{{end}}} }}|{{#time: D j F Y|{{{end}}}|{{int:language-code}} }}]]  
{{!}} [[Has end date::{{#time:Y/m/d|{{{end}}} }}|{{#time: D j F Y|{{{end}}}|{{int:language-code}} }}]]  
{{!}}- }}
{{!}}- }}
! {{int:sidebar-contact}}  
{{#if: {{{contact|}}} |
| {{#if: {{{contact|}}} | {{#arraymap: {{{contact}}}|,|x|x|<br />}} | ? }}
! {{int:sidebar-contact}}
|-
{{!}} {{#arraymap:{{{contact}}}|,|x|x|<br />}}
{{!}}- }}
! {{int:sidebar-status}}  
! {{int:sidebar-status}}  
| {{#if: {{{status|}}}  
| {{#if: {{{status|}}}  
Line 28: Line 36:
   | ?
   | ?
   }}
   }}
{{#if: {{{discussion|}}} |
{{!}}-
{{!}} colspan=2 style="text-align: center;" {{!}} [[File:Toicon-icon-avocado-discuss.svg|x24px|link={{{discussion}}}|Discussion]]
}}
|}{{#if: {{{nocat|}}}  
|}{{#if: {{{nocat|}}}  
|  
|  
Line 37: Line 49:
     | done = [[Category:Archived Project]]  
     | done = [[Category:Archived Project]]  
     | [[Category:Inactive Project]]  
     | [[Category:Inactive Project]]  
     }} [[Category:Project]]
     }} [[Category:Project]] {{#default_form:Project}}
   }}
   }}
}}</includeonly><noinclude>{{ProjectSidebar
}}</includeonly><noinclude>{{ProjectSidebar
| title = Sidebar Project
| title = Sidebar Project
| image = Logo-heart 135px.png
| workgroup = WikiSquad
| workgroup = WikiSquad
| topics = Pirate Party
| start = 2017/03/01
| start = 2017/03/01
| end = tomorrow
| end = tomorrow
| contact = wiki +at+ pirateparty [point] be
| contact = wiki +at+ pirateparty [point] be
| discussion = https://loomio.org
| status = doing
| status = doing
| nocat = true
| nocat = true
Line 51: Line 66:
  <nowiki>{{ProjectSidebar
  <nowiki>{{ProjectSidebar
| title = Sidebar Project
| title = Sidebar Project
| workgroup = WikiSquad <!-- optional -->
| image = Logo-heart 135px.png
| workgroup = WikiSquad <!-- optional, should be an existing wiki-page -->
| topics = Pirate Party <!-- optional, should be an existing wiki-page -->
| start = 2017/03/01
| start = 2017/03/01
| end = tomorrow <!-- optional -->
| end = tomorrow <!-- optional -->
| contact = wiki +at+ pirateparty [point] be
| contact = wiki +at+ pirateparty [point] be
| discussion = https://loomio.org
| status = doing <!-- doing / done / abandoned -->
| status = doing <!-- doing / done / abandoned -->
}}</nowiki></noinclude>
}}</nowiki></noinclude>

Latest revision as of 13:28, 29 March 2020

Sidebar Project Toicon-icon-avocado-build.svg
Logo-heart 135px.png
Workgroup WikiSquad
Topics Pirate Party
Start date Wed 1 March 2017
End date Mon 25 November 2024
Contact wiki +at+ pirateparty [point] be
Status In progress
Discussion

Usage

{{ProjectSidebar
| title = Sidebar Project
| image = Logo-heart 135px.png
| workgroup = WikiSquad <!-- optional, should be an existing wiki-page -->
| topics = Pirate Party <!-- optional, should be an existing wiki-page -->
| start = 2017/03/01
| end = tomorrow <!-- optional -->
| contact = wiki +at+ pirateparty [point] be
| discussion = https://loomio.org
| status = doing <!-- doing / done / abandoned -->
}}