Template:GovernmentInfobox/doc: Difference between revisions

From The World of Gotha
Jump to navigation Jump to search
(Created page with "<noinclude><div id="msgbox" style="margin: auto; border: 1px solid #a2a9b1; border-left: 10px solid #36c; background-color: #fbfbfb; box-sizing: border-box; width: 80%; margin-top: 10px; margin-bottom: 10px;"> {| |- | style="width: 80px; text-align: center;" | 45px | This is a documentation subpage for [[:{{SUBJECTSPACE}}:{{BASEPAGENAME}}]].<br />It may contain usage information, categories and other content that is not part of the original...")
 
mNo edit summary
 
(2 intermediate revisions by the same user not shown)
Line 9: Line 9:


==Usage==
==Usage==
{{GovernmentInfobox}}
{{GovernmentInfobox
Copy and paste the following to the top of the article page, adding the appropriate values to the desired parameters
| government_name = <nowiki>{{{government_name}}}</nowiki>
| native_name = <nowiki>{{{native_name}}}</nowiki>
| government_form = <nowiki>{{{government_form}}}</nowiki>
| image = <nowiki>{{{image}}}</nowiki>
| image_size = <nowiki>{{{image_size|250px}}}</nowiki>
| alt = <nowiki>{{{alt}}}</nowiki>
| caption = <nowiki>{{{caption}}}</nowiki>
| formation = <nowiki>{{{formation}}}</nowiki>
| extinction = <nowiki>{{{extinction}}}</nowiki>
| document_type = <nowiki>{{{document type|Founding document}}}</nowiki>
| document = <nowiki>{{{document}}}</nowiki>
| state = <nowiki>{{{state}}}</nowiki>
| country = <nowiki>{{{country}}}</nowiki>
| website = <nowiki>{{{website}}}</nowiki>
| branch1 = <nowiki>{{{branh1}}}</nowiki>
| branch1_label1 = <nowiki>{{{branch1_label1}}}</nowiki>
| branch1_data1 = <nowiki>{{{branch1_data1}}}</nowiki>
| branch1_label2 = <nowiki>{{{branch1_label2}}}</nowiki>
| branch1_data2 = <nowiki>{{{branch1_data2}}}</nowiki>
| branch1_label3 = <nowiki>{{{branch1_label3}}}</nowiki>
| branch1_data3 = <nowiki>{{{branch1_data3}}}</nowiki>
| branch1_label4 = <nowiki>{{{branch1_label4}}}</nowiki>
| branch1_data4 = <nowiki>{{{branch1_data4}}}</nowiki>
| branch2 = <nowiki>{{{branch2|Executive branch}}}</nowiki>
| leader_type = <nowiki>{{{leader_type}}}</nowiki>
| leader_title = <nowiki>{{{leader_title}}}</nowiki>
| leader_name = <nowiki>{{{leader_name}}}</nowiki>
| appointed1 = <nowiki>{{{appointed1|Appointed by}}}</nowiki>
| appointed1_by =<nowiki>{{{appointed1_by}}}</nowiki>
| leader_type2 = <nowiki>{{{leader_type2}}}</nowiki>
| leader_title2 = <nowiki>{{{leader_title2}}}</nowiki>
| leader_name2 = <nowiki>{{{leader_name2}}}</nowiki>
| appointed2 = <nowiki>{{{appointed2|Appointed by}}}</nowiki>
| appointed2_by = <nowiki>{{{appointed2_by}}}</nowiki>
| main_body = <nowiki>{{{main_body}}}</nowiki>
| headquarters = <nowiki>{{{headquarters}}}</nowiki>
| components = <nowiki>{{{components|Ministries}}}</nowiki>
| departments = <nowiki>{{{departments}}}</nowiki>
| branch3 = <nowiki>{{{branch3|Legislative branch}}}</nowiki>
| house1 = <nowiki>{{{house1|Upper house}}}</nowiki>
| house1_name = <nowiki>{{{house1_name}}}</nowiki>
| house1_leader1 = <nowiki>{{{house1_leader1}}}</nowiki>
| house1_leader1_name = <nowiki>{{{house1_leader1_name}}}</nowiki>
| house1_leader2 = <nowiki>{{{house1_leader2}}}</nowiki>
| house1_leader2_name = <nowiki>{{{house1_neader2_name}}}</nowiki>
| house1_member_title = <nowiki>{{{house1_member_title}}}</nowiki>
| house1_members = <nowiki>{{{house1_members}}}</nowiki>
| house1_place = <nowiki>{{{house1_place}}}</nowiki>
| house2 = <nowiki>{{{house2|Middle house}}}</nowiki>
| house2_name = <nowiki>{{{house2_name}}}</nowiki>
| house2_leader1 = <nowiki>{{{house2_leader1}}}</nowiki>
| house2_leader1_name = <nowiki>{{{house2_leader1_name}}}</nowiki>
| house2_leader2 = <nowiki>{{{house2_leader2}}}</nowiki>
| house2_leader2_name = <nowiki>{{{house2_neader2_name}}}</nowiki>
| house2_member_title = <nowiki>{{{house2_member_title}}}</nowiki>
| house2_members = <nowiki>{{{house2_members}}}</nowiki>
| house2_place = <nowiki>{{{house2_place}}}</nowiki>
| house3 = <nowiki>{{{house3|Lower house}}}</nowiki>
| house3_name = <nowiki>{{{house3_name}}}</nowiki>
| house3_leader1 = <nowiki>{{{house3_leader1}}}</nowiki>
| house3_leader1_name = <nowiki>{{{house3_leader1_name}}}</nowiki>
| house3_leader2 = <nowiki>{{{house3_leader2}}}</nowiki>
| house3_leader2_name = <nowiki>{{{house3_neader2_name}}}</nowiki>
| house3_member_title = <nowiki>{{{house3_member_title}}}</nowiki>
| house3_members = <nowiki>{{{house3_members}}}</nowiki>
| house3_place = <nowiki>{{{house3_place}}}</nowiki>
| branch4 = <nowiki>{{{branch4|Judicial branch}}}</nowiki>
| court1 = <nowiki>{{{court1}}}</nowiki>
| court1_name = <nowiki>{{{court1_name}}}</nowiki>
| court1_chief = <nowiki>{{{court1_chief}}}</nowiki>
| court1_chief_name = <nowiki>{{{court1_chief_name}}}</nowiki>
| court1_seat = <nowiki>{{{court1_seat}}}</nowiki>
| court2 = <nowiki>{{{court2}}}</nowiki>
| court2_name = <nowiki>{{{court2_name}}}</nowiki>
| court2_chief = <nowiki>{{{court2_chief}}}</nowiki>
| court2_chief_name = <nowiki>{{{court2_chief_name}}}</nowiki>
| court2_seat = <nowiki>{{{court2_seat}}}</nowiki>
}}
 
Copy and paste the following to the top of the article page, adding the appropriate values to the desired parameters.
<pre>
{{GovernmentInfobox
| government_name    = <!-- Omit this parameter to use the pagename as the default value -->
| native_name        =
| government_form    =
| image              =
| image_size          = <!-- Defaults to 250px -->
| alt                =
| caption            =
| formation          =
| extinction          =
| document_type      = <!-- Defaults to "Founding document" -->
| document            =
| state              =
| country            =
| website            =
 
| branch1            =
| branch1_label1      =
| branch1_data1      = <!-- Requires a value in branch1_label1 -->
| branch1_label2      =
| branch1_data2      = <!-- Requires a value in branch1_label2 -->
| branch1_label3      =
| branch1_data3      = <!-- Requires a value in branch1_label3 -->
| branch1_label4      =
| branch1_data4      = <!-- Requires a value in branch1_label4 -->
 
| branch2            = <!-- Defaults to "Executive branch" -->
| leader_type        =
| leader_title        =
| leader_name        =
| appointed1          = <!-- Defaults to "Appointed by'; requires a value in appointed1_by -->
| appointed1_by      =
| leader_type2        =
| leader_title2      = <!-- Requires a value in leader_type2 -->
| leader_name2        = <!-- Requires a value in leader_type2 -->
| appointed2          = <!-- Defaults to "Appointed by"; requires a value in appointed2_by -->
| appointed2_by      =
| main_body          =
| headquarters        =
| components          = <!-- Defaults to "Ministries"; requires a value in departments -->
| departments        =
 
| branch3            = <!-- Defaults to "Legislative branch" -->
| house1              = <!-- Defaults to "Upper house" -->
| house1_name        =
| house1_leader1      =
| house1_leader1_name = <!-- Requires a value in house1_leader1 -->
| house1_leader2      =
| house1_leader2_name = <!-- Requires a value in house1_leader2 -->
| house1_member_title =
| house1_members      = <!-- Requires a value in house1_member_title -->
| house1_place        =
| house2              = <!-- Defaults to "Middle house" -->
| house2_name        =
| house2_leader1      =
| house2_leader1_name = <!-- Requires a value in house2_leader1 -->
| house2_leader2      =
| house2_leader2_name = <!-- Requires a value in house2_leader2 -->
| house2_member_title =
| house2_members      = <!-- Requires a value in house2_member_title -->
| house2_place        =
| house3              = <!-- Defaults to "Lower house" -->
| house3_name        =
| house3_leader1      =
| house3_leader1_name = <!-- Requires a value in house3_leader1 -->
| house3_leader2      =
| house3_leader2_name = <!-- Requires a value in house3_leader2 -->
| house3_member_title =
| house3_members      = <!-- Requires a value in house3_member_title -->
| house3_place        =
 
| branch4            = <!-- Defaults to "Judicial branch" -->
| court1              =
| court1_name        =
| court1_chief        =
| court1_chief_name  = <!-- Requires a value in court1_chief -->
| court1_seat        =
| court2              =
| court2_name        = <!-- Requires a value in court2 -->
| court2_chief        =
| court2_chief_name  = <!-- Requires a value in court2_chief -->
| court2_seat        =
}}</pre>
 
==Parameters==
All parameters are optional. However, some parameters are dependent on another parameter having a value, as noted above.


</div>
</div>

Latest revision as of 22:24, 11 December 2023

This is a documentation subpage for Template:GovernmentInfobox.
It may contain usage information, categories and other content that is not part of the original template page.

The {{GovernmentInfobox}} provides an infobox to summarize the structure of a government.

Usage

{{{government_name}}}
{{{native_name}}}
{{{government_form}}}
[[File:{{{image}}}|{{{image_size|250px}}}|alt={{{alt}}}]]
{{{caption}}}
Formation {{{formation}}}
Extinction {{{extinction}}}
{{{document type|Founding document}}} {{{document}}}
State {{{state}}}
Country {{{country}}}
Website {{{website}}}
{{{branh1}}}
{{{branch1_label1}}} {{{branch1_data1}}}
{{{branch1_label2}}} {{{branch1_data2}}}
{{{branch1_label3}}} {{{branch1_data3}}}
{{{branch1_label4}}} {{{branch1_data4}}}
{{{branch2|Executive branch}}}
{{{leader_type}}} {{{leader_title}}}
{{{leader_name}}}
{{{appointed1|Appointed by}}} {{{appointed1_by}}}
{{{leader_type2}}} {{{leader_title2}}}
{{{leader_name2}}}
{{{appointed2|Appointed by}}} {{{appointed2_by}}}
Main body {{{main_body}}}
Headquarters {{{headquarters}}}
{{{components|Ministries}}} {{{departments}}}
{{{branch3|Legislative branch}}}
{{{house1|Upper house}}} {{{house1_name}}}
{{{house1_leader1}}} {{{house1_leader1_name}}}
{{{house1_leader2}}} {{{house1_neader2_name}}}
{{{house1_member_title}}} {{{house1_members}}}
Meeting place {{{house1_place}}}

{{{house2|Middle house}}} {{{house2_name}}}
{{{house2_leader1}}} {{{house2_leader1_name}}}
{{{house2_leader2}}} {{{house2_neader2_name}}}
{{{house2_member_title}}} {{{house2_members}}}
Meeting place {{{house2_place}}}

{{{house3|Lower house}}} {{{house3_name}}}
{{{house3_leader1}}} {{{house3_leader1_name}}}
{{{house3_leader2}}} {{{house3_neader2_name}}}
{{{house3_member_title}}} {{{house3_members}}}
Meeting place {{{house3_place}}}
{{{branch4|Judicial branch}}}
{{{court1}}} {{{court1_name}}}
{{{court1_chief}}} {{{court1_chief_name}}}
Seat {{{court1_seat}}}
{{{court2}}} {{{court2_name}}}
{{{court2_chief}}} {{{court2_chief_name}}}
Seat {{{court2_seat}}}

Copy and paste the following to the top of the article page, adding the appropriate values to the desired parameters.

{{GovernmentInfobox
| government_name     = <!-- Omit this parameter to use the pagename as the default value -->
| native_name         = 
| government_form     = 
| image               = 
| image_size          = <!-- Defaults to 250px -->
| alt                 =
| caption             = 
| formation           = 
| extinction          = 
| document_type       = <!-- Defaults to "Founding document" -->
| document            =
| state               = 
| country             =
| website             =

| branch1             =
| branch1_label1      =
| branch1_data1       = <!-- Requires a value in branch1_label1 -->
| branch1_label2      =
| branch1_data2       = <!-- Requires a value in branch1_label2 -->
| branch1_label3      = 
| branch1_data3       = <!-- Requires a value in branch1_label3 -->
| branch1_label4      = 
| branch1_data4       = <!-- Requires a value in branch1_label4 -->

| branch2             = <!-- Defaults to "Executive branch" -->
| leader_type         = 
| leader_title        = 
| leader_name         = 
| appointed1          = <!-- Defaults to "Appointed by'; requires a value in appointed1_by -->
| appointed1_by       =
| leader_type2        = 
| leader_title2       = <!-- Requires a value in leader_type2 -->
| leader_name2        = <!-- Requires a value in leader_type2 -->
| appointed2          = <!-- Defaults to "Appointed by"; requires a value in appointed2_by -->
| appointed2_by       = 
| main_body           = 
| headquarters        = 
| components          = <!-- Defaults to "Ministries"; requires a value in departments -->
| departments         =

| branch3             = <!-- Defaults to "Legislative branch" -->
| house1              = <!-- Defaults to "Upper house" -->
| house1_name         = 
| house1_leader1      = 
| house1_leader1_name = <!-- Requires a value in house1_leader1 -->
| house1_leader2      = 
| house1_leader2_name = <!-- Requires a value in house1_leader2 -->
| house1_member_title = 
| house1_members      = <!-- Requires a value in house1_member_title -->
| house1_place        = 
| house2              = <!-- Defaults to "Middle house" -->
| house2_name         = 
| house2_leader1      = 
| house2_leader1_name = <!-- Requires a value in house2_leader1 -->
| house2_leader2      = 
| house2_leader2_name = <!-- Requires a value in house2_leader2 -->
| house2_member_title =
| house2_members      = <!-- Requires a value in house2_member_title -->
| house2_place        = 
| house3              = <!-- Defaults to "Lower house" -->
| house3_name         = 
| house3_leader1      = 
| house3_leader1_name = <!-- Requires a value in house3_leader1 -->
| house3_leader2      = 
| house3_leader2_name = <!-- Requires a value in house3_leader2 -->
| house3_member_title = 
| house3_members      = <!-- Requires a value in house3_member_title -->
| house3_place        = 

| branch4             = <!-- Defaults to "Judicial branch" -->
| court1              = 
| court1_name         = 
| court1_chief        = 
| court1_chief_name   = <!-- Requires a value in court1_chief -->
| court1_seat         = 
| court2              =
| court2_name         = <!-- Requires a value in court2 -->
| court2_chief        = 
| court2_chief_name   = <!-- Requires a value in court2_chief -->
| court2_seat         = 
}}

Parameters

All parameters are optional. However, some parameters are dependent on another parameter having a value, as noted above.