Difference between revisions of "Template:ProjectSidebar"

From Pirate Party Belgium
Jump to: navigation, search
(properties in language and has member)
(quick fix issue of duplicate entries in categories for translated pages)
Line 26: Line 26:
 
}}
 
}}
 
|}
 
|}
{{#if: {{{nocat|}}} | |  
+
{{#if: {{{nocat|}}} | |
   {{#ifeq: {{{active|}}} | true | [[Category:Active_Projects]] |  
+
   {{#switch: {{SUBPAGENAME}}
    {{#ifeq: {{{archived|}}} | true | [[Category:Archived Project]] |  
+
  | fr = | nl = | en =
      [[Category:Inactive Project]]  
+
  | {{#ifeq: {{{active|}}} | true | [[Category:Active_Projects]] |  
     }}
+
      {{#ifeq: {{{archived|}}} | true | [[Category:Archived Project]] |  
 +
        [[Category:Inactive Project]]  
 +
      }}
 +
     }} [[Category:Project]]
 
   }}
 
   }}
  [[Category:Project]]
 
 
}}</includeonly><noinclude>
 
}}</includeonly><noinclude>
 
{{ProjectSidebar
 
{{ProjectSidebar

Revision as of 11:40, 4 March 2017

Toicon-icon-avocado-build.svg
Start date ?
Contact Some tentacles
Status ?

Usage

{{ProjectSidebar
|lang = en
|projectname = Our awesome project
|initiator = An awesome Pirate
|collaborators = An awesome team
|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
|active = true
|archived = false
}}