Template:Infobox regional law: Difference between revisions
(use assembly logo image by default) |
(add TemplateData) Tag: 2017 source edit |
||
Line 22: | Line 22: | ||
{{Documentation}} | {{Documentation}} | ||
<!-- Please add category and language links to the bottom of the /doc sub-page, not here --> | <!-- Please add category and language links to the bottom of the /doc sub-page, not here --> | ||
</noinclude> | <templatedata> | ||
{ | |||
"params": { | |||
"name": { | |||
"description": "Short title of the legislation. If a bill, enter the bill's current or most recent short title.", | |||
"default": "{{PAGENAMEBASE}}", | |||
"suggested": true | |||
}, | |||
"image": { | |||
"description": "An image representing the institution or office that enacted/is enacting the legislation, such as a coat of arms, a seal, an emblem or a photograph of the institution's building. Omit \"File:\". Overrides any automatically set image. Defaults to a logo for the Assembly of the South Pacific.", | |||
"type": "wiki-file-name", | |||
"suggested": true | |||
}, | |||
"caption": { | |||
"description": "Caption for the image. This explains the image or its purpose in the current context and therefore is not necessarily the same as the alt text.", | |||
"type": "content" | |||
}, | |||
"legislature": {}, | |||
"region": {}, | |||
"link": {}, | |||
"link_text": {}, | |||
"constitutional": {}, | |||
"introduced_by": {}, | |||
"date_passed": {}, | |||
"date_amended": {}, | |||
"date_repealed": {} | |||
}, | |||
"description": "Infobox for an article about an act, statute, bill, regulation, order, measure or other legislation passed by any region." | |||
} | |||
</templatedata></noinclude> |
Revision as of 21:41, 29 April 2022
An Act of the Assembly of the South Pacific | |
Official text | [{{{link}}} link] |
---|---|
Constitutional law | No |
Usage
{{{name}}} | |
---|---|
An Act of the {{{legislature}}} of {{{region}}} | |
[[File:{{{image}}}|22em]] | |
Official text | [{{{link}}} {{{link_text}}}] |
Constitutional law | Yes |
Legislative history | |
Introduced by | {{{introduced_by}}} |
Passed | {{{date_passed}}} |
Last amended | {{{date_amended}}} |
Repealed | {{{date_repealed}}} |
{{Infobox regional law | name = <!-- optional, will use article title if not specified --> | image = | caption = | legislature = <!-- include wikilink syntax, e.g. [[articlename]]; optional, defaults to [[Assembly of the South Pacific|Assembly]] --> | region = <!-- include wikilink syntax, e.g. [[articlename]]; optional, defaults to [[the South Pacific]] --> | link = <!-- put a url with no wikilink syntax, e.g. https://tspforums.xyz/thread-4111.html --> | link_text = <!-- typically not needed, only used for custom link text; delete parameter (rather than just blanking) if not used --> | constitutional = <!-- use yes or y if constitutional law, and no or n otherwise --> | introduced_by = | date_passed = | date_amended = <!-- use date of last amendment; optional, link to MATT-DUCK already provides full list of amendments, consider using only if you are confident of keeping this up to date --> | date_repealed = <!-- leave blank for laws still in force --> }}
TemplateData
TemplateData for Infobox regional law
TemplateData
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Infobox for an article about an act, statute, bill, regulation, order, measure or other legislation passed by any region.
|
Infobox for an article about an act, statute, bill, regulation, order, measure or other legislation passed by any region.
Parameter | Description | Type | Status | |
---|---|---|---|---|
name | name | Short title of the legislation. If a bill, enter the bill's current or most recent short title.
| Unknown | suggested |
image | image | An image representing the institution or office that enacted/is enacting the legislation, such as a coat of arms, a seal, an emblem or a photograph of the institution's building. Omit "File:". Overrides any automatically set image. Defaults to a logo for the Assembly of the South Pacific. | File | suggested |
caption | caption | Caption for the image. This explains the image or its purpose in the current context and therefore is not necessarily the same as the alt text. | Content | optional |
legislature | legislature | no description | Unknown | optional |
region | region | no description | Unknown | optional |
link | link | no description | Unknown | optional |
link_text | link_text | no description | Unknown | optional |
constitutional | constitutional | no description | Unknown | optional |
introduced_by | introduced_by | no description | Unknown | optional |
date_passed | date_passed | no description | Unknown | optional |
date_amended | date_amended | no description | Unknown | optional |
date_repealed | date_repealed | no description | Unknown | optional |