Template:ClarkPD: Difference between revisions
mNo edit summary |
mNo edit summary |
||
Line 4: | Line 4: | ||
! width="*" |Title | ! width="*" |Title | ||
! width="10%" |Status | ! width="10%" |Status | ||
|- bgcolor="#{{#ifeq: {{{st1|}}}|pass|d5fdf4|{{#ifeq: {{{st1|}}}|fail|fee7e6|{{#ifeq: {{{st1|}}}|eph|fef6e7|{{#ifeq: {{{st1|}}}|veto|A4A4A4|FFFFFF}}}}}}}}" | |- bgcolor="#{{#ifeq: {{{st1|}}}|pass|d5fdf4|{{#ifeq: {{{st1|}}}|fail|fee7e6|{{#ifeq: {{{st1|}}}|eph|fef6e7|{{#ifeq: {{{st1|}}}|veto|A4A4A4|FFFFFF}}}}}}}}" | ||
! [[{{{bnum1|}}}]] | ! [[{{{bnum1|}}}]] | ||
| '''[[Law:{{{bt1|}}}|{{{bt1|}}}]]''' | | '''[[Law:{{{bt1|}}}|{{{bt1|}}}]]''' | ||
|<center>{{#ifeq: {{{st1|}}}|pass|{{adopted}}|{{#ifeq: {{{st1|}}}|fail||'''Amends''' {{#ifeq: {{{a1|}}}|Lex|Lexhatx|{{#ifeq: {{{a1|}}}|Org|OrgLaw|Both|}}}}}}}}</center> | |<center>{{#ifeq: {{{st1|}}}|pass|{{adopted}}|{{#ifeq: {{{st1|}}}|fail||'''Amends''' {{#ifeq: {{{a1|}}}|Lex|Lexhatx|{{#ifeq: {{{a1|}}}|Org|OrgLaw|Both|}}}}}}}}</center> | ||
Line 15: | Line 13: | ||
! {{#if: {{{bnum2|}}}|{{{bnum2|}}}|{{padleft:|2|{{{bnum1|}}}}}PD{{#expr: {{#ifexpr: {{#len:{{{bnum1|}}}}} = 5|{{#sub:{{{bnum1|}}}|-1}}|{{#sub:{{{bnum1|}}}|-2}}}} + 1}}}} | ! {{#if: {{{bnum2|}}}|{{{bnum2|}}}|{{padleft:|2|{{{bnum1|}}}}}PD{{#expr: {{#ifexpr: {{#len:{{{bnum1|}}}}} = 5|{{#sub:{{{bnum1|}}}|-1}}|{{#sub:{{{bnum1|}}}|-2}}}} + 1}}}} | ||
{{!}} '''[[Law:{{{bt2|}}}|{{{bt2|}}}]]''' | {{!}} '''[[Law:{{{bt2|}}}|{{{bt2|}}}]]''' | ||
{{!}} <center>{{#ifeq: {{{st2|}}}|pass|{{adopted}}|{{#ifeq: {{{st2|}}}|fail||'''Amends''' {{#ifeq: {{{a2|}}}|Lex|Lexhatx|{{#ifeq: {{{a2|}}}|Org|OrgLaw|Both|}}}}}}}}</center>|}} | {{!}} <center>{{#ifeq: {{{st2|}}}|pass|{{adopted}}|{{#ifeq: {{{st2|}}}|fail||'''Amends''' {{#ifeq: {{{a2|}}}|Lex|Lexhatx|{{#ifeq: {{{a2|}}}|Org|OrgLaw|Both|}}}}}}}}</center>|}} | ||
Line 21: | Line 18: | ||
! {{#if: {{{bnum3|}}}|{{{bnum3|}}}|{{padleft:|2|{{{bnum1|}}}}}PD{{#expr: {{#ifexpr: {{#len:{{{bnum1|}}}}} = 5|{{#sub:{{{bnum1|}}}|-1}}|{{#sub:{{{bnum1|}}}|-2}}}} + 2}}}} | ! {{#if: {{{bnum3|}}}|{{{bnum3|}}}|{{padleft:|2|{{{bnum1|}}}}}PD{{#expr: {{#ifexpr: {{#len:{{{bnum1|}}}}} = 5|{{#sub:{{{bnum1|}}}|-1}}|{{#sub:{{{bnum1|}}}|-2}}}} + 2}}}} | ||
{{!}} '''[[Law:{{{bt3|}}}|{{{bt3|}}}]]''' | {{!}} '''[[Law:{{{bt3|}}}|{{{bt3|}}}]]''' | ||
{{!}} <center>{{#ifeq: {{{st3|}}}|pass|{{adopted}}|{{#ifeq: {{{st3|}}}|fail||'''Amends''' {{#ifeq: {{{a3|}}}|Lex|Lexhatx|{{#ifeq: {{{a3|}}}|Org|OrgLaw|Both|}}}}}}}}</center>|}} | {{!}} <center>{{#ifeq: {{{st3|}}}|pass|{{adopted}}|{{#ifeq: {{{st3|}}}|fail||'''Amends''' {{#ifeq: {{{a3|}}}|Lex|Lexhatx|{{#ifeq: {{{a3|}}}|Org|OrgLaw|Both|}}}}}}}}</center>|}} | ||
Line 27: | Line 23: | ||
! {{#if: {{{bnum4|}}}|{{{bnum4|}}}|{{padleft:|2|{{{bnum1|}}}}}PD{{#expr: {{#ifexpr: {{#len:{{{bnum1|}}}}} = 5|{{#sub:{{{bnum1|}}}|-1}}|{{#sub:{{{bnum1|}}}|-2}}}} + 3}}}} | ! {{#if: {{{bnum4|}}}|{{{bnum4|}}}|{{padleft:|2|{{{bnum1|}}}}}PD{{#expr: {{#ifexpr: {{#len:{{{bnum1|}}}}} = 5|{{#sub:{{{bnum1|}}}|-1}}|{{#sub:{{{bnum1|}}}|-2}}}} + 3}}}} | ||
{{!}} '''[[Law:{{{bt4|}}}|{{{bt4|}}}]]''' | {{!}} '''[[Law:{{{bt4|}}}|{{{bt4|}}}]]''' | ||
{{!}} <center>{{#ifeq: {{{st4|}}}|pass|{{adopted}}|{{#ifeq: {{{st4|}}}|fail||'''Amends''' {{#ifeq: {{{a4|}}}|Lex|Lexhatx|{{#ifeq: {{{a4|}}}|Org|OrgLaw|Both|}}}}}}}}</center>|}} | {{!}} <center>{{#ifeq: {{{st4|}}}|pass|{{adopted}}|{{#ifeq: {{{st4|}}}|fail||'''Amends''' {{#ifeq: {{{a4|}}}|Lex|Lexhatx|{{#ifeq: {{{a4|}}}|Org|OrgLaw|Both|}}}}}}}}</center>|}} | ||
Line 33: | Line 28: | ||
! {{#if: {{{bnum5|}}}|{{{bnum5|}}}|{{padleft:|2|{{{bnum1|}}}}}PD{{#expr: {{#ifexpr: {{#len:{{{bnum1|}}}}} = 5|{{#sub:{{{bnum1|}}}|-1}}|{{#sub:{{{bnum1|}}}|-2}}}} + 4}}}} | ! {{#if: {{{bnum5|}}}|{{{bnum5|}}}|{{padleft:|2|{{{bnum1|}}}}}PD{{#expr: {{#ifexpr: {{#len:{{{bnum1|}}}}} = 5|{{#sub:{{{bnum1|}}}|-1}}|{{#sub:{{{bnum1|}}}|-2}}}} + 4}}}} | ||
{{!}} '''[[Law:{{{bt5|}}}|{{{bt5|}}}]]''' | {{!}} '''[[Law:{{{bt5|}}}|{{{bt5|}}}]]''' | ||
{{!}} <center>{{#ifeq: {{{st5|}}}|pass|{{adopted}}|{{#ifeq: {{{st5|}}}|fail||'''Amends''' {{#ifeq: {{{a5|}}}|Lex|Lexhatx|{{#ifeq: {{{a5|}}}|Org|OrgLaw|Both|}}}}}}}}</center>|}} | {{!}} <center>{{#ifeq: {{{st5|}}}|pass|{{adopted}}|{{#ifeq: {{{st5|}}}|fail||'''Amends''' {{#ifeq: {{{a5|}}}|Lex|Lexhatx|{{#ifeq: {{{a5|}}}|Org|OrgLaw|Both|}}}}}}}}</center>|}} | ||
Line 39: | Line 33: | ||
! {{#if: {{{bnum6|}}}|{{{bnum6|}}}|{{padleft:|2|{{{bnum1|}}}}}PD{{#expr: {{#ifexpr: {{#len:{{{bnum1|}}}}} = 5|{{#sub:{{{bnum1|}}}|-1}}|{{#sub:{{{bnum1|}}}|-2}}}} + 5}}}} | ! {{#if: {{{bnum6|}}}|{{{bnum6|}}}|{{padleft:|2|{{{bnum1|}}}}}PD{{#expr: {{#ifexpr: {{#len:{{{bnum1|}}}}} = 5|{{#sub:{{{bnum1|}}}|-1}}|{{#sub:{{{bnum1|}}}|-2}}}} + 5}}}} | ||
{{!}} '''[[Law:{{{bt6|}}}|{{{bt6|}}}]]''' | {{!}} '''[[Law:{{{bt6|}}}|{{{bt6|}}}]]''' | ||
{{!}} <center>{{#ifeq: {{{st6|}}}|pass|{{adopted}}|{{#ifeq: {{{st6|}}}|fail||'''Amends''' {{#ifeq: {{{a6|}}}|Lex|Lexhatx|{{#ifeq: {{{a6|}}}|Org|OrgLaw|Both|}}}}}}}}</center>|}} | {{!}} <center>{{#ifeq: {{{st6|}}}|pass|{{adopted}}|{{#ifeq: {{{st6|}}}|fail||'''Amends''' {{#ifeq: {{{a6|}}}|Lex|Lexhatx|{{#ifeq: {{{a6|}}}|Org|OrgLaw|Both|}}}}}}}}</center>|}} | ||
Line 45: | Line 38: | ||
! {{#if: {{{bnum7|}}}|{{{bnum7|}}}|{{padleft:|2|{{{bnum1|}}}}}PD{{#expr: {{#ifexpr: {{#len:{{{bnum1|}}}}} = 5|{{#sub:{{{bnum1|}}}|-1}}|{{#sub:{{{bnum1|}}}|-2}}}} + 6}}}} | ! {{#if: {{{bnum7|}}}|{{{bnum7|}}}|{{padleft:|2|{{{bnum1|}}}}}PD{{#expr: {{#ifexpr: {{#len:{{{bnum1|}}}}} = 5|{{#sub:{{{bnum1|}}}|-1}}|{{#sub:{{{bnum1|}}}|-2}}}} + 6}}}} | ||
{{!}} '''[[Law:{{{bt7|}}}|{{{bt7|}}}]]''' | {{!}} '''[[Law:{{{bt7|}}}|{{{bt7|}}}]]''' | ||
{{!}} <center>{{#ifeq: {{{st7|}}}|pass|{{adopted}}|{{#ifeq: {{{st7|}}}|fail||'''Amends''' {{#ifeq: {{{a7|}}}|Lex|Lexhatx|{{#ifeq: {{{a7|}}}|Org|OrgLaw|Both|}}}}}}}}</center>|}} | {{!}} <center>{{#ifeq: {{{st7|}}}|pass|{{adopted}}|{{#ifeq: {{{st7|}}}|fail||'''Amends''' {{#ifeq: {{{a7|}}}|Lex|Lexhatx|{{#ifeq: {{{a7|}}}|Org|OrgLaw|Both|}}}}}}}}</center>|}} | ||
Line 51: | Line 43: | ||
! {{#if: {{{bnum8|}}}|{{{bnum8|}}}|{{padleft:|2|{{{bnum1|}}}}}PD{{#expr: {{#ifexpr: {{#len:{{{bnum1|}}}}} = 5|{{#sub:{{{bnum1|}}}|-1}}|{{#sub:{{{bnum1|}}}|-2}}}} + 7}}}} | ! {{#if: {{{bnum8|}}}|{{{bnum8|}}}|{{padleft:|2|{{{bnum1|}}}}}PD{{#expr: {{#ifexpr: {{#len:{{{bnum1|}}}}} = 5|{{#sub:{{{bnum1|}}}|-1}}|{{#sub:{{{bnum1|}}}|-2}}}} + 7}}}} | ||
{{!}} '''[[Law:{{{bt8|}}}|{{{bt8|}}}]]''' | {{!}} '''[[Law:{{{bt8|}}}|{{{bt8|}}}]]''' | ||
{{!}} <center>{{#ifeq: {{{st8|}}}|pass|{{adopted}}|{{#ifeq: {{{st8|}}}|fail||'''Amends''' {{#ifeq: {{{a8|}}}|Lex|Lexhatx|{{#ifeq: {{{a8|}}}|Org|OrgLaw|Both|}}}}}}}}</center>|}} | {{!}} <center>{{#ifeq: {{{st8|}}}|pass|{{adopted}}|{{#ifeq: {{{st8|}}}|fail||'''Amends''' {{#ifeq: {{{a8|}}}|Lex|Lexhatx|{{#ifeq: {{{a8|}}}|Org|OrgLaw|Both|}}}}}}}}</center>|}} | ||
Line 57: | Line 48: | ||
! {{#if: {{{bnum6|}}}|{{{bnum9|}}}|{{padleft:|2|{{{bnum1|}}}}}PD{{#expr: {{#ifexpr: {{#len:{{{bnum1|}}}}} = 5|{{#sub:{{{bnum1|}}}|-1}}|{{#sub:{{{bnum1|}}}|-2}}}} + 8}}}} | ! {{#if: {{{bnum6|}}}|{{{bnum9|}}}|{{padleft:|2|{{{bnum1|}}}}}PD{{#expr: {{#ifexpr: {{#len:{{{bnum1|}}}}} = 5|{{#sub:{{{bnum1|}}}|-1}}|{{#sub:{{{bnum1|}}}|-2}}}} + 8}}}} | ||
{{!}} '''[[Law:{{{bt9|}}}|{{{bt9|}}}]]''' | {{!}} '''[[Law:{{{bt9|}}}|{{{bt9|}}}]]''' | ||
{{!}} <center>{{#ifeq: {{{st9|}}}|pass|{{adopted}}|{{#ifeq: {{{st9|}}}|fail||'''Amends''' {{#ifeq: {{{a9|}}}|Lex|Lexhatx|{{#ifeq: {{{a9|}}}|Org|OrgLaw|Both|}}}}}}}}</center>|}} | {{!}} <center>{{#ifeq: {{{st9|}}}|pass|{{adopted}}|{{#ifeq: {{{st9|}}}|fail||'''Amends''' {{#ifeq: {{{a9|}}}|Lex|Lexhatx|{{#ifeq: {{{a9|}}}|Org|OrgLaw|Both|}}}}}}}}</center>|}} | ||
Line 63: | Line 53: | ||
! {{#if: {{{bnum10|}}}|{{{bnum10|}}}|{{padleft:|2|{{{bnum1|}}}}}PD{{#expr: {{#ifexpr: {{#len:{{{bnum1|}}}}} = 5|{{#sub:{{{bnum1|}}}|-1}}|{{#sub:{{{bnum1|}}}|-2}}}} + 9}}}} | ! {{#if: {{{bnum10|}}}|{{{bnum10|}}}|{{padleft:|2|{{{bnum1|}}}}}PD{{#expr: {{#ifexpr: {{#len:{{{bnum1|}}}}} = 5|{{#sub:{{{bnum1|}}}|-1}}|{{#sub:{{{bnum1|}}}|-2}}}} + 9}}}} | ||
{{!}} '''[[Law:{{{bt10|}}}|{{{bt10|}}}]]''' | {{!}} '''[[Law:{{{bt10|}}}|{{{bt10|}}}]]''' | ||
{{!}} <center>{{#ifeq: {{{st10|}}}|pass|{{adopted}}|{{#ifeq: {{{st10|}}}|fail||'''Amends''' {{#ifeq: {{{a10|}}}|Lex|Lexhatx|{{#ifeq: {{{a10|}}}|Org|OrgLaw|Both|}}}}}}}}</center>|}} | {{!}} <center>{{#ifeq: {{{st10|}}}|pass|{{adopted}}|{{#ifeq: {{{st10|}}}|fail||'''Amends''' {{#ifeq: {{{a10|}}}|Lex|Lexhatx|{{#ifeq: {{{a10|}}}|Org|OrgLaw|Both|}}}}}}}}</center>|}} | ||
Line 69: | Line 58: | ||
! {{#if: {{{bnum11|}}}|{{{bnum11|}}}|{{padleft:|2|{{{bnum1|}}}}}PD{{#expr: {{#ifexpr: {{#len:{{{bnum1|}}}}} = 5|{{#sub:{{{bnum1|}}}|-1}}|{{#sub:{{{bnum1|}}}|-2}}}} + 10}}}} | ! {{#if: {{{bnum11|}}}|{{{bnum11|}}}|{{padleft:|2|{{{bnum1|}}}}}PD{{#expr: {{#ifexpr: {{#len:{{{bnum1|}}}}} = 5|{{#sub:{{{bnum1|}}}|-1}}|{{#sub:{{{bnum1|}}}|-2}}}} + 10}}}} | ||
{{!}} '''[[Law:{{{bt11|}}}|{{{bt11|}}}]]''' | {{!}} '''[[Law:{{{bt11|}}}|{{{bt11|}}}]]''' | ||
{{!}} <center>{{#ifeq: {{{st11|}}}|pass|{{adopted}}|{{#ifeq: {{{st11|}}}|fail||'''Amends''' {{#ifeq: {{{a11|}}}|Lex|Lexhatx|{{#ifeq: {{{a11|}}}|Org|OrgLaw|Both|}}}}}}}}</center>|}} | {{!}} <center>{{#ifeq: {{{st11|}}}|pass|{{adopted}}|{{#ifeq: {{{st11|}}}|fail||'''Amends''' {{#ifeq: {{{a11|}}}|Lex|Lexhatx|{{#ifeq: {{{a11|}}}|Org|OrgLaw|Both|}}}}}}}}</center>|}} | ||
Line 75: | Line 63: | ||
! {{#if: {{{bnum12|}}}|{{{bnum12|}}}|{{padleft:|2|{{{bnum1|}}}}}PD{{#expr: {{#ifexpr: {{#len:{{{bnum1|}}}}} = 5|{{#sub:{{{bnum1|}}}|-1}}|{{#sub:{{{bnum1|}}}|-2}}}} + 11}}}} | ! {{#if: {{{bnum12|}}}|{{{bnum12|}}}|{{padleft:|2|{{{bnum1|}}}}}PD{{#expr: {{#ifexpr: {{#len:{{{bnum1|}}}}} = 5|{{#sub:{{{bnum1|}}}|-1}}|{{#sub:{{{bnum1|}}}|-2}}}} + 11}}}} | ||
{{!}} '''[[Law:{{{bt12|}}}|{{{bt12|}}}]]''' | {{!}} '''[[Law:{{{bt12|}}}|{{{bt12|}}}]]''' | ||
{{!}} <center>{{#ifeq: {{{st12|}}}|pass|{{adopted}}|{{#ifeq: {{{st12|}}}|fail||'''Amends''' {{#ifeq: {{{a12|}}}|Lex|Lexhatx|{{#ifeq: {{{a12|}}}|Org|OrgLaw|Both|}}}}}}}}</center>|}} | {{!}} <center>{{#ifeq: {{{st12|}}}|pass|{{adopted}}|{{#ifeq: {{{st12|}}}|fail||'''Amends''' {{#ifeq: {{{a12|}}}|Lex|Lexhatx|{{#ifeq: {{{a12|}}}|Org|OrgLaw|Both|}}}}}}}}</center>|}} | ||
Revision as of 13:47, 16 March 2023
Number | Title | Status |
---|---|---|
[[]] | [[Law:|]] |
Use
This template is used for easier input of data to the Digest of Laws page. It can be used for up to 12 PDs (can be adjusted upon request)
{{ClarkPD
|st1= Status of bill 1. This can be pass, fail, veto, or "eph" for ephemeral.
|bnum1= Number of bill 1. For example, 47RZ16.
|bt1= The title of bill 1.
|a1= What law the bill is amending. If the bill is ephemeral, this field should remain empty or not be included. Otherwise, Lex for El Lexhatx and Org for OrgLaw.
... This can be repeated for up to 12 bills, however, it is optional to include |bnum2 |bnum3 |bnum4 etc. as the template will automatically number the subsequent bills. If the bill is not an RZ, it is necessary to include the bill number. The template assumes that non-RZ bills will be the last to be listed on the Clark. Similarly, numbers are required if using the template to list Prime Dictates.
}}