Template:Infobox regional law: Difference between revisions

From TSP Encyclopedia
Jump to navigation Jump to search
(ok fine ill go read the documentation)
No edit summary
Line 1: Line 1:
{{ infobox
{{infobox regional law
| abovestyle    = <!--Colored title and section bars-->
| name = name
| above        = {{{name|<includeonly>{{PAGENAMEBASE}}</includeonly>}}}
| image = example.png
| image         = {{#if:{{{image|}}}|[[File:{{{image}}}|22em]]}}
| caption = caption
| caption       = {{{caption|}}}
| link = https://tspforums.xyz/thread-4111.html
| subheader    = An Act of the {{{legislature|[[Assembly of the South Pacific|Assembly]]}}} of {{{region|[[the South Pacific]]}}}
| link_text = link text
| headerstyle  = <!--Colored title and section bars-->
| introduced_by = introduced by
| label1        = Official text
| date_passed = date passed
| data1        = [{{{link}}} {{{link_text|link}}}]
| date_amended = date amended
| header2      = Legislative history
| date_repealed = date repealed
| label3        = Introduced by
| for = 500
| data3        = {{{introduced_by|}}}
| against = 0
| label4        = Passed
| abstention = 3
| data4        = {{{date_passed|}}}
| absent = 40
| label5        = Last amended
| result = Passed
| 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:{{{against|}}}    |{{color|#900|{{#ifeq:{{{against}}}|0 |None | {{{against}}} }} voted against}}}}<!--
                -->| {{#if:{{{abstention|}}} |{{color|#333|{{#ifeq:{{{abstention}}}|0 |None | {{{abstention}}} }} abstained}}}}<!--
                -->| {{#if:{{{absent|}}}    |{{#ifeq:{{{absent}}}|0 |None | {{{absent}}} }} absent}}<!--
                -->}}
| label9        = Result
| data9        = {{{result|}}}
}}<noinclude>
{{Documentation}}
</noinclude>

Revision as of 08:13, 4 January 2022

Template loop detected: Template:Infobox regional law