Template:Infobox regional law: Difference between revisions
(more bug squashing) |
(ok fine ill go read the documentation) |
||
| Line 9: | Line 9: | ||
| data1 = [{{{link}}} {{{link_text|link}}}] | | data1 = [{{{link}}} {{{link_text|link}}}] | ||
| header2 = Legislative history | | header2 = Legislative history | ||
| | | label3 = Introduced by | ||
| | | data3 = {{{introduced_by|}}} | ||
| | | label4 = Passed | ||
| | | data4 = {{{date_passed|}}} | ||
| | | label5 = Last amended | ||
| | | data5 = {{{date_amended|}}} | ||
| | | label6 = Repealed | ||
| | | data6 = {{{date_repealed|}}} | ||
| | | header7 = Voting | ||
| | | label8 = Summary | ||
| | | data8 = {{unbulleted list | ||
| {{#if:{{{for|}}} |{{color|#090|{{#ifeq:{{{for}}}|0 |None | {{{for}}} }} voted for}}}}<!-- | | {{#if:{{{for|}}} |{{color|#090|{{#ifeq:{{{for}}}|0 |None | {{{for}}} }} voted for}}}}<!-- | ||
-->| {{#if:{{{against|}}} |{{color|#900|{{#ifeq:{{{against}}}|0 |None | {{{against}}} }} voted against}}}}<!-- | -->| {{#if:{{{against|}}} |{{color|#900|{{#ifeq:{{{against}}}|0 |None | {{{against}}} }} voted against}}}}<!-- | ||
| Line 25: | Line 25: | ||
-->| {{#if:{{{absent|}}} |{{#ifeq:{{{absent}}}|0 |None | {{{absent}}} }} absent}}<!-- | -->| {{#if:{{{absent|}}} |{{#ifeq:{{{absent}}}|0 |None | {{{absent}}} }} absent}}<!-- | ||
-->}} | -->}} | ||
| | | label9 = Result | ||
| | | data9 = {{{result|}}} | ||
}}<noinclude> | }}<noinclude> | ||
{{Documentation}} | {{Documentation}} | ||
</noinclude> | </noinclude> | ||
Revision as of 08:13, 4 January 2022
| An Act of the Assembly of the South Pacific | |
| Official text | [{{{link}}} link] |
|---|---|
| Legislative history | |
| Voting | |
Usage
| {{{name}}} | |
|---|---|
| An Act of the {{{legislature}}} of {{{region}}} | |
| [[File:{{{image}}}|22em]] {{{caption}}} | |
| Official text | [{{{link}}} {{{link_text}}}] |
| Legislative history | |
| Introduced by | {{{introduced_by}}} |
| Passed | {{{date_passed}}} |
| Last amended | {{{date_amended}}} |
| Repealed | {{{date_repealed}}} |
| Voting | |
{{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.
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||