Template:Gender Census: Difference between revisions

    From Nonbinary Wiki
    (doesn't seem to work)
    (added <includeonly>)
    Line 1: Line 1:
    {{#switch:{{{1}}}
    <includeonly>{{#switch:{{{1}}}
      | 2021 = <ref name="GC21">"Gender Census 2021: Worldwide Report." ''Gender Census''. April 1, 2021. https://gendercensus.com/results/2021-worldwide/</ref>
      | 2021 = <ref name="GC21">"Gender Census 2021: Worldwide Report." ''Gender Census''. April 1, 2021. https://gendercensus.com/results/2021-worldwide/</ref>
      | 2020 = <ref name="GC20">"Gender Census 2020: Worldwide Report." ''Gender Census''. November 2, 2020. https://gendercensus.com/results/2020-worldwide/</ref>
      | 2020 = <ref name="GC20">"Gender Census 2020: Worldwide Report." ''Gender Census''. November 2, 2020. https://gendercensus.com/results/2020-worldwide/</ref>
    Line 9: Line 9:
      | 2013 = <ref name="GC13">"Gender Census 2013: Worldwide Report." ''Gender Census.'' July 6, 2013. https://gendercensus.com/results/2013-worldwide/</ref>
      | 2013 = <ref name="GC13">"Gender Census 2013: Worldwide Report." ''Gender Census.'' July 6, 2013. https://gendercensus.com/results/2013-worldwide/</ref>
      | #default = <ref name="GC">''Gender Census.'' https://gendercensus.com</ref>
      | #default = <ref name="GC">''Gender Census.'' https://gendercensus.com</ref>
    }}<noinclude>{{documentation}}
    }}</includeonly><noinclude>{{documentation}}
    [[Category:Templates]]
    [[Category:Templates]]
    </noinclude>
    </noinclude>

    Revision as of 23:02, 8 March 2022

    Template documentation[view] [edit] [history] [purge]

    This template generate a reference to the Gender Census worldwide report for the specified year. For example, {{Gender Census|2021}} will generate a reference to the 2021 report. If no year is specified (or the year is invalid) a generic reference to the Gender Census homepage is generated instead.