Difference between revisions of "Template:Cite constitution/doc"

From blackwiki
Jump to navigation Jump to search
imported>WOSlinker
(→‎Horizontal: pre tag)
imported>Vanisaac
m (→‎Parameters: clean up per WP:CAT#T and WP:AWBREQ add template:Sandbox other)
 
(11 intermediate revisions by 2 users not shown)
Line 6: Line 6:
  
 
===Horizontal===
 
===Horizontal===
<pre>{{cite constitution |article= |section= |country= |language= |ratified= |url= |accessdate= }}</pre>
+
<pre>{{cite constitution |article= |clause= |section= |polity= |date= }}</pre>
  
 
===Vertical===
 
===Vertical===
 
<pre>{{cite constitution
 
<pre>{{cite constitution
 
| article =  
 
| article =  
 +
| clause =
 
| section =  
 
| section =  
| country =  
+
| polity =  
| language =
+
| date =  
| ratified =
 
| url =
 
| accessdate =  
 
 
}}</pre>
 
}}</pre>
  
 
==Examples==
 
==Examples==
  
===All parameters specified===
+
===All required parameters===
 
<pre>{{cite constitution
 
<pre>{{cite constitution
 
| article = IV
 
| article = IV
 
| section = 1
 
| section = 1
| country = Puerto Rico
+
| polity = Puerto Rico
| language = Spanish
+
| ratified = 1952
| ratified = {{date|1952-07-25|mdy}}
 
| url = http://en.wikisource.org/wiki/Constitution_of_the_Commonwealth_of_Puerto_Rico
 
| accessdate = {{date|2012-12-24|mdy}}
 
 
}}</pre>
 
}}</pre>
  
Line 37: Line 32:
 
| article = IV
 
| article = IV
 
| section = 1
 
| section = 1
| country = Puerto Rico
+
| polity = Puerto Rico
| language = Spanish
+
| date = 1952
| ratified = {{date|1952-07-25|mdy}}
 
| url = http://en.wikisource.org/wiki/Constitution_of_the_Commonwealth_of_Puerto_Rico
 
| accessdate = {{date|2012-12-24|mdy}}
 
 
}}
 
}}
  
===No URL specified===
+
===Amendments===
 
<pre>{{cite constitution
 
<pre>{{cite constitution
| article = IV
+
| amendment = 12
| section = 1
+
| polity = United States
| country = Puerto Rico
+
| date = 1804
| language = Spanish
 
| ratified = {{date|1952-07-25|mdy}}
 
}}</pre>
 
 
 
will display as:
 
 
 
{{cite constitution
 
| article = IV
 
| section = 1
 
| country = Puerto Rico
 
| language = Spanish
 
| ratified = {{date|1952-07-25|mdy}}
 
}}
 
 
 
===No language specified===
 
<pre>{{cite constitution
 
| article = IV
 
| section = 1
 
| country = Puerto Rico
 
| ratified = {{date|1952-07-25|mdy}}
 
 
}}</pre>
 
}}</pre>
  
Line 74: Line 46:
  
 
{{cite constitution
 
{{cite constitution
| article = IV
+
| amendment = 12
| section = 1
+
| polity = United States
| country = Puerto Rico
+
| date = 1804
| ratified = {{date|1952-07-25|mdy}}
 
 
}}
 
}}
  
Line 85: Line 56:
 
! style="text-align: left" | Description
 
! style="text-align: left" | Description
 
! style="text-align: left" | Requirement
 
! style="text-align: left" | Requirement
 +
|-
 +
| {{code|amendment}}
 +
| amendment of the constitution where the citation resides
 +
| '''semi-required'''
 
|-
 
|-
 
| {{code|article}}
 
| {{code|article}}
| article of the Constitution where the citation resides
+
| article of the constitution where the citation resides
| '''required'''
+
| '''semi-required'''
 +
|-
 +
| {{code|clause}}
 +
| clause within the article of the constitution where the citation resides
 +
| ''optional''
 
|-
 
|-
 
| {{code|section}}
 
| {{code|section}}
| section within the article of the Constitution where the citation resides
+
| section within the article of the constitution where the citation resides
| '''required'''
+
| ''optional''
 
|-
 
|-
| {{code|country}}
+
| {{code|polity}}
| country of the Constitution being cited
+
| political entity ([[polity]]) of the constitution being cited
 
| '''required'''
 
| '''required'''
 
|-
 
|-
| {{code|language}}
+
| {{code|date}}
| language in which the act was written
+
| date the constitution was ratified; can be year only
| ''optional''
 
|-
 
| {{code|ratified}}
 
| date the Constitution was ratified
 
 
| '''required'''
 
| '''required'''
|-
 
| {{code|url}}
 
| URL hosting a copy of the Constitution
 
| ''optional''
 
|-
 
| {{code|accessdate}}
 
| date the URL hosting the Constitution was accessed successfully
 
| ''optional''
 
 
|}
 
|}
<includeonly>
+
<includeonly>{{Sandbox other||
 
[[Category:Law citation templates]]
 
[[Category:Law citation templates]]
</includeonly>
+
}}</includeonly>

Latest revision as of 05:13, 24 April 2020

Purpose

This template allows for the easy citing and linking to of constitutions.

Syntax

Horizontal

{{cite constitution |article= |clause= |section= |polity= |date= }}

Vertical

{{cite constitution
| article = 
| clause = 
| section = 
| polity = 
| date = 
}}

Examples

All required parameters

{{cite constitution
| article = IV
| section = 1
| polity = Puerto Rico
| ratified = 1952
}}

will display as:

Article IV, Section 1 of the Constitution of Puerto RicoTemplate:Space(1952)

Amendments

{{cite constitution
| amendment = 12
| polity = United States
| date = 1804
}}

will display as:

Template:Ordinal to word Amendment of the Constitution of United StatesTemplate:Space(1804)

Parameters

Parameter Description Requirement
amendment amendment of the constitution where the citation resides semi-required
article article of the constitution where the citation resides semi-required
clause clause within the article of the constitution where the citation resides optional
section section within the article of the constitution where the citation resides optional
polity political entity (polity) of the constitution being cited required
date date the constitution was ratified; can be year only required