Template:ProjectSidebar: Difference between revisions
Jump to navigation
Jump to search
(quick fix issue of duplicate entries in categories for translated pages) |
(new project sidebar) |
||
Line 1: | Line 1: | ||
<includeonly> | <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::{{{ | ! 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;" | {{#if: {{{workgroup|}}} | ||
| {{# | | | ||
! 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}} }}]] | ? }} | |||
|- | |- | ||
! style="vertical-align: top;" | {{# | {{#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 />}} | ? }} | |||
|- | |- | ||
! style="vertical-align: top;" | {{ | ! style="vertical-align: top;" | {{int:sidebar-status}} | ||
| {{#if: {{{status|}}} | |||
| [[Has status::{{lc:{{{status}}}}}|{{int:sidebar-status-{{lc:{{{status}}}}}}}]] | |||
| ? | |||
| {{# | |||
{{ | |||
}} | }} | ||
}}</includeonly><noinclude> | |} {{#if: {{{nocat|}}} | ||
{{ProjectSidebar | | | ||
| | | {{#switch: {{{status|}}} | ||
| | | doing = [[Category:Active_Projects]] | ||
| | | done = [[Category:Archived Project]] | ||
| [[Category:Inactive Project]] | |||
}} [[Category:Project]] | |||
| | }}</includeonly><noinclude>{{ProjectSidebar/sandbox | ||
|contact = | | title = New ProjectSidebar | ||
| | | workgroup = WikiSquad | ||
|nocat = true | | start = 2017/03/01 | ||
| end = tomorrow | |||
| contact = wiki +at+ pirateparty [point] be | |||
| status = doing | |||
| nocat = true | |||
}} | }} | ||
== Usage == | |||
<nowiki>{{ProjectSidebar/sandbox | |||
<nowiki> | | title = New ProjectSidebar | ||
{{ProjectSidebar | | workgroup = WikiSquad <!-- optional --> | ||
| | | start = 2017/03/01 | ||
| | | end = tomorrow <!-- optional --> | ||
| | | contact = wiki +at+ pirateparty [point] be | ||
| | | status = doing <!-- doing / done / abandoned --> | ||
|contact = | |||
| | |||
}}</nowiki></noinclude> | }}</nowiki></noinclude> |
Revision as of 19:11, 18 March 2017
New ProjectSidebar | |
---|---|
Workgroup | WikiSquad |
Start date | Wed 1 March 2017 |
End date | Fri 22 November 2024 |
Contact | wiki +at+ pirateparty [point] be |
Status | In progress |
Usage
{{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 --> }}