Jump to content

Template:Democracy Index rating/doc

Kufuma Wikipedia

Displays the rating of a country from The Economist's Democracy Index in a sentence.

{{{1}}} is the name of the country. {{{2}}} is the classification; if it is "authoritarian regime", the "a" before it changes to an "an". {{{3}}} is the year being rated, which currently should be 2022. If {{{4}}} is set to "true", there's a comma instead of a period.

E.g. {{Democracy Index rating|Alethkar|authoritarian regime|2022}} displays as:

The Economist Intelligence Unit rated Alethkar an "authoritarian regime" in 2022.[1]

{{Democracy Index rating|Azir|hybrid regime|2022|1}} making it better than Alethkar. displays as:

The Economist Intelligence Unit rated Azir a "hybrid regime" in 2022,[1] making it better than Alethkar.

The reference made by this may be re-used with the syntax <ref name ="democracy-index" />

Articles with anything other than 2022 as the 3rd parameter are in Category:Outdated Democracy Index rating template users.

References

  1. 1.0 1.1 "Democracy Index 2022: Frontline democracy and the battle for Ukraine" (PDF). Economist Intelligence Unit (in British English). 2023. Retrieved 2023-02-09.

[needs update]

TemplateData

[kulemba source]
This is the TemplateData for this template used by TemplateWizard, VisualEditor and other tools. See a monthly parameter usage report for this template in articles based on this TemplateData.

TemplateData for Democracy Index rating

Displays the rating of a country from The Economist's Democracy Index in a sentence.

Template parameters

ParameterDescriptionTypeStatus
11 country

the country the template is showing the rating for

Example
Spain
Stringrequired
22 classification

classification of the country: full democracy, flawed democracy, hybrid regime, or authoritarian regime

Suggested values
full democracy flawed democracy hybrid regime authoritarian regime
Example
full democracy
Stringrequired
33 edition rated in

Year the rating is about; the edition published in 2023 is referred to with "2022"

Example
2022
Stringrequired
44 display-comma

If it has a value, there will be a comma at the end of the template rather than a period

Booleanoptional