Difference between revisions of "Template:Projects"

From Pirate Party Belgium
Jump to: navigation, search
(add "In topic" property support)
(show projects from subtopics)
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::+]]

Revision as of 10:30, 27 September 2017

Usage

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

Example

{{Projects|status=doing,active}}