Difference between revisions of "Template:Infobox law"
From Taijitu
(Fixed parsing problems with optional rows and newlines, generalized for use with non-Taijituan laws) |
|||
(13 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:{{{color|{{color|{{{jurisdiction|}}}}}}}} | + | !colspan=2 style="background-color:{{{color|{{color|{{{jurisdiction|}}}}}}}}; color: {{{text_color|black}}}; font-size:125%; text-align:center"|{{{name}}} |
|- | |- | ||
!width="33%"|Jurisdiction | !width="33%"|Jurisdiction | ||
Line 7: | Line 7: | ||
!Enacted by | !Enacted by | ||
|{{{enacted_by}}} {{if||{{{submitted|}}}| | |{{{enacted_by}}} {{if||{{{submitted|}}}| | ||
− | {{!}}- | + | {{!}}-{{top}} |
!Petition submitted | !Petition submitted | ||
{{!}}{{{submitted|}}} | {{!}}{{{submitted|}}} | ||
Line 21: | Line 21: | ||
{{!}}-{{top}} | {{!}}-{{top}} | ||
!Vote | !Vote | ||
− | {{!}}{{{ | + | {{!}}{{{vote|}}}}} {{if||{{{signed|}}}| |
{{!}}-{{top}} | {{!}}-{{top}} | ||
!Signed | !Signed | ||
Line 31: | Line 31: | ||
!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> | ||
Line 47: | Line 52: | ||
|referendum= //only if submitted | |referendum= //only if submitted | ||
|introduced= //optional | |introduced= //optional | ||
− | | | + | |vote= //only if introduced |
|signed= //optional | |signed= //optional | ||
|amended= //optional | |amended= //optional | ||
Line 53: | Line 58: | ||
}}</pre></div></noinclude> | }}</pre></div></noinclude> | ||
− | <noinclude>[[Category:Infoboxes]]</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 }}