Difference between revisions of "Template:Projects"
m (fixes for SMW 3.0) |
|||
(7 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 status | + | | ?Has title=title |
− | | ?Has start date | + | | {{#ifeq: {{{showstatus|true}}} | true | ?Has status=status }} |
− | | ?Has end date | + | | ?Has start date=start |
− | | ?Organized by | + | | ?Has end date=end |
− | | format = | + | | ?Organized by=workgroup |
+ | | format = tree | ||
+ | | mainlabel = - | ||
+ | | parent = Organized by | ||
| link = none | | link = none | ||
| template = Project item | | template = Project item | ||
| sort = Has status, Has title | | sort = Has status, Has title | ||
− | }}</includeonly> | + | | order = asc, asc |
+ | }}</includeonly><noinclude> | ||
+ | == Usage == | ||
+ | |||
+ | <nowiki>{{Projects|An awesome workgroup|status=doing,done|showstatus=true}}</nowiki> | ||
+ | |||
+ | == Example == | ||
+ | |||
+ | <nowiki>{{Projects|status=doing,active}}</nowiki> | ||
+ | |||
+ | {{Projects|status=doing,active}}</noinclude> |
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)