Difference between revisions of "Template:Infobox law"

From Taijitu
Jump to: navigation, search
m
 
(21 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 
{| align=right cellspacing="4" cellpadding="1" style="margin: 0 0 1em 1em; background: #f9f9f9; border: 1px darkgray solid; font-size: 88%; text-align: left; width: 22em"
 
{| align=right cellspacing="4" cellpadding="1" style="margin: 0 0 1em 1em; background: #f9f9f9; border: 1px darkgray solid; font-size: 88%; text-align: left; width: 22em"
!colspan=2 style="background-color:black; color: white; font-size:125%; text-align:center"|{{{name}}}
+
!colspan=2 style="background-color:{{{color|{{color|{{{jurisdiction|}}}}}}}}; color: {{{text_color|black}}}; font-size:125%; text-align:center"|{{{name}}}
 +
|-
 +
!width="33%"|Jurisdiction
 +
|{{{jurisdiction}}}
 
|-
 
|-
 
!Enacted by
 
!Enacted by
|{{{enacted_by}}}
+
|{{{enacted_by}}} {{if||{{{submitted|}}}|
|-
+
{{!}}-{{top}}
{{#if: {{{submitted|}}}|
+
 
!Petition submitted
 
!Petition submitted
 
{{!}}{{{submitted|}}}
 
{{!}}{{{submitted|}}}
 +
{{!}}-{{top}}
 +
!Petition approved
 +
{{!}}{{{approved|}}}
 +
{{!}}-{{top}}
 +
!Referendum
 +
{{!}}{{{referendum|}}}}} {{if||{{{introduced|}}}|
 
{{!}}-
 
{{!}}-
!Petition approved
 
{{!}}{{{approved}}}
 
{{!}}-valign=top
 
!Passed in referendum
 
{{!}}{{{referendum}}}
 
}}
 
{{#if: {{{introduced|}}}|
 
 
!Introduced
 
!Introduced
 
{{!}}{{{introduced|}}}
 
{{!}}{{{introduced|}}}
{{!}}-
+
{{!}}-{{top}}
!Moved to vote
+
!Vote
{{!}}{{{to_vote}}}
+
{{!}}{{{vote|}}}}} {{if||{{{signed|}}}|
{{!}}-
+
{{!}}-{{top}}
!Passed
+
!Signed
{{!}}{{{passed}}}
+
{{!}}{{{signed|}}}}} {{if||{{{amended|}}}|
{{!}}-
+
{{!}}-{{top}}
!Signed into law
+
{{!}}{{{signed}}}
+
}}
+
{{#if: {{{amended|}}}|
+
{{!}}-valign="vertical"
+
 
!Amended
 
!Amended
{{!}}{{{amended|}}}
+
{{!}}{{{amended|}}}}} {{if||{{{repealed|}}}|
}}
+
{{!}}-{{top}}
{{#if: {{{repealed|}}}|
+
{{!}}-valign="vertical"
+
 
!Repealed
 
!Repealed
{{!}}{{{repealed|}}}
+
{{!}}{{{repealed|}}}}}
}}
+
|-
 +
|colspan=2 style="border-top: 1px solid darkgray"|
 +
|-align="center"
 +
|colspan=2|[[Document:{{{name}}}|Full text of the {{{name}}}]]
 +
|-align="center"
 +
|colspan=2 style="font-size:75%"|[http://wiki.taijitu.org/w/index.php?title=Document:{{urlencode:{{{name}}}}}&action=history History]
 
|}
 
|}
 +
{{if||{{{repealed|}}}|<includeonly>[[Category:Repealed laws]]</includeonly>|<includeonly>[[Category:Laws]]</includeonly>}}
 +
 
<noinclude>
 
<noinclude>
<div style="width:325px;background:#dddddd;border: 1px solid black;padding:0.5em  1em 0.5em 1em"><pre>
+
<div style="width:400px;background:#dddddd;border: 1px solid black;padding:0.5em  1em 0.5em 1em"><pre>
 
{{Infobox law
 
{{Infobox law
|enacted_by
+
|color= //optional default jurisdiction:color
 +
|text_color= //optional default black
 +
|name=
 +
|jurisdiction=
 +
|enacted_by=
 
|submitted= //optional
 
|submitted= //optional
 
|approved= //only if submitted
 
|approved= //only if submitted
 
|referendum= //only if submitted
 
|referendum= //only if submitted
 
|introduced= //optional
 
|introduced= //optional
|to_vote= //only if introduced
+
|vote= //only if introduced
|passed= //only if introduced
+
|signed= //optional
|signed= //only if introduced
+
 
|amended= //optional
 
|amended= //optional
 
|repealed= //optional
 
|repealed= //optional
 
}}</pre></div></noinclude>
 
}}</pre></div></noinclude>
 +
 +
<noinclude>[[Category:Templates|Infobox law]][[Category:Government templates|Infobox law]][[Category:Infoboxes|Law]]
 +
</noinclude>

Latest revision as of 11:25, 8 December 2014

{{{name}}}
Jurisdiction {{{jurisdiction}}}
Enacted by {{{enacted_by}}}
[[Document:{{{name}}}|Full text of the {{{name}}}]]
History


{{Infobox law
|color= //optional default jurisdiction:color
|text_color= //optional default black
|name=
|jurisdiction=
|enacted_by=
|submitted= //optional
|approved= //only if submitted
|referendum= //only if submitted
|introduced= //optional
|vote= //only if introduced
|signed= //optional
|amended= //optional
|repealed= //optional
}}