Template:Infobox U.S. Presidential Document/doc

From IxWiki
Revision as of 20:11, 9 February 2019 by >Zyxw (moved TemplateData and category from main template, misc formatting)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

This template summarizes information about an executive order, presidential directive, or other Presidential Document signed by a United States President. If you have suggestions as to how the template may be improved, please leave a message on the talk page.

Usage

{{{name}}}
{{{longtitle}}}
Seal of the President of the United States
[[File:{{{depiction}}}|frameless|upright=1.25|alt={{{depictionalt}}}]]
{{{depictioncaption}}}
[[File:{{{documentimage}}}|frameless|upright=1.0]]
{{{documentcaption}}}
Other short titles{{{othershorttitles}}}
Executive Order number{{{executiveorder}}}
Signed by[[{{{signedpresident}}}]] on {{{signeddate}}}
Federal Register details
Federal Register document number{{#property:P1544}}
Publication date{{{publicationdate}}}
Document citation{{{documentcitation}}}
Summary
{{{summary}}}
{{Infobox U.S. Presidential Document
| longtitle        = 
| name             = 
| othershorttitles = 
| shorttitle       = 
| depiction        = 
| depictioncaption = 
| depictionalt     =  
| documentimage    = 
| documentcaption  = 
| type             = 
| executiveorder   = 
| signedpresident  = 
| signeddate       = 
| documentnumber   = 
| publicationdate  = 
| documentcitation = 
| summary          = 
}}

Parameters

This infobox takes a number of parameters, which are all optional:

Parameter Description
Basic information
shorttitle The short title of the document, which should preferably be the same as the article title. If the parameter is left blank or omitted, the article name is used.
longtitle The long title of the Presidential Document. If available and the field is blank, this will retrieve the title from Wikidata using property P1476.
othershorttitles If the document has more than one short title, list all other short titles here.
signedpresident The President who signed the document. If available and the field is blank, this will retrieve from Wikidata using property P50.
signeddate The date on which the document was signed. If available and the field is blank, this will retrieve from Wikidata using property P571.
type The type of Presidential Document. The possible values are:

If some value other than the ones above is given to |type=, the field is left blank.

executiveorder The sequence number of the Executive Order. If available and the field is blank, this will retrieve from Wikidata using property P1555.
summary A very brief summary of the subjects that this document concerns.
Federal Register details
documentnumber The Federal Register document number of the document in question. This will automatically generate a link to the Federal Register listing for the document using the Federal Register's short URL scheme. If available and the field is blank, this will retrieve from Wikidata using property P1544.
publicationdate The date on which the document was published in the Federal Register. If available and the field is blank, this will retrieve from Wikidata using property P577.
documentcitation The legal citation style for the document. If available and the field is blank, this will retrieve from Wikidata using property P1031.
Image fields
depiction A depiction of the subject of the document. If none is readily available, an image of the document being signed can be used.
depictioncaption The caption for the image depicting the subject (or signing) of the document.
depictionalt Alt text for the depiction image, for visually impaired readers. See WP:ALT for how this should typically differ from the caption.
documentimage An image of the document itself.
documentcaption The caption for the image of the document.

Tracking category

TemplateData

This is the TemplateData for this template used by TemplateWizard, VisualEditor and other tools. See a monthly parameter usage report for Template:Infobox U.S. Presidential Document in articles based on its TemplateData.

TemplateData for Infobox U.S. Presidential Document

This template summarizes information about an [[Executive order (United States)|executive order]], [[presidential directive]], or other Presidential Document passed by a United States President.

Template parameters

This template prefers block formatting of parameters.

ParameterDescriptionTypeStatus
namename

The name of the document. Uses the page name if left blank.

Default
PAGENAMEBASE
Stringoptional
shorttitleshorttitle

no description

Unknownoptional
longtitlelongtitle

The [[long title]] of the Presidential Document. If available and the field is blank, this will retrieve the title from Wikidata using property P1476.

Stringoptional
depictiondepiction

A depiction of the subject of the document. If none is readily available, an image of the document being signed can be used.

Fileoptional
depictionaltdepictionalt

[[alt attribute|Alt text]] for the depiction image, for visually impaired readers. See [[WP:ALT]] for how this should typically differ from the caption.

Stringoptional
depictioncaptiondepictioncaption

The caption for the image depicting the subject (or signing) of the document.

Stringoptional
documentimagedocumentimage

An image of the document itself.

Fileoptional
documentcaptiondocumentcaption

The caption for the image of the document.

Stringoptional
othershorttitlesothershorttitles

no description

Unknownoptional
typetype

The type of Presidential Document. The possible values are: executive order, memorandum, proclamation, directive, determination, or signing

Example
executive order
Stringrequired
executiveorderexecutiveorder

The sequence number of the Executive Order. If available and the field is blank, this will retrieve from Wikidata using property P1555.

Stringoptional
signedpresidentsignedpresident

The President who signed the document. Automatically renders the name as a wikilink. If available and the field is blank, this will retrieve from Wikidata using property P50.

Example
George W. Bush
Stringoptional
signeddatesigneddate

The date on which the document was signed. If available and the field is blank, this will retrieve from Wikidata using property P571.

Dateoptional
documentnumberdocumentnumber

The Federal Register document number of the document in question. This will automatically generate a link to the Federal Register listing for the document using the Federal Register's short URL scheme. If available and the field is blank, this will retrieve from Wikidata using property P1544.

Stringoptional
publicationdatepublicationdate

The date on which the document was published in the Federal Register. If available and the field is blank, this will retrieve from Wikidata using property P577.

Dateoptional
documentcitationdocumentcitation

The legal citation style for the document. If available and the field is blank, this will retrieve from Wikidata using property P1031.

Stringoptional
summarysummary

A very brief summary of the subjects that this document concerns. Can use {{bulleted list}} to display several bullet points.

Contentsuggested