Template:Infobox U.S. Presidential Document/doc

From blackwiki
Jump to navigation Jump to search

Template:Uses Wikidata

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

Template:Parameter names example

{{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 documentation for this template used by VisualEditor and other tools; see the monthly parameter usage report for this template.

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