Template:Potus-eo/doc

 Shortcut: WS:USEO The Potus-eo template is a header template to use with United States presidential executive orders. Based on the number of the executive order, many of the standard header fields are automatically filled out.  Not all executive orders have a normal number, especially for older orders; there are several historical quirks. The numbering system has been in effect only since 1907, but many previous executive orders were given numbers (starting with a Lincoln executive order). After the initial ordering was set, further older orders were discovered, and given "in-between" numbers like 9-2, 27-1, 330-B, etc. Even after the numbering system started, some orders were missed even as they were being signed, resulting in official titles like Executive Order 669½. This template supports such orders by overriding a few additional parameters.

Many old executive orders did not receive an official number (these are termed the "unnumbered series". This template does not (yet) support those orders, but may in the future.

Possible Parameters

 * This template automatically populates the Executive Order's citation URL once the [eo] number has been given; it should figure out the signing President for you too. If something errors out, try removing the entire field and refresh. Alternatively, visiting the automatically generated citation URL should give you most of the correct info to populate missing parameters.

Example One

 * Basic example, with just the eo, section, and year supplied; this allows automatic population of the president, and signing citation and URL on the left hand side of citation bar. Year, Month & Day preferred for proper layout.
 * Presence of ( cite = ) to turn off the normal Federal Register page and date citation that normally appears on the right hand side of citation bar.
 * OUTPUT:

Example Two

 * Typical example of a "lettered" executive order. The title, previous, next, and defaultsort parameters need to be overridden.
 * OUTPUT:

Example Three

 * Uses the {eo-potus = } field; this overides the auto president population in signing citation.
 * Ficticious Month, Day and Year for illustration of signing citation output.
 * added coments to note= field for illustrative purposes as well.
 * OUTPUT:

TemplateData
{	"description": "This template is custom designed for use on Executive Orders (U.S.) only. Please do not use otherwise.", "params": { "eo": { "label": "eo", "description": "Just the number assigned to the order", "type": "number", "required": true },		"title": { "label": "title", "description": "Formal, full designation using eo number --> Executive Order #####", "type": "string", "required": true },		"section": { "label": "section", "description": "Subject or purpose titled with the EO", "type": "string", "aliases": [ "purpose" ]		},		"previous": { "label": "previous", "description": "Prior EO issuance --> down by 1", "type": "string" },		"next": { "label": "next", "description": "Next EO issuance --> up by 1", "type": "string" },		"year": { "label": "year", "description": "Year signed in YYYY format", "type": "number", "suggested": true },		"month": { "label": "month", "description": "Month signed in MM format", "type": "number", "inherits": "year", "suggested": true },		"day": { "label": "day", "description": "Day signed in DD format", "type": "number", "inherits": "year", "suggested": true },		"fr-vol": { "label": "fr-vol", "description": "Volume of the Federal Register the EO was published", "type": "number" },		"fr-page": { "label": "fr-page", "description": "Starting page number in said Federal Register volume", "type": "number", "inherits": "fr-vol" },		"fr-year": { "label": "fr-year", "description": "Year published in the FedReg, YYYY", "type": "number" },		"fr-month": { "label": "fr-month", "description": "Month of published year, MM", "type": "number", "inherits": "fr-year" },		"fr-day": { "label": "fr-day", "description": "Day of published month, DD", "type": "number", "inherits": "fr-year" },		"notes": { "label": "notes", "description": "Pointers to relevant information, etc.", "type": "line" },		"eo-potus": { "label": "eo-potus", "description": "Overrides auto-president name", "type": "string" },		"eo-url": { "label": "eo-url", "description": "Overrides generated NARA url", "type": "string" },		"signed": { "label": "signed", "description": "Overrides left side of citation bar", "type": "line" },		"cite": { "label": "cite", "description": "Overrides right-side of citation bar", "type": "line" },		"subsect": { "label": "subsect", "description": "Subdivision for Section param if needed", "type": "string" },		"defaultsort": { "label": "defaultsort", "description": "Forced sort for EOs with alpha-numeric designations", "type": "string" },		"author": { "label": "author", "description": "Overrides default header param", "type": "wiki-page-name" },		"nocat": { "label": "nocat", "description": "turns off auto-cat settings", "type": "string" }	},	"sets": [ {			"label": "sigdate", "params": [ "year", "month", "day" ]		},		{			"label": "pubdate", "params": [ "fr-year", "fr-month", "fr-day" ]		}	] }