Template:Cite constitution
Purpose
This template allows for the easy citing and linking to of constitutions.
Syntax
Horizontal
<syntaxhighlight lang="wikitext">Error: the <syntaxhighlight lang="text" class="" style="" inline="1">article</syntaxhighlight> and <syntaxhighlight lang="text" class="" style="" inline="1">amendment</syntaxhighlight> parameters cannot both be empty for the {{cite constitution}}
template of the [[Constitution of Error: the <syntaxhighlight lang="text" class="" style="" inline="1">polity</syntaxhighlight> parameter cannot be empty for the {{cite constitution}}
template]] (Error: the <syntaxhighlight lang="text" class="" style="" inline="1">date</syntaxhighlight> parameter cannot be empty for the {{cite constitution}}
template)</syntaxhighlight>
Vertical
<syntaxhighlight lang="wikitext">Error: the <syntaxhighlight lang="text" class="" style="" inline="1">article</syntaxhighlight> and <syntaxhighlight lang="text" class="" style="" inline="1">amendment</syntaxhighlight> parameters cannot both be empty for the {{cite constitution}}
template of the [[Constitution of Error: the <syntaxhighlight lang="text" class="" style="" inline="1">polity</syntaxhighlight> parameter cannot be empty for the {{cite constitution}}
template]] (Error: the <syntaxhighlight lang="text" class="" style="" inline="1">date</syntaxhighlight> parameter cannot be empty for the {{cite constitution}}
template)</syntaxhighlight>
Examples
All required parameters
<syntaxhighlight lang="wikitext">Article IV, Section 1 of the Constitution of Puerto Rico (1952)</syntaxhighlight>
will display as:
Article IV, Section 1 of the Constitution of Puerto Rico (1952)
Amendments
<syntaxhighlight lang="wikitext">Twelfth Amendment of the Constitution of United States (1804)</syntaxhighlight>
will display as:
Twelfth Amendment of the Constitution of United States (1804)
With additional parameters
<syntaxhighlight lang="wikitext">"Article XIV, Section 7". Constitution of the Philippines. Official Gazette of the Republic of the Philippines. 1987. Archived from the original on June 9, 2017. Retrieved February 11, 2023.</syntaxhighlight>
will display as:
"Article XIV, Section 7". Constitution of the Philippines. Official Gazette of the Republic of the Philippines. 1987. Archived from the original on June 9, 2017. Retrieved February 11, 2023.
Parameters
Parameter | Description | Requirement |
---|---|---|
<syntaxhighlight lang="text" class="" style="" inline="1">amendment</syntaxhighlight> | amendment of the constitution where the citation resides | semi-required |
<syntaxhighlight lang="text" class="" style="" inline="1">article</syntaxhighlight> | article of the constitution where the citation resides | semi-required |
<syntaxhighlight lang="text" class="" style="" inline="1">clause</syntaxhighlight> | clause within the article of the constitution where the citation resides | optional |
<syntaxhighlight lang="text" class="" style="" inline="1">section</syntaxhighlight> | section within the article of the constitution where the citation resides | optional |
<syntaxhighlight lang="text" class="" style="" inline="1">polity</syntaxhighlight> | political entity (polity) of the constitution being cited | required |
<syntaxhighlight lang="text" class="" style="" inline="1">date</syntaxhighlight> | date the constitution was ratified; can be year only | required |
<syntaxhighlight lang="text" class="" style="" inline="1">url</syntaxhighlight> | an external site with the text (required if <syntaxhighlight lang="text" class="" style="" inline="1">website</syntaxhighlight> or <syntaxhighlight lang="text" class="" style="" inline="1">archive-url</syntaxhighlight> or <syntaxhighlight lang="text" class="" style="" inline="1">archive-date</syntaxhighlight> or <syntaxhighlight lang="text" class="" style="" inline="1">access-date</syntaxhighlight> or <syntaxhighlight lang="text" class="" style="" inline="1">via</syntaxhighlight> are used) | optional |
<syntaxhighlight lang="text" class="" style="" inline="1">website</syntaxhighlight> | the website publishing the text (requires <syntaxhighlight lang="text" class="" style="" inline="1">url</syntaxhighlight>) | optional |
<syntaxhighlight lang="text" class="" style="" inline="1">archive-url</syntaxhighlight> | an external archive site with the text (requires <syntaxhighlight lang="text" class="" style="" inline="1">url</syntaxhighlight> and <syntaxhighlight lang="text" class="" style="" inline="1">archive-date</syntaxhighlight>) | optional |
<syntaxhighlight lang="text" class="" style="" inline="1">archive-date</syntaxhighlight> | date on which the archive was made (requires <syntaxhighlight lang="text" class="" style="" inline="1">url</syntaxhighlight> and <syntaxhighlight lang="text" class="" style="" inline="1">archive-url</syntaxhighlight>) | optional |
<syntaxhighlight lang="text" class="" style="" inline="1">access-date</syntaxhighlight> | the last date on which the site was verified to be operational (requires <syntaxhighlight lang="text" class="" style="" inline="1">url</syntaxhighlight>) | optional |
<syntaxhighlight lang="text" class="" style="" inline="1">via</syntaxhighlight> | the website hosting the text (if different from <syntaxhighlight lang="text" class="" style="" inline="1">website</syntaxhighlight>, requires <syntaxhighlight lang="text" class="" style="" inline="1">url</syntaxhighlight>) | optional |
TemplateData
TemplateData for Cite constitution
For citing and linking to constitutions of various countries.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Amendment | amendment | Amendment of the constitution where the citation resides | Unknown | suggested |
Article | article | Article of the constitution where the citation resides | Unknown | required |
Section | section | Section within the article of the constitution where the citation resides | Unknown | suggested |
Clause | clause | Clause within the article of the constitution where the citation resides | Unknown | suggested |
Political | polity country | Political entity (polity) of the constitution being cited | Unknown | required |
Date | date ratified | Date the constitution was ratified; can be year only | Unknown | required |
URL | url | an external site with the text | Unknown | optional |
Website | website work | the website publishing the text | Unknown | optional |
Archive URL | archive-url archiveurl | an external archive site with the text | Unknown | optional |
Archive date | archive-date archivedate | date on which the archive was made | Unknown | optional |
Access date | access-date accessdate | the last date on which the site was verified to be operational | Unknown | optional |
Via | via | the website hosting the text (if different from website) | Unknown | optional |