Template:Projects: Difference between revisions

From Pirate Party Belgium
Jump to navigation Jump to search
(add "In topic" property support)
m (fixes for SMW 3.0)
 
(5 intermediate revisions by the same user not shown)
Line 5: Line 5:
   | [[Has status::{{#arraymap: {{{status}}}|,|x|x|{{!}}{{!}}}}]]
   | [[Has status::{{#arraymap: {{{status}}}|,|x|x|{{!}}{{!}}}}]]
   }} OR [[Category:Project]] {{#if: {{{1|}}}  
   }} OR [[Category:Project]] {{#if: {{{1|}}}  
   | [[In topic::{{#arraymap: {{{1}}}|,|x|x|{{!}}{{!}}}}]]  
   | [[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 13:23, 5 March 2019

Usage

{{Projects|An awesome workgroup|status=doing,done|showstatus=true}}

Example

{{Projects|status=doing,active}}