Template:ClarkPD: Difference between revisions
mNo edit summary |
mNo edit summary |
||
Line 45: | Line 45: | ||
! {{#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|[[File:Passed.png|30px]]<br>{{passed}}|{{#ifeq: {{{st7|}}}|fail|[[File:Pictogram_no.png|30px]]<br>{{failed}}|{{#ifeq: {{{st7|}}}|eph|[[File:Passed.png|30px]]<br>{{passed}}|{{#ifeq: {{{st7|}}}|veto|[[File:Vetoed.png|30px]]<br>{{vetoed}}|}}}}}}}}</center> | {{!}} <center>{{#ifeq: {{{st7|}}}|pass|[[File:Passed.png|30px]]<br>{{passed}}|{{#ifeq: {{{st7|}}}|fail|[[File:Pictogram_no.png|30px]]<br>{{failed}}|{{#ifeq: {{{st7|}}}|eph|[[File:Passed.png|30px]]<br>{{passed}}|{{#ifeq: {{{st7|}}}|veto|[[File:Vetoed.png|30px]]<br>{{vetoed}}|}}}}}}}}</center> | ||
{{!}} <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 53: | Line 51: | ||
! {{#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|[[File:Passed.png|30px]]<br>{{passed}}|{{#ifeq: {{{st8|}}}|fail|[[File:Pictogram_no.png|30px]]<br>{{failed}}|{{#ifeq: {{{st8|}}}|eph|[[File:Passed.png|30px]]<br>{{passed}}|{{#ifeq: {{{st8|}}}|veto|[[File:Vetoed.png|30px]]<br>{{vetoed}}|}}}}}}}}</center> | {{!}} <center>{{#ifeq: {{{st8|}}}|pass|[[File:Passed.png|30px]]<br>{{passed}}|{{#ifeq: {{{st8|}}}|fail|[[File:Pictogram_no.png|30px]]<br>{{failed}}|{{#ifeq: {{{st8|}}}|eph|[[File:Passed.png|30px]]<br>{{passed}}|{{#ifeq: {{{st8|}}}|veto|[[File:Vetoed.png|30px]]<br>{{vetoed}}|}}}}}}}}</center> | ||
{{!}} <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 61: | Line 57: | ||
! {{#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|[[File:Passed.png|30px]]<br>{{passed}}|{{#ifeq: {{{st9|}}}|fail|[[File:Pictogram_no.png|30px]]<br>{{failed}}|{{#ifeq: {{{st9|}}}|eph|[[File:Passed.png|30px]]<br>{{passed}}|{{#ifeq: {{{st9|}}}|veto|[[File:Vetoed.png|30px]]<br>{{vetoed}}|}}}}}}}}</center> | {{!}} <center>{{#ifeq: {{{st9|}}}|pass|[[File:Passed.png|30px]]<br>{{passed}}|{{#ifeq: {{{st9|}}}|fail|[[File:Pictogram_no.png|30px]]<br>{{failed}}|{{#ifeq: {{{st9|}}}|eph|[[File:Passed.png|30px]]<br>{{passed}}|{{#ifeq: {{{st9|}}}|veto|[[File:Vetoed.png|30px]]<br>{{vetoed}}|}}}}}}}}</center> | ||
{{!}} <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 69: | Line 63: | ||
! {{#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|[[File:Passed.png|30px]]<br>{{passed}}|{{#ifeq: {{{st10|}}}|fail|[[File:Pictogram_no.png|30px]]<br>{{failed}}|{{#ifeq: {{{st10|}}}|eph|[[File:Passed.png|30px]]<br>{{passed}}|{{#ifeq: {{{st10|}}}|veto|[[File:Vetoed.png|30px]]<br>{{vetoed}}|}}}}}}}}</center> | {{!}} <center>{{#ifeq: {{{st10|}}}|pass|[[File:Passed.png|30px]]<br>{{passed}}|{{#ifeq: {{{st10|}}}|fail|[[File:Pictogram_no.png|30px]]<br>{{failed}}|{{#ifeq: {{{st10|}}}|eph|[[File:Passed.png|30px]]<br>{{passed}}|{{#ifeq: {{{st10|}}}|veto|[[File:Vetoed.png|30px]]<br>{{vetoed}}|}}}}}}}}</center> | ||
{{!}} <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 77: | Line 69: | ||
! {{#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|[[File:Passed.png|30px]]<br>{{passed}}|{{#ifeq: {{{st11|}}}|fail|[[File:Pictogram_no.png|30px]]<br>{{failed}}|{{#ifeq: {{{st11|}}}|eph|[[File:Passed.png|30px]]<br>{{passed}}|{{#ifeq: {{{st11|}}}|veto|[[File:Vetoed.png|30px]]<br>{{vetoed}}|}}}}}}}}</center> | {{!}} <center>{{#ifeq: {{{st11|}}}|pass|[[File:Passed.png|30px]]<br>{{passed}}|{{#ifeq: {{{st11|}}}|fail|[[File:Pictogram_no.png|30px]]<br>{{failed}}|{{#ifeq: {{{st11|}}}|eph|[[File:Passed.png|30px]]<br>{{passed}}|{{#ifeq: {{{st11|}}}|veto|[[File:Vetoed.png|30px]]<br>{{vetoed}}|}}}}}}}}</center> | ||
{{!}} <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 85: | Line 75: | ||
! {{#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|[[File:Passed.png|30px]]<br>{{passed}}|{{#ifeq: {{{st12|}}}|fail|[[File:Pictogram_no.png|30px]]<br>{{failed}}|{{#ifeq: {{{st12|}}}|eph|[[File:Passed.png|30px]]<br>{{passed}}|{{#ifeq: {{{st12|}}}|veto|[[File:Vetoed.png|30px]]<br>{{vetoed}}|}}}}}}}}</center> | {{!}} <center>{{#ifeq: {{{st12|}}}|pass|[[File:Passed.png|30px]]<br>{{passed}}|{{#ifeq: {{{st12|}}}|fail|[[File:Pictogram_no.png|30px]]<br>{{failed}}|{{#ifeq: {{{st12|}}}|eph|[[File:Passed.png|30px]]<br>{{passed}}|{{#ifeq: {{{st12|}}}|veto|[[File:Vetoed.png|30px]]<br>{{vetoed}}|}}}}}}}}</center> | ||
{{!}} <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:45, 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.
}}