Template:Infobox regional law/doc: Difference between revisions
Jump to navigation
Jump to search
(forgot to close a comment) |
(add TemplateData) |
||
Line 25: | Line 25: | ||
<!-- Categories below this line --> | <!-- Categories below this line --> | ||
[[Category:Regional government infobox templates|Regional law]] | [[Category:Regional government infobox templates|Regional law]] | ||
}}</includeonly> | }} | ||
<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> | |||
</includeonly> |
Revision as of 21:43, 29 April 2022
This is a documentation subpage for Template:Infobox regional law. It may contain usage information, categories and other content that is not part of the original template page. |
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 --> }}