Template:ClarkPD: Difference between revisions

From TalossaWiki
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
 
(One intermediate revision by the same user not shown)
Line 3: Line 3:
! width="10%" |Number
! width="10%" |Number
! width="*" |Title
! width="*" |Title
! width="25%" |Status
! width="30%" |Status


|- bgcolor="#{{#ifeq: {{{st1|}}}|pass|d5fdf4|{{#ifeq: {{{st1|}}}|fail|fee7e6|{{#ifeq: {{{st1|}}}|eph|fef6e7|{{#ifeq: {{{st1|}}}|veto|A4A4A4|{{#ifeq: {{{st1|}}}|budget|e6e6fa|{{#ifeq: {{{st1|}}}|repealed|ffdead|{{#ifeq: {{{st1|}}}|missing|FA8072|FFFFFF}}}}}}}}}}}}}}"
|- bgcolor="#{{#ifeq: {{{st1|}}}|pass|d5fdf4|{{#ifeq: {{{st1|}}}|fail|fee7e6|{{#ifeq: {{{st1|}}}|eph|fef6e7|{{#ifeq: {{{st1|}}}|veto|A4A4A4|{{#ifeq: {{{st1|}}}|budget|e6e6fa|{{#ifeq: {{{st1|}}}|repealed|ffdead|{{#ifeq: {{{st1|}}}|missing|FA8072|FFFFFF}}}}}}}}}}}}}}"
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">'''MISSING COUNTERSIGNATURE'''</span>|{{#ifeq: {{{st3|}}}|veto|[[File:Vetoed.png|20px]] {{vetoed}}|<span style="color:#B8860B">[[File:Amends.png|20px]] '''AMENDS'''</span> Lexhatx}}}}}}}}}}}}</center>|}}
{{!}} <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}}}}}}}}}}}}}}"

Latest revision as of 09:40, 23 April 2023

Number Title Status
[[]] [[Law: |]]
Amends.png AMENDS Lexhatx

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.
}}


ScriberyBadge.png This page is maintained under authority of the Scribery of Abbavilla.
Această páxhină isch sub l'auþorità dal Scriuerïă d'Abbavilla.