Template:ProjectSidebar: Difference between revisions
Jump to navigation
Jump to search
m (typo) |
(→Usage) |
||
(18 intermediate revisions by one other user not shown) | |||
Line 1: | Line 1: | ||
<includeonly>{ | <includeonly>{| class="pirate-sidebar project" | ||
| colspan=2 style="padding:0;" | | |||
| | {| style="width:100%;" cellspacing=0 | ||
! class="title" | {{#if: {{{title|}}} | [[Has title::{{{title}}}]] }} | |||
| | | class="icon" | [[File:Toicon-icon-avocado-build.svg|x24px|link=Category:Project]] | ||
|} | |||
|- | |- | ||
{{#if: {{{image|}}} | | |||
{{!}} colspan=2 {{!}} [[File:{{{image}}}|frameless|150px|center]] | |||
{{!}}- }} | |||
{{#if: {{{workgroup|}}} | | |||
! {{int:sidebar-workgroup}} | |||
{{!}} {{#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}} | |||
| {{#if: {{{start|}}} | |||
| [[Has start date::{{#time:Y/m/d|{{{start}}} }}|{{#time: D j F Y|{{{start}}}|{{int:language-code}} }}]] | |||
| ? | |||
}} | |||
|- | |- | ||
{{#if: {{{end|}}} | | |||
! {{int:sidebar-end-date}} | |||
{{!}} [[Has end date::{{#time:Y/m/d|{{{end}}} }}|{{#time: D j F Y|{{{end}}}|{{int:language-code}} }}]] | |||
{{!}}- }} | |||
{{#if: {{{contact|}}} | | |||
! {{int:sidebar-contact}} | |||
{{!}} {{#arraymap:{{{contact}}}|,|x|x|<br />}} | |||
{{!}}- }} | |||
! {{int:sidebar-status}} | |||
| {{#if: {{{status|}}} | |||
| [[Has status::{{lc:{{{status}}}}}|{{int:sidebar-status-{{lc:{{{status}}}}}}}]] | |||
| ? | |||
}} | }} | ||
{{#if: {{{discussion|}}} | | |||
{{!}}- | |||
{{!}} colspan=2 style="text-align: center;" {{!}} [[File:Toicon-icon-avocado-discuss.svg|x24px|link={{{discussion}}}|Discussion]] | |||
}} | }} | ||
|} | |}{{#if: {{{nocat|}}} | ||
{{#if: {{{nocat|}}} | | | | | ||
{{# | | {{#switch: {{SUBPAGENAME}} | ||
| fr= | nl= | en= | |||
| {{#switch: {{{status|}}} | |||
}} | | doing = [[Category:Active_Projects]] | ||
| active = [[Category:Active_Projects]] | |||
| done = [[Category:Archived Project]] | |||
| [[Category:Inactive Project]] | |||
}} [[Category:Project]] {{#default_form:Project}} | |||
}} | }} | ||
}}</includeonly><noinclude>{{ProjectSidebar | |||
}}</includeonly><noinclude> | | title = Sidebar Project | ||
{{ProjectSidebar | | image = Logo-heart 135px.png | ||
| | | workgroup = WikiSquad | ||
| | | topics = Pirate Party | ||
| | | start = 2017/03/01 | ||
| | | end = tomorrow | ||
| | | contact = wiki +at+ pirateparty [point] be | ||
| | | discussion = https://loomio.org | ||
| | | status = doing | ||
| | | nocat = true | ||
|nocat = true | |||
}} | }} | ||
== Usage == | |||
<nowiki>{{ProjectSidebar | |||
<nowiki> | | title = Sidebar Project | ||
{{ProjectSidebar | | 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 | ||
|contact = | | status = doing <!-- doing / done / abandoned --> | ||
| | |||
| | |||
}}</nowiki></noinclude> | }}</nowiki></noinclude> |
Latest revision as of 13:28, 29 March 2020
| |||
Workgroup | WikiSquad | ||
---|---|---|---|
Topics | Pirate Party | ||
Start date | Wed 1 March 2017 | ||
End date | Fri 22 November 2024 | ||
Contact | wiki +at+ pirateparty [point] be | ||
Status | In progress | ||
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 --> }}