Template:Projects: Difference between revisions

From Pirate Party Belgium
Jump to navigation Jump to search
No edit summary
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
| mainlabel=-
| 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}}