Template:ProjectSidebar: Difference between revisions

From Pirate Party Belgium
Jump to navigation Jump to search
(arraymap function to replace "," with new lines in the "contact" argument)
(archived argument)
Line 24: Line 24:
|  colspan=2 bgcolor=gainsboro |<center>'''Status'''</center>
|  colspan=2 bgcolor=gainsboro |<center>'''Status'''</center>
|-  
|-  
| {{#ifeq: {{{active|}}} | true | Active | Inactive }}
| {{#ifeq: {{{active|}}} | true |  
  Active [[Category:Active_Projects]] |  
  {{#ifeq: {{{archived|}}} | true |
    Archived [[Category:Archived Project]] |
    Inactive <includeonly>[[Category:Inactive Project]]</includeonly>
  }}
}}
|}
|}
<includeonly>{{#ifeq: {{{active|}}} | true |
<includeonly>{{#ifeq: {{{active|}}} | true |
[[Category:Active_Projects]]
 
}} [[Category:Project]]</includeonly><noinclude>
}} [[Category:Project]]</includeonly><noinclude>


Line 40: Line 46:
|contact = Some tentacles
|contact = Some tentacles
|active = true
|active = true
|archived = false
}}</nowiki></noinclude>
}}</nowiki></noinclude>

Revision as of 10:24, 12 October 2016

Our awesome project
Initiated by
An awesome Pirate
Collaborator(s)
An awesome team of Pirates
Summary
This is an awesome project to do great things in order to live in a better world
Goals
To take on the world !
Contact
Some tentacles
Status
Inactive


Usage

{{ProjectSidebar
|projectname = Our awesome project
|initiator = An awesome Pirate
|collaborators = An awesom team
|summary = This an awesom project to do great things.
|goals = To take on the world !
|contact = Some tentacles
|active = true
|archived = false
}}