Jump to content

Template:IEG/Proposals/Status

From Meta, a Wikimedia project coordination wiki

This page determines categories based on proposal status:


{{#ifeq: {{{participants|}}} | YES | [[Category:IEG/Proposals/Participants]] | }}
{{#ifeq: {{{under review|}}} | YES | [[Category:IEG/Proposals/Review]] | }}

{{#ifeq: {{{IdeaLab|}}} | YES
  | [[Category:IEG/Proposals/IdeaLab]]
    {{#switch: {{{status|}}}
      | = [[Category:IEG/Proposals/IdeaLab/Only]]
      | DRAFT = [[Category:IEG/Proposals/Draft/IdeaLab]]
      | INELIGIBLE = [[Category:IEG/Proposals/Ineligible/IdeaLab]]
    }}
}}

{{#switch: {{{status|}}}
  | DRAFT = [[Category:IEG/Proposals/Draft]]
  | INELIGIBLE = [[Category:IEG/Proposals/Ineligible]]
  | WITHDRAWN = [[Category:IEG/Proposals/Withdrawn]]
  | PROPOSED = [[Category:IEG/Proposals/Proposed]]
  | NOT SELECTED = [[Category:IEG/Proposals/Not selected]]
  | SELECTED = [[Category:IEG/Proposals/Selected]]
  | COMPLETED = [[Category:IEG/Proposals/Completed]]
}}