Difference between revisions of "Template:Cite executive order/doc"

From blackwiki
Jump to navigation Jump to search
imported>Ahnoneemoos
(Created page with '{{Documentation subpage}} ==Purpose== This template allows for the easy citing and linking to of executive orders. ==Syntax== ===Horizontal=== {{pre|<nowik...')
 
imported>Vanisaac
m (→‎Parameters: clean up per WP:CAT#T and WP:AWBREQ add template:Sandbox other)
 
(5 intermediate revisions by 4 users not shown)
Line 6: Line 6:
  
 
===Horizontal===
 
===Horizontal===
{{pre|<nowiki>{{cite executive order |number= |url= |date= |language= |post= |accessdate= }}</nowiki>}}
+
<pre>{{cite executive order |number= |url= |date= |language= |post= |accessdate= }}</pre>
  
 
===Vertical===
 
===Vertical===
Line 42: Line 42:
  
 
===Number, year, and URL only===
 
===Number, year, and URL only===
<pre>{{cite act
+
<pre>{{cite executive order
 
| number = 2007-01
 
| number = 2007-01
 
| year = 2007
 
| year = 2007
Line 50: Line 50:
 
will display as:
 
will display as:
  
{{cite act
+
{{cite executive order
 
| number = 2007-01
 
| number = 2007-01
 
| year = 2007
 
| year = 2007
Line 68: Line 68:
 
| {{code|url}}
 
| {{code|url}}
 
| URL hosting a copy of the executive order
 
| URL hosting a copy of the executive order
 +
| ''optional''
 +
|-
 +
| {{code|title}}
 +
| executive orders sometimes bear a title
 
| ''optional''
 
| ''optional''
 
|-
 
|-
Line 80: Line 84:
 
| {{code|post}}
 
| {{code|post}}
 
| government post held by the politician that proclaimed the executive order
 
| government post held by the politician that proclaimed the executive order
| '''required'''
+
| ''optional''
 
|-
 
|-
 
| {{code|accessdate}}
 
| {{code|accessdate}}
Line 86: Line 90:
 
| ''optional''
 
| ''optional''
 
|}
 
|}
<includeonly>
+
<includeonly>{{Sandbox other||
 
[[Category:Law citation templates]]
 
[[Category:Law citation templates]]
[[Category:Law templates]]
+
}}</includeonly>
</includeonly>
 

Latest revision as of 05:19, 24 April 2020

Purpose

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

Syntax

Horizontal

{{cite executive order |number= |url= |date= |language= |post= |accessdate= }}

Vertical

{{cite executive order
| number = 
| url = 
| date = 
| language = 
| post = 
| accessdate = 
}}

Examples

All parameters specified

{{cite executive order
| number = 2007-01
| url = http://app.estado.gobierno.pr/Ordenes_Ejecutivas/2007/OE-2007-01.pdf
| date = {{date|2007-01-16|mdy}}
| language = Spanish
| post = Governor of Puerto Rico
| accessdate = {{date|2012-12-30|mdy}}
}}

will display as:

Exec. Order No. 2007-01Template:Space(January 16, 2007; inTemplate:SpaceSpanish)Template:SpaceGovernor of Puerto Rico. Retrieved on December 30, 2012.

Number, year, and URL only

{{cite executive order
| number = 2007-01
| year = 2007
| url = http://app.estado.gobierno.pr/Ordenes_Ejecutivas/2007/OE-2007-01.pdf
}}

will display as:

Exec. Order No. 2007-01Template:Space(2007)

Parameters

Parameter Description Requirement
number number of the executive order required
url URL hosting a copy of the executive order optional
title executive orders sometimes bear a title optional
date date the executive order was proclaimed required
language language in which the executive order was written optional
post government post held by the politician that proclaimed the executive order optional
accessdate date the URL hosting the executive order was accessed successfully optional