Difference between revisions of "Template:Infobox U.S. Presidential Commission/doc"

From blackwiki
Jump to navigation Jump to search
imported>Zyxw
(add example, misc formatting)
imported>Zyxw
(moved TemplateData and categories from main template)
 
Line 79: Line 79:
 
== Tracking category ==
 
== Tracking category ==
 
* {{clc|Pages using infobox U.S. Presidential Commission with unknown parameters}}
 
* {{clc|Pages using infobox U.S. Presidential Commission with unknown parameters}}
 +
 +
== TemplateData ==
 +
{{TemplateData header}}
 +
<templatedata>
 +
{
 +
"params": {
 +
"name": {
 +
"type": "string",
 +
"description": "The most commonly used name of the committee"
 +
},
 +
"shorttitle": {
 +
"type": "string"
 +
},
 +
"longtitle": {
 +
"type": "string",
 +
"description": "The official title of the committee",
 +
"suggested": true
 +
},
 +
"depiction": {
 +
"description": "An image depicting the subject of the commission, or the members or report of the commission itself",
 +
"type": "wiki-file-name",
 +
"suggested": true
 +
},
 +
"depictionalt": {
 +
"type": "string",
 +
"description": "Alt text for the depiction. This should be a description of the picture, as opposed to a caption.",
 +
"suggested": true
 +
},
 +
"depictioncaption": {
 +
"type": "string",
 +
"description": "Caption for the depiction",
 +
"suggested": true
 +
},
 +
"othershorttitles": {
 +
"type": "string",
 +
"description": "Any other titles of the commission"
 +
},
 +
"status": {},
 +
"establishedpresident": {
 +
"type": "string",
 +
"description": "The President who formed the commission"
 +
},
 +
"establisheddate": {
 +
"description": "The date on which the enabling instrument was signed or passed",
 +
"type": "date"
 +
},
 +
"executiveorder": {
 +
"description": "Any Executive Orders directly related to the commission, either by enabling or adjourning it, or directly as a result of its findings"
 +
},
 +
"disbandeddate": {
 +
"description": "The date on which the commission published its final report or was officially adjourned",
 +
"type": "date"
 +
},
 +
"summary": {
 +
"type": "string",
 +
"description": "A summary of the commission's findings or recommendations"
 +
},
 +
"purpose": {
 +
"type": "string",
 +
"suggested": true,
 +
"description": "The general purpose and scope of the commission"
 +
},
 +
"policy_areas": {
 +
"type": "string"
 +
},
 +
"chairperson": {
 +
"type": "string",
 +
"description": "The chairperson of the committee",
 +
"suggested": true
 +
},
 +
"othermembers": {
 +
"type": "string",
 +
"description": "Any members of the committee (excluding the chairperson)",
 +
"suggested": true
 +
}
 +
},
 +
"description": "This template summarizes information about a Presidential Commission convened by a United States President."
 +
}
 +
</templatedata>
  
 
<includeonly>{{sandbox other||
 
<includeonly>{{sandbox other||
 
<!-- Categories below this line, please; interwikis at Wikidata -->
 
<!-- Categories below this line, please; interwikis at Wikidata -->
 +
[[Category:United States government infobox templates|Presidential Commission]]
 +
[[Category:United States Presidential Commissions| ]]
 
[[Category:Templates that add a tracking category]]
 
[[Category:Templates that add a tracking category]]
 
}}</includeonly>
 
}}</includeonly>

Latest revision as of 00:55, 10 February 2019

Template:Uses Wikidata

This template summarizes information about a Presidential Commission convened 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 Commission
| name                 = 
| longtitle            = 
| shorttitle           = 
| othershorttitles     = 
| depiction            = 
| depictioncaption     = 
| depictionalt         = 
| status               = 
| establishedpresident = 
| establisheddate      = 
| executiveorder       = 
| disbandeddate        = 
| chairperson          = 
| othermembers         = 
| purpose              = 
| policy_areas         = 
| summary              = 
}}

Example

Script error: No such module "If empty".
National Advisory Commission on Civil Disorders
Seal of the President of the United States
President Lyndon Baines Johnson is sat with three other committee members at a table in the Cabinet Room of the White House. Behind them, nine more committee members are stood, two of them only partially visible.
President Lyndon Baines Johnson with some members of the National Advisory Commission on Civil Disorders (Kerner Commission) in the Cabinet Room of the White House, Washington, D.C.
History
StatusDefunct
Established by[[{{#property:P170}}]] on {{#property:P571}}
Disbanded{{#property:P576}}
Related Executive Order number(s){{#property:P1555}}
Membership
Chairperson[[{{#property:P488}}]]
Jurisdiction
PurposeInvestigate the causes of a recent outbreak of race riots, with a particular focus on the 1967 Detroit riots.
{{Infobox U.S. Presidential Commission
| name             = Kerner Commission
| longtitle        = National Advisory Commission on Civil Disorders
| depiction        = President Lyndon Baines Johnson with some members of the National Advisory Commission on Civil Disorders (Kerner Commission) in the Cabinet Room of the White House, Washington, D.C..jpg
| depictioncaption = President [[Lyndon Baines Johnson]] with some members of the National Advisory Commission on Civil Disorders (Kerner Commission) in the Cabinet Room of the White House, Washington, D.C.
| depictionalt     = President Lyndon Baines Johnson is sat with three other committee members at a table in the Cabinet Room of the White House. Behind them, nine more committee members are stood, two of them only partially visible.
| status           = Defunct
| purpose          = Investigate the causes of [[Long, hot summer of 1967|a recent outbreak of race riots]], with a particular focus on the [[1967 Detroit riots]].
}}

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 Commission

This template summarizes information about a Presidential Commission convened by a United States President.

Template parameters

ParameterDescriptionTypeStatus
Namename

The most commonly used name of the committee

Stringoptional
Shorttitleshorttitle

no description

Stringoptional
Longtitlelongtitle

The official title of the committee

Stringsuggested
Depictiondepiction

An image depicting the subject of the commission, or the members or report of the commission itself

Filesuggested
Depictionaltdepictionalt

Alt text for the depiction. This should be a description of the picture, as opposed to a caption.

Stringsuggested
Depictioncaptiondepictioncaption

Caption for the depiction

Stringsuggested
Othershorttitlesothershorttitles

Any other titles of the commission

Stringoptional
Statusstatus

no description

Unknownoptional
Establishedpresidentestablishedpresident

The President who formed the commission

Stringoptional
Establisheddateestablisheddate

The date on which the enabling instrument was signed or passed

Dateoptional
Executiveorderexecutiveorder

Any Executive Orders directly related to the commission, either by enabling or adjourning it, or directly as a result of its findings

Unknownoptional
Disbandeddatedisbandeddate

The date on which the commission published its final report or was officially adjourned

Dateoptional
Summarysummary

A summary of the commission's findings or recommendations

Stringoptional
Purposepurpose

The general purpose and scope of the commission

Stringsuggested
Policy_areaspolicy_areas

no description

Stringoptional
Chairpersonchairperson

The chairperson of the committee

Stringsuggested
Othermembersothermembers

Any members of the committee (excluding the chairperson)

Stringsuggested