Template:Project: Difference between revisions
imported>B42 (make image optional property) |
imported>B42 (If status=template, do not set up categories/properties) |
||
Line 23: | Line 23: | ||
</div> | </div> | ||
</div> | </div> | ||
{{#ifeq: {{{status|}}} | |||
--> {{ProjectCategoryTags|Software projects|sw|{{{tags|}}}}} <!-- | | template | ||
--> {{ProjectCategoryTags|Hardware projects|hw|{{{tags|}}}}} <!-- | |<!--nothing-->| | ||
--> {{ProjectCategoryTags|Projects looking for participants|coops|{{{tags|}}}}} <!-- | [[Category:Projects]] <!-- | ||
--> {{ProjectCategoryTags|Infrastructure projects|infrastructure|{{{tags|}}}}} <!-- | --> {{ProjectCategoryTags|Software projects|sw|{{{tags|}}}}} <!-- | ||
--> {{#ifeq:{{{stale|false}}}|true|[[Category:Stale projects]]||}} <!-- | --> {{ProjectCategoryTags|Hardware projects|hw|{{{tags|}}}}} <!-- | ||
--> {{#set:Description={{{shortdesc|Description missing}}}}} <!-- | --> {{ProjectCategoryTags|Projects looking for participants|coops|{{{tags|}}}}} <!-- | ||
--> {{#set:Status={{{status|Status missing}}}}} <!-- | --> {{ProjectCategoryTags|Infrastructure projects|infrastructure|{{{tags|}}}}} <!-- | ||
--> {{#set:Tags={{{tags|}}}}} <!-- | --> {{#ifeq:{{{stale|false}}}|true|[[Category:Stale projects]]||}} <!-- | ||
--> {{#set:Contributors={{{founder}}}<!-- | --> {{#set:Description={{{shortdesc|Description missing}}}}} <!-- | ||
--> {{#set:Status={{{status|Status missing}}}}} <!-- | |||
--> {{#set:Tags={{{tags|}}}}} <!-- | |||
--> }} <!-- | --> {{#set:Contributors={{{founder}}}<!-- | ||
--> {{#set:Project name={{{name|{{PAGENAME}}}}}}} <!-- | -->{{#if:{{{founder|}}}|{{#if:{{{coops|}}}|, ​|}}|}}<!-- | ||
--> {{#set:Stale={{{stale|false}}}}} <!-- | -->{{#replace:{{#replace:{{{coops|}}}|#|,}}|,|, ​}}<!-- | ||
--> {{#if:{{{image|}}}|{{#set:Image={{{image}}}}}|}} <!-- | --> }} <!-- | ||
--> {{#set:Project name={{{name|{{PAGENAME}}}}}}} <!-- | |||
--> {{#set:Stale={{{stale|false}}}}} <!-- | |||
--> {{#if:{{{image|}}}|{{#set:Image={{{image}}}}}|}} <!-- | |||
--> }} <!-- end of #ifeq status=template | |||
--> </includeonly> | --> </includeonly> |