Template:ClarkPD: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
mNo edit summary |
||
Line 15: | Line 15: | ||
{{!}} <center>{{#ifeq: {{{st2|}}}|pass|[[File:Passed.png|20px]] {{adopted}}|{{#ifeq: {{{st2|}}}|fail||{{#ifeq: {{{st2|}}}|budget|[[File:Budget.png|20px]] {{budget}}|{{#ifeq: {{{st2|}}}|repealed|[[File:Repealed.png|20px]] {{repealed}}|{{#ifeq: {{{st2|}}}|missing|[[File:Pictogram attn.png|20px]]<span style="color:#B22222">'''MISSING COUNTERSIGNATURE'''</span>|<span style="color:#B8860B">[[File:Amends.png|20px]] '''AMENDS'''</span> Lexhatx}}}}}}}}}}</center>|}} | {{!}} <center>{{#ifeq: {{{st2|}}}|pass|[[File:Passed.png|20px]] {{adopted}}|{{#ifeq: {{{st2|}}}|fail||{{#ifeq: {{{st2|}}}|budget|[[File:Budget.png|20px]] {{budget}}|{{#ifeq: {{{st2|}}}|repealed|[[File:Repealed.png|20px]] {{repealed}}|{{#ifeq: {{{st2|}}}|missing|[[File:Pictogram attn.png|20px]]<span style="color:#B22222">'''MISSING COUNTERSIGNATURE'''</span>|<span style="color:#B8860B">[[File:Amends.png|20px]] '''AMENDS'''</span> Lexhatx}}}}}}}}}}</center>|}} | ||
|-{{#if: {{{st3|}}}| bgcolor="#{{#ifeq: {{{st3|}}}|pass|d5fdf4|{{#ifeq: {{{st3|}}}|fail|fee7e6|{{#ifeq: {{{st3|}}}|eph|fef6e7|{{#ifeq: {{{st3|}}}|veto|A4A4A4|{{#ifeq: {{{st3|}}}|budget|e6e6fa|{{#ifeq: {{{st3|}}}|repealed|ffdead|{{#ifeq: {{{st3}}}|missing|FA8072|FFFFFF}}}}}}}}}}}}}}" | |-{{#if: {{{st3|}}}| bgcolor="#{{#ifeq: {{{st3|}}}|pass|d5fdf4|{{#ifeq: {{{st3|}}}|fail|fee7e6|{{#ifeq: {{{st3|}}}|eph|fef6e7|{{#ifeq: {{{st3|}}}|veto|A4A4A4|{{#ifeq: {{{st3|}}}|budget|e6e6fa|{{#ifeq: {{{st3|}}}|repealed|ffdead|{{#ifeq: {{{st3|}}}|missing|FA8072|FFFFFF}}}}}}}}}}}}}}" | ||
! {{#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|}}}]]''' |
Revision as of 12:15, 20 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,"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 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.
}}