Template:Infobox government agency/doc: Difference between revisions
Jump to navigation
Jump to search
Template:Infobox government agency/doc (view source)
Revision as of 12:19, 10 February 2019
, 10 February 2019note Lua module used, add link to tracking category, add template category
m (1 revision imported) |
m (note Lua module used, add link to tracking category, add template category) |
||
Line 1: | Line 1: | ||
{{Documentation subpage}} | {{Documentation subpage}} | ||
<!--Categories where indicated at the bottom of this page, please; interwikis at Wikidata (see [[Wikipedia:Wikidata]])--> | <!--Categories where indicated at the bottom of this page, please; interwikis at Wikidata (see [[Wikipedia:Wikidata]])--> | ||
{{Lua|Module:Infobox|Module:InfoboxImage|Module:Location map|Module:Check for unknown parameters}} | |||
{{Parameter names example | {{Parameter names example | ||
| name | | name | ||
Line 40: | Line 42: | ||
| parent_department | | parent_department | ||
| parent_agency | | parent_agency | ||
| parent_agency_type | |||
| child1_agency | | child1_agency | ||
| child2_agency | | child2_agency | ||
Line 100: | Line 103: | ||
| parent_department = | | parent_department = | ||
| parent_agency = | | parent_agency = | ||
| parent_agency_type = <!-- defaults to |type if left blank --> | |||
| child1_agency = | | child1_agency = | ||
| child2_agency = <!-- up to |child25_agency= --> | | child2_agency = <!-- up to |child25_agency= --> | ||
Line 112: | Line 116: | ||
}} | }} | ||
</pre> | </pre> | ||
=== Parameters === | === Parameters === | ||
Line 137: | Line 134: | ||
| native_name_r || no || (optional) Use in conjunction with above for Romanized name of the agency, such as Běijīng Shǒudū Guójì Jīcháng. || Text; wrap with {{Tl|Lang}} | | native_name_r || no || (optional) Use in conjunction with above for Romanized name of the agency, such as Běijīng Shǒudū Guójì Jīcháng. || Text; wrap with {{Tl|Lang}} | ||
|- | |- | ||
| type || no || Type of agency (defaults to "agency") || Text | | agency_type || no || Type of agency, rendered on separate line as "'''Type'''" || Text | ||
|- | |||
| type || no || Type of agency, rendered elsewhere in infobox, e.g. "''type'' overview in first line (defaults to "agency") || Text | |||
|- | |- | ||
| seal || no || Seal for the agency || filename | | seal || no || Seal for the agency || filename | ||
Line 177: | Line 176: | ||
| budget || no || Annual budget of the agency || Text e.g.; <nowiki>$95 m [[United States dollar|USD]] (2006)</nowiki> | | budget || no || Annual budget of the agency || Text e.g.; <nowiki>$95 m [[United States dollar|USD]] (2006)</nowiki> | ||
|- | |- | ||
| minister1_name || no || For | | minister1_name || no || For [[Westminster system]]s: Name of current minister responsible for the agency. Can be repeated up to eight times (minister1_name to minister8_name).<br/>'''Note:''' Title of box will automatically pluralise upon use of minister2_name. || Text | ||
|- | |- | ||
| minister1_pfo || no || For | | minister1_pfo || no || For Westminster systems: Portfolio title of responsible minister. Can be repeated up to eight times (minister1_pfo to minister8_pfo). || Text | ||
|- | |- | ||
| deputyminister1_name || no || For | | deputyminister1_name || no || For Westminster systems with deputy ministers: Name of current deputy minister responsible for the agency. Can be repeated up to eight times (deputyminister1_name to deputyminister8_name).<br/>'''Note:''' Title of box will automatically pluralise upon use of minister2_name. || Text | ||
|- | |- | ||
| deputyminister1_pfo || no || For | | deputyminister1_pfo || no || For Westminster systems with deputy ministers: Portfolio title of responsible deputy minister. Can be repeated up to eight times (minister1_pfo to minister8_pfo). || Text | ||
|- | |- | ||
| chief1_name || no || Name of current agency chief/director/executive director. Can be repeated up to nine times (chief1_name to chief9_name).<br/>'''Note:''' Title of box will automatically pluralise upon use of chief2_name. || Text | | chief1_name || no || Name of current agency chief/director/executive director. Can be repeated up to nine times (chief1_name to chief9_name).<br/>'''Note:''' Title of box will automatically pluralise upon use of chief2_name. || Text | ||
Line 192: | Line 191: | ||
|- | |- | ||
| parent_agency || no || Parent agency of this agency (when the parent is also an agency) || Text | | parent_agency || no || Parent agency of this agency (when the parent is also an agency) || Text | ||
|- | |||
| parent_agency_type || no || Parent agency type (defaults to ''type'') || Text | |||
|- | |- | ||
| child1_agency || no || List of current child agencies reporting to this agency. Can be repeated up to twenty five times (child1_agency to child25_agency).<br/>'''Note:''' Title of box will automatically pluralise upon use of child2_agency. || Text | | child1_agency || no || List of current child agencies reporting to this agency. Can be repeated up to twenty five times (child1_agency to child25_agency).<br/>'''Note:''' Title of box will automatically pluralise upon use of child2_agency. || Text | ||
Line 364: | Line 365: | ||
== TemplateData == | == TemplateData == | ||
{{TemplateData header}} | {{Collapse top|title=[[Wikipedia:TemplateData|TemplateData]] documentation used by [[Wikipedia:VisualEditor|VisualEditor]] and other tools}} | ||
{{TemplateData header|noheader=1}} | |||
<templatedata> | <templatedata> | ||
{ | { | ||
Line 1,132: | Line 1,134: | ||
} | } | ||
</templatedata> | </templatedata> | ||
{{Collapse bottom}} | |||
== Tracking category == | |||
* {{clc|Pages using infobox government agency with unknown parameters}} | |||
== See also == | == See also == | ||
{{Organization infoboxes}} | {{Organization infoboxes}} | ||
===A related note=== | ===A related note=== | ||
{{Note2}} 'Infobox government agency' is discouraged as the sole infobox for certain government bodies such as law enforcement, military units, space programs, and a few others because they ''all'' have infoboxes specializing in those subjects. However, practical embedding of infoboxes ''is'' encouraged. | {{Note2}} 'Infobox government agency' is discouraged as the sole infobox for certain government bodies such as law enforcement, military units, space programs, and a few others because they ''all'' have infoboxes specializing in those subjects. However, practical embedding of infoboxes ''is'' encouraged. | ||
<includeonly>{{#ifeq:{{SUBPAGENAME}}|sandbox| | | <includeonly>{{#ifeq:{{SUBPAGENAME}}|sandbox| | | ||
<!--Categories below this line, please; interwikis at Wikidata--> | <!--Categories below this line, please; interwikis at Wikidata--> | ||
Line 1,142: | Line 1,150: | ||
[[Category:Politics and government infobox templates|Government agency, infobox]] | [[Category:Politics and government infobox templates|Government agency, infobox]] | ||
[[Category:Embeddable templates]] | [[Category:Embeddable templates]] | ||
[[Category:Templates that add a tracking category]] | |||
}}</includeonly> | }}</includeonly> |