Template:ProjectSidebar: Difference between revisions
Jump to navigation
Jump to search
(quick fix issue of duplicate entries in categories for translated pages + fix active status category) |
(use css class pirate-sidebar) |
||
| Line 1: | Line 1: | ||
<includeonly>{| style=" | <includeonly>{| class="pirate-sidebar" | ||
| colspan=2 style="padding:0;" | | |||
{| style="width:100%;" cellspacing=0 | |||
! class="title" | {{#if: {{{title|}}} | [[Has title::{{{title}}}]] }} | |||
| class="icon" | [[File:Gear - Noun project 7137.svg|x25px|link=Category:Project]] | |||
|} | |||
|- | |- | ||
{{#if: {{{workgroup|}}} | {{#if: {{{workgroup|}}} | | ||
| | ! {{int:sidebar-workgroup}} | ||
! | {{!}} {{#arraymap:{{{workgroup}}}|,|x|[[Organized by::{{ShowTitle|x}}]]|<br />}} | ||
{{!}} {{#arraymap:{{{workgroup}}}|,|x|[[Organized by::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: {{{start|}}} | ||
| [[Has start date::{{#time:Y/m/d|{{{start}}} }}|{{#time: D j F Y|{{{start}}}|{{int:language-code}} }}]] | |||
| ? | |||
}} | |||
|- | |- | ||
{{#if: {{{end|}}} | {{#if: {{{end|}}} | | ||
! {{int:sidebar-end-date}} | |||
{{!}} [[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|}}} | {{#arraymap: {{{contact}}}|,|x|x|<br />}} | ? }} | | {{#if: {{{contact|}}} | {{#arraymap: {{{contact}}}|,|x|x|<br />}} | ? }} | ||
|- | |- | ||
! | ! {{int:sidebar-status}} | ||
| {{#if: {{{status|}}} | | {{#if: {{{status|}}} | ||
| [[Has status::{{lc:{{{status}}}}}|{{int:sidebar-status-{{lc:{{{status}}}}}}}]] | | [[Has status::{{lc:{{{status}}}}}|{{int:sidebar-status-{{lc:{{{status}}}}}}}]] | ||
| ? | | ? | ||
}} | }} | ||
|} {{#if: {{{nocat|}}} | |}{{#if: {{{nocat|}}} | ||
| | | | ||
| {{#switch: {{SUBPAGENAME}} | | {{#switch: {{SUBPAGENAME}} | ||
| Line 33: | Line 39: | ||
}} [[Category:Project]] | }} [[Category:Project]] | ||
}} | }} | ||
}}</includeonly><noinclude>{{ProjectSidebar | }}</includeonly><noinclude>{{ProjectSidebar | ||
| title = | | title = Sidebar Project | ||
| workgroup = WikiSquad | | workgroup = WikiSquad | ||
| start = 2017/03/01 | | start = 2017/03/01 | ||
| Line 43: | Line 49: | ||
}} | }} | ||
== Usage == | == Usage == | ||
<nowiki>{{ProjectSidebar | <nowiki>{{ProjectSidebar | ||
| title = | | title = Sidebar Project | ||
| workgroup = WikiSquad <!-- optional --> | | workgroup = WikiSquad <!-- optional --> | ||
| start = 2017/03/01 | | start = 2017/03/01 | ||
Revision as of 08:11, 25 September 2017
| |||
| Workgroup | WikiSquad | ||
|---|---|---|---|
| Start date | Wed 1 March 2017 | ||
| End date | Sat 6 December 2025 | ||
| Contact | wiki +at+ pirateparty [point] be | ||
| Status | In progress | ||
Usage
{{ProjectSidebar
| title = Sidebar Project
| workgroup = WikiSquad <!-- optional -->
| start = 2017/03/01
| end = tomorrow <!-- optional -->
| contact = wiki +at+ pirateparty [point] be
| status = doing <!-- doing / done / abandoned -->
}}