Template:ClarkPD: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
mNo edit summary |
||
Line 18: | 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:{{#if: {{{bnum3|}}}|{{{bnum3|}}}|{{padleft:|2|{{{bnum1|}}}}}PD{{#expr: {{#ifexpr: {{#len:{{{bnum1|}}}}} = 5|{{#sub:{{{bnum1|}}}|-1}}|{{#sub:{{{bnum1|}}}|-2}}}} + 2}}}} {{{bt3|}}}|{{{bt3|}}}]]''' | {{!}} '''[[Law:{{#if: {{{bnum3|}}}|{{{bnum3|}}}|{{padleft:|2|{{{bnum1|}}}}}PD{{#expr: {{#ifexpr: {{#len:{{{bnum1|}}}}} = 5|{{#sub:{{{bnum1|}}}|-1}}|{{#sub:{{{bnum1|}}}|-2}}}} + 2}}}} {{{bt3|}}}|{{{bt3|}}}]]''' | ||
{{!}} <center>{{#ifeq: {{{st3|}}}|pass|[[File:Passed.png|20px]] {{adopted}}|{{#ifeq: {{{st3|}}}|fail||{{#ifeq: {{{st3|}}}|budget|[[File:Budget.png|20px]] {{budget}}|{{#ifeq: {{{st3|}}}|repealed|[[File:Repealed.png|20px]] {{repealed}}|{{#ifeq: {{{st3|}}}|missing|[[File:Pictogram attn.png|20px]]<span style="color:#B22222">''' | {{!}} <center>{{#ifeq: {{{st3|}}}|pass|[[File:Passed.png|20px]] {{adopted}}|{{#ifeq: {{{st3|}}}|fail||{{#ifeq: {{{st3|}}}|budget|[[File:Budget.png|20px]] {{budget}}|{{#ifeq: {{{st3|}}}|repealed|[[File:Repealed.png|20px]] {{repealed}}|{{#ifeq: {{{st3|}}}|missing|[[File:Pictogram attn.png|20px]]<span style="color:#B22222">'''Missing countersignature'''</span>|{{#ifeq: {{{st3|}}}|veto|[[File:Vetoed.png|20px]] {{vetoed}}|<span style="color:#B8860B">[[File:Amends.png|20px]] '''AMENDS'''</span> Lexhatx}}}}}}}}}}}}</center>|}} | ||
|-{{#if: {{{st4|}}}| bgcolor="#{{#ifeq: {{{st4|}}}|pass|d5fdf4|{{#ifeq: {{{st4|}}}|fail|fee7e6|{{#ifeq: {{{st4|}}}|eph|fef6e7|{{#ifeq: {{{st4|}}}|veto|A4A4A4|{{#ifeq: {{{st4|}}}|budget|e6e6fa|{{#ifeq: {{{st4|}}}|repealed|ffdead|{{#ifeq: {{{st4|}}}|missing|FA8072|FFFFFF}}}}}}}}}}}}}}" | |-{{#if: {{{st4|}}}| bgcolor="#{{#ifeq: {{{st4|}}}|pass|d5fdf4|{{#ifeq: {{{st4|}}}|fail|fee7e6|{{#ifeq: {{{st4|}}}|eph|fef6e7|{{#ifeq: {{{st4|}}}|veto|A4A4A4|{{#ifeq: {{{st4|}}}|budget|e6e6fa|{{#ifeq: {{{st4|}}}|repealed|ffdead|{{#ifeq: {{{st4|}}}|missing|FA8072|FFFFFF}}}}}}}}}}}}}}" |
Revision as of 00:51, 23 April 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,"eph" for amending Lexh, budget, repealed
|bnum1= Number of bill 1. For example, 47RZ16.
|bt1= The title of bill 1.
... This can be repeated for up to 12 PDs, however, it is optional to include |bnum2 |bnum3 |bnum4 etc. as the template will automatically number the subsequent PDs.
}}