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

From blackwiki
Jump to navigation Jump to search
imported>Sasuke Sarutobi
(Moved braces for wikilink inside conditional)
imported>Frietjes
(fix numbering error (can't have header and data with the same number))
 
Line 19: Line 19:
 
|  data1  = {{#if:{{{othershorttitles|}}}|{{{othershorttitles|}}}}}
 
|  data1  = {{#if:{{{othershorttitles|}}}|{{{othershorttitles|}}}}}
  
| header1 = {{#if:{{{status|}}}
+
| header2 = {{#if:{{{status|}}}
 
                   {{{establishedpresident|}}}{{#property:P170|}}
 
                   {{{establishedpresident|}}}{{#property:P170|}}
 
                   {{{establisheddate|}}}{{#property:P571|}}
 
                   {{{establisheddate|}}}{{#property:P571|}}
Line 26: Line 26:
 
                   |History}}
 
                   |History}}
  
| label2   = Status
+
| label3   = Status
data2   = {{#if:{{{status|}}}
+
data3   = {{#if:{{{status|}}}
 
                   |{{{status}}}
 
                   |{{{status}}}
 
                   |
 
                   |
 
             }}
 
             }}
  
| label3   = Established by
+
| label4   = Established by
data3   = {{#if:{{{establishedpresident|}}}{{#property:P170|}}
+
data4   = {{#if:{{{establishedpresident|}}}{{#property:P170|}}
 
                   {{{establisheddate|}}}{{#property:P571|}}
 
                   {{{establisheddate|}}}{{#property:P571|}}
 
                   |{{#if:{{{establishedpresident|}}}
 
                   |{{#if:{{{establishedpresident|}}}
Line 45: Line 45:
 
               }}
 
               }}
  
| label4   = Executive Order number
+
| label5   = Executive Order number
data4   = {{#if:{{{executiveorder|}}}
+
data5   = {{#if:{{{executiveorder|}}}
 
                   |{{{executiveorder}}}
 
                   |{{{executiveorder}}}
 
                   |{{#if:{{#property:P1555}}|{{#property:P1555}}}}
 
                   |{{#if:{{#property:P1555}}|{{#property:P1555}}}}
 
             }}
 
             }}
  
| label5   = Disbanded
+
| label6   = Disbanded
data5   = {{#if:{{{disbandeddate|}}}
+
data6   = {{#if:{{{disbandeddate|}}}
 
                   |{{{disbandeddate}}}
 
                   |{{{disbandeddate}}}
 
                   |
 
                   |
Line 61: Line 61:
 
| data21  = {{{summary|}}}
 
| data21  = {{{summary|}}}
  
}}</includeonly>{{#invoke:Check for unknown parameters|check|unknown={{main other|[[Category:Pages using infobox U.S. Presidential Commission with unknown parameters|_VALUE_{{PAGENAME}}]]}}|preview=Page using [[Template:Infobox U.S. Presidential Commission]] with unknown parameter "_VALUE_"|ignoreblank=y| depiction | depictioncaption | depictionalt | disbandeddate | establisheddate | establishedpresident | executiveorder | longtitle | name | othershorttitles | shorttitle | status | summary |  }}
+
}}</includeonly>{{#invoke:Check for unknown parameters|check|unknown={{main other|[[Category:Pages using infobox U.S. Presidential Commission with unknown parameters|_VALUE_{{PAGENAME}}]]}}|preview=Page using [[Template:Infobox U.S. Presidential Commission]] with unknown parameter "_VALUE_"|ignoreblank=y| depiction | depictioncaption | depictionalt | disbandeddate | establisheddate | establishedpresident | executiveorder | longtitle | name | othershorttitles | shorttitle | status | summary |   
<noinclude>{{Documentation}}</noinclude>
+
}}<noinclude>{{documentation}}</noinclude>

Latest revision as of 18:10, 25 June 2020

Template documentation[view] [edit] [history] [purge]

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