This is the template sandbox page for Template:Infobox U.S. presidential document (diff). |
This template employs intricate features of template syntax.
You are encouraged to familiarise yourself with its setup and parser functions before editing the template. If your edit causes unexpected problems, please undo it quickly, as this template may appear on a large number of pages. You can conduct experiments, and should test all major changes, in either this template's sandbox, the general template sandbox, or your user space before changing anything here. |
This template uses Lua: |
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.
{{{longtitle}}} | |
[[File:{{{depiction}}}|frameless|upright=1.35|alt={{{depictionalt}}}]] | |
[[File:{{{documentimage}}}|frameless|upright=1.0]] | |
Other short titles | {{{othershorttitles}}} |
---|---|
Executive Order number | {{{executiveorder}}} |
Signed by | [[{{{signedpresident}}}]] on {{{signeddate}}} |
Federal Register | |
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 =
}}
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 | ||
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. |
TemplateData for Infobox U.S. presidential document
This template summarizes information about an [[executive order]], [[presidential directive]], or other Presidential Document passed by a United States President.
Parameter | Description | Type | Status | |
---|---|---|---|---|
name | name | The name of the document. Uses the page name if left blank.
| String | optional |
shorttitle | shorttitle | no description | Unknown | optional |
longtitle | 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. | String | optional |
depiction | depiction | A depiction of the subject of the document. If none is readily available, an image of the document being signed can be used. | File | optional |
depictionalt | depictionalt | [[alt attribute|Alt text]] for the depiction image, for visually impaired readers. See [[WP:ALT]] for how this should typically differ from the caption. | String | optional |
depictioncaption | depictioncaption | The caption for the image depicting the subject (or signing) of the document. | String | optional |
documentimage | documentimage | An image of the document itself. | File | optional |
documentcaption | documentcaption | The caption for the image of the document. | String | optional |
othershorttitles | othershorttitles | no description | Unknown | optional |
type | type | The type of Presidential Document. The possible values are: executive order, memorandum, proclamation, directive, determination, or signing
| String | required |
executiveorder | executiveorder | The sequence number of the Executive Order. If available and the field is blank, this will retrieve from Wikidata using property P1555. | String | optional |
signedpresident | signedpresident | 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.
| String | optional |
signeddate | signeddate | The date on which the document was signed. If available and the field is blank, this will retrieve from Wikidata using property P571. | Date | optional |
documentnumber | 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. | String | optional |
publicationdate | 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. | Date | optional |
documentcitation | documentcitation | The legal citation style for the document. If available and the field is blank, this will retrieve from Wikidata using property P1031. | String | optional |
summary | summary | A very brief summary of the subjects that this document concerns. Can use {{bulleted list}} to display several bullet points. | Content | suggested |