Difference between revisions of "Template:Projects"
m (fixes for SMW 3.0) |
|||
(6 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<includeonly>{{#ask: [[Category:Project]] {{#if: {{{1|}}} | <includeonly>{{#ask: [[Category:Project]] {{#if: {{{1|}}} | ||
| [[Organized by::{{#arraymap: {{{1}}}|,|x|x|{{!}}{{!}}}}]] | | [[Organized by::{{#arraymap: {{{1}}}|,|x|x|{{!}}{{!}}}}]] | ||
+ | }} {{#ifeq: {{{status|+}}} | + | ||
+ | | [[Has status::+]] | ||
+ | | [[Has status::{{#arraymap: {{{status}}}|,|x|x|{{!}}{{!}}}}]] | ||
+ | }} OR [[Category:Project]] {{#if: {{{1|}}} | ||
+ | | [[In topic::{{#arraymap: {{{1}}}|,|x|x|{{!}}{{!}}}}{{#ask: [[Category:Topic]] [[Has parent::{{{1}}}]] | ||
+ | | link = none | ||
+ | | intro = {{!}}{{!}} | ||
+ | | sep = {{!}}{{!}} | ||
+ | }}]] | ||
}} {{#ifeq: {{{status|+}}} | + | }} {{#ifeq: {{{status|+}}} | + | ||
| [[Has status::+]] | | [[Has status::+]] | ||
| [[Has status::{{#arraymap: {{{status}}}|,|x|x|{{!}}{{!}}}}]] | | [[Has status::{{#arraymap: {{{status}}}|,|x|x|{{!}}{{!}}}}]] | ||
}} | }} | ||
− | | ? | + | | ?= |
− | | ?Has title | + | | ?Has title=title |
− | | ?Has status | + | | {{#ifeq: {{{showstatus|true}}} | true | ?Has status=status }} |
− | | ?Has start date | + | | ?Has start date=start |
− | | ?Has end date | + | | ?Has end date=end |
− | | ?Organized by | + | | ?Organized by=workgroup |
| format = tree | | format = tree | ||
+ | | mainlabel = - | ||
| parent = Organized by | | parent = Organized by | ||
| link = none | | link = none | ||
− | |||
| template = Project item | | template = Project item | ||
| sort = Has status, Has title | | sort = Has status, Has title | ||
+ | | order = asc, asc | ||
}}</includeonly><noinclude> | }}</includeonly><noinclude> | ||
== Usage == | == Usage == | ||
− | <nowiki>{{Projects|An awesome workgroup|status=doing,done}}</nowiki> | + | <nowiki>{{Projects|An awesome workgroup|status=doing,done|showstatus=true}}</nowiki> |
== Example == | == Example == |
Latest revision as of 14:23, 5 March 2019
Usage
{{Projects|An awesome workgroup|status=doing,done|showstatus=true}}
Example
{{Projects|status=doing,active}}
- Conseil citoyen (In progress)
- Defining the values of PPBe (In progress)
- External Communication (In progress)
- Press Squad (In progress)
- Redaction (In progress)
- FinanceSquad (In progress)
- FisconetPlus (In progress)
- Guiding activists to protect their privacy on the web (In progress)
- ITSquad (In progress)
- Internal Democracy (In progress)
- KAYOUX (In progress)
- Links between press & GAFAM (In progress)
- Pirate Lab (In progress)
- WikiSquad (In progress)