Difference between revisions of "Template:Infobox constitution"

From blackwiki
Jump to navigation Jump to search
imported>Sngineer
(Add label "citation" to link to latest official text of the constitution similar to Template:Infobox_legislation)
imported>Gonnym
(changed to correct usage. Template:Lang already handles correct italics for languages.)
 
Line 5: Line 5:
 
| caption        = {{{caption|{{{image_caption|}}}}}}
 
| caption        = {{{caption|{{{image_caption|}}}}}}
 
|  label1        = Original title
 
|  label1        = Original title
|  data1        = {{#if:{{{title_orig|}}} |{{#if:{{{orig_lang_code|}}}|{{lang|{{{orig_lang_code|}}} |{{{title_orig}}} |italics={{#invoke:infobox/utilities|set_italics|{{{orig_lang_code|}}}|{{{title_orig}}}}}}}|''{{{title_orig}}}''}} }}
+
|  data1        = {{#if: {{{title_orig|}}} | {{#if: {{{orig_lang_code|}}} | {{lang|{{{orig_lang_code|}}}|{{{title_orig|}}}}} }} }}
 
|  label2        = Jurisdiction
 
|  label2        = Jurisdiction
 
|  data2        = {{{jurisdiction|}}}
 
|  data2        = {{{jurisdiction|}}}

Latest revision as of 10:54, 1 November 2020

[[Category:Infobox templates|Template:Remove first word]]

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

The purpose of this template is to provide an infobox for constitutions.

Usage

document_name
image_alt
caption
Original titleoriginal_title
Jurisdictionstate,country,organization
Subordinate tosubordinate to
Createddate_created
Presenteddate_presented
Ratifieddate_ratified
Date effectivedate_effective
Systemsystem_of_government
Branchesnumber_of_branches
Head of stateceremonial_president/executive_president/monarch
Chambersunicameral/bicameral/multicameral
Executivepresident/prime_minister/head_of_government/cabinet...
Judiciarysupreme/circuits/districts...
Federalismconfederation/federation/unitary
Electoral collegeyes/no
Entrenchmentsnumber_entrenchments
First legislaturestart_date_of_first_legislature
First executivestart_date_of_first_executive
First courtstart_date_of_first_court
Repealeddate_repealed
Amendmentsnumber_of_amendments
Last amendeddate_of_the_last_amendment
Citationcitation to current text of the document
Locationlocation_of_document
Commissioned bycommissioned_by
Author(s)writer
Signatoriessigners
Media typemedia_type
Supersedesthe previous document replaced by this one
[[Category:Infobox templates|Template:Remove first word]]
{{Infobox constitution
| document_name        =
| image                =
| image_alt            =
| caption              =
| orig_lang_code       =
| title_orig           =
| jurisdiction         =
| subordinate_to       =
| date_created         =
| date_presented       =
| date_ratified        =
| date_effective       =
| system               =
| branches             =
| chambers             =
| executive            =
| courts               =
| federalism           =
| electoral_college    =
| number_entrenchments =
| date_legislature     =
| date_first_executive =
| date_first_court     =
| date_repealed        =
| number_amendments    =
| date_last_amended    =
| citation             =
| location_of_document =
| commissioned         =
| writer               =
| signers              =
| media_type           =
| supersedes           =
}}

Parameters

Required
  • document_name — Name of the document

All other parameters are optional.

Optional
  • citation — The citation of the legislation. If the legislation is available online, use a citation template where available to generate an external link automatically, or else create a link manually. If the citation uses square brackets, replace them with [ and ] when putting them inside an external link.

See also

Template:infobox document - the template from which this template is derived

Template:Infobox legislation