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

From blackwiki
Jump to navigation Jump to search
imported>Ahnoneemoos
imported>Ahnoneemoos
Line 86: Line 86:
 
! style="text-align: left" | Requirement
 
! style="text-align: left" | Requirement
 
|-
 
|-
| {{code|title}}
+
| {{code|article}}
| title of the act
+
| article of the Constitution where the citation resides
| ''optional''
+
| '''required'''
 +
|-
 +
| {{code|section}}
 +
| section within the article of the Constitution where the citation resides
 +
| '''required'''
 
|-
 
|-
| {{code|number}}
+
| {{code|country}}
| number of the act
+
| country of the Constitution being cited
 
| '''required'''
 
| '''required'''
 
|-
 
|-
Line 98: Line 102:
 
| ''optional''
 
| ''optional''
 
|-
 
|-
| {{code|date}}
+
| {{code|ratified}}
| date the act was enacted
+
| date the Constitution was ratified
 
| '''required'''
 
| '''required'''
|-
 
| {{code|article}}
 
| specific article within the act
 
| ''optional''
 
 
|-
 
|-
 
| {{code|url}}
 
| {{code|url}}
| URL hosting a copy of the act
+
| URL hosting a copy of the Constitution
 
| ''optional''
 
| ''optional''
 
|-
 
|-
 
| {{code|accessdate}}
 
| {{code|accessdate}}
| date the URL hosting the act was accessed successfully
+
| date the URL hosting the Constitution was accessed successfully
 
| ''optional''
 
| ''optional''
 
|}
 
|}

Revision as of 01:56, 25 December 2012

Purpose

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

Syntax

Horizontal

{{cite constitution |article= |section= |country= |language= |ratified= |url= |accessdate= }}

Vertical

{{cite constitution
| article = 
| section = 
| country = 
| language = 
| ratified = 
| url = 
| accessdate = 
}}

Examples

All parameters specified

{{cite constitution
| article = IV
| section = 1
| country = Puerto Rico
| language = Spanish
| 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}}
}}

will display as:

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

No URL specified

{{cite constitution
| article = IV
| section = 1
| country = Puerto Rico
| language = Spanish
| ratified = {{date|1952-07-25|mdy}}
}}

will display as:

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

No language specified

{{cite constitution
| article = IV
| section = 1
| country = Puerto Rico
| ratified = {{date|1952-07-25|mdy}}
}}

will display as:

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

Parameters

Parameter Description Requirement
article article of the Constitution where the citation resides required
section section within the article of the Constitution where the citation resides required
country country of the Constitution being cited required
language language in which the act was written optional
ratified date the Constitution was ratified required
url URL hosting a copy of the Constitution optional
accessdate date the URL hosting the Constitution was accessed successfully optional