Difference between revisions of "Template:Infobox law"

From Taijitu
Jump to: navigation, search
(+Category laws)
 
(18 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}}}
 
|-
 
|-
!Enacted by
+
!width="33%"|Jurisdiction
|{{{enacted_by}}}
+
|{{{jurisdiction}}}
 
|-
 
|-
{{#if: {{{submitted|}}}|
+
!Enacted by
 +
|{{{enacted_by}}} {{if||{{{submitted|}}}|
 +
{{!}}-{{top}}
 
!Petition submitted
 
!Petition submitted
 
{{!}}{{{submitted|}}}
 
{{!}}{{{submitted|}}}
{{!}}-
+
{{!}}-{{top}}
 
!Petition approved
 
!Petition approved
{{!}}{{{approved|test}}}
+
{{!}}{{{approved|}}}
{{!}}-valign=top
+
{{!}}-{{top}}
!Passed in referendum
+
!Referendum
{{!}}{{{referendum|}}}
+
{{!}}{{{referendum|}}}}} {{if||{{{introduced|}}}|
}}
+
{{!}}-
{{#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|}}}|
}} {{#if: {{{repealed|}}}|
+
{{!}}-{{top}}
{{!}}-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>}}
<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
 +
|color= //optional default jurisdiction:color
 +
|text_color= //optional default black
 
|name=
 
|name=
 +
|jurisdiction=
 
|enacted_by=
 
|enacted_by=
 
|submitted= //optional
 
|submitted= //optional
Line 49: Line 52:
 
|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
}}