Template:ClarkPD: Difference between revisions

From TalossaWiki
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 25: Line 25:


|-{{#if: {{{st4|}}}| bgcolor="#{{#ifeq: {{{st4|}}}|pass|d5fdf4|{{#ifeq: {{{st4|}}}|fail|fee7e6|{{#ifeq: {{{st4|}}}|eph|fef6e7|{{#ifeq: {{{st4|}}}|veto|A4A4A4|FFFFFF}}}}}}}}"
|-{{#if: {{{st4|}}}| bgcolor="#{{#ifeq: {{{st4|}}}|pass|d5fdf4|{{#ifeq: {{{st4|}}}|fail|fee7e6|{{#ifeq: {{{st4|}}}|eph|fef6e7|{{#ifeq: {{{st4|}}}|veto|A4A4A4|FFFFFF}}}}}}}}"
! {{#if: {{{bnum4|}}}|{{{bnum4|}}}|{{padleft:|2|{{{bnum1|}}}}}PD{{#expr: {{#ifexpr: {{#len:{{{bnum1|}}}}} = 5|{{#sub:{{{bnum1|}}}|-1}}|{{#sub:{{{bnum1|}}}|-2}}}} + 1}}}}
! {{#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|[[File:Passed.png|30px]]<br>{{passed}}|{{#ifeq: {{{st4|}}}|fail|[[File:Pictogram_no.png|30px]]<br>{{failed}}|{{#ifeq: {{{st4|}}}|eph|[[File:Passed.png|30px]]<br>{{passed}}|{{#ifeq: {{{st4|}}}|veto|[[File:Vetoed.png|30px]]<br>{{vetoed}}|}}}}}}}}</center>
{{!}} <center>{{#ifeq: {{{st4|}}}|pass|[[File:Passed.png|30px]]<br>{{passed}}|{{#ifeq: {{{st4|}}}|fail|[[File:Pictogram_no.png|30px]]<br>{{failed}}|{{#ifeq: {{{st4|}}}|eph|[[File:Passed.png|30px]]<br>{{passed}}|{{#ifeq: {{{st4|}}}|veto|[[File:Vetoed.png|30px]]<br>{{vetoed}}|}}}}}}}}</center>
Line 31: Line 31:


|-{{#if: {{{st5|}}}| bgcolor="#{{#ifeq: {{{st5|}}}|pass|d5fdf4|{{#ifeq: {{{st5|}}}|fail|fee7e6|{{#ifeq: {{{st5|}}}|eph|fef6e7|{{#ifeq: {{{st5|}}}|veto|A4A4A4|FFFFFF}}}}}}}}"
|-{{#if: {{{st5|}}}| bgcolor="#{{#ifeq: {{{st5|}}}|pass|d5fdf4|{{#ifeq: {{{st5|}}}|fail|fee7e6|{{#ifeq: {{{st5|}}}|eph|fef6e7|{{#ifeq: {{{st5|}}}|veto|A4A4A4|FFFFFF}}}}}}}}"
! {{#if: {{{bnum5|}}}|{{{bnum5|}}}|{{padleft:|2|{{{bnum1|}}}}}PD{{#expr: {{#ifexpr: {{#len:{{{bnum1|}}}}} = 5|{{#sub:{{{bnum1|}}}|-1}}|{{#sub:{{{bnum1|}}}|-2}}}} + 1}}}}
! {{#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|[[File:Passed.png|30px]]<br>{{passed}}|{{#ifeq: {{{st5|}}}|fail|[[File:Pictogram_no.png|30px]]<br>{{failed}}|{{#ifeq: {{{st5|}}}|eph|[[File:Passed.png|30px]]<br>{{passed}}|{{#ifeq: {{{st5|}}}|veto|[[File:Vetoed.png|30px]]<br>{{vetoed}}|}}}}}}}}</center>
{{!}} <center>{{#ifeq: {{{st5|}}}|pass|[[File:Passed.png|30px]]<br>{{passed}}|{{#ifeq: {{{st5|}}}|fail|[[File:Pictogram_no.png|30px]]<br>{{failed}}|{{#ifeq: {{{st5|}}}|eph|[[File:Passed.png|30px]]<br>{{passed}}|{{#ifeq: {{{st5|}}}|veto|[[File:Vetoed.png|30px]]<br>{{vetoed}}|}}}}}}}}</center>
Line 37: Line 37:


|-{{#if: {{{st6|}}}| bgcolor="#{{#ifeq: {{{st6|}}}|pass|d5fdf4|{{#ifeq: {{{st6|}}}|fail|fee7e6|{{#ifeq: {{{st6|}}}|eph|fef6e7|{{#ifeq: {{{st6|}}}|veto|A4A4A4|FFFFFF}}}}}}}}"
|-{{#if: {{{st6|}}}| bgcolor="#{{#ifeq: {{{st6|}}}|pass|d5fdf4|{{#ifeq: {{{st6|}}}|fail|fee7e6|{{#ifeq: {{{st6|}}}|eph|fef6e7|{{#ifeq: {{{st6|}}}|veto|A4A4A4|FFFFFF}}}}}}}}"
! {{#if: {{{bnum6|}}}|{{{bnum6|}}}|{{padleft:|2|{{{bnum1|}}}}}PD{{#expr: {{#ifexpr: {{#len:{{{bnum1|}}}}} = 5|{{#sub:{{{bnum1|}}}|-1}}|{{#sub:{{{bnum1|}}}|-2}}}} + 1}}}}
! {{#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|[[File:Passed.png|30px]]<br>{{passed}}|{{#ifeq: {{{st6|}}}|fail|[[File:Pictogram_no.png|30px]]<br>{{failed}}|{{#ifeq: {{{st6|}}}|eph|[[File:Passed.png|30px]]<br>{{passed}}|{{#ifeq: {{{st6|}}}|veto|[[File:Vetoed.png|30px]]<br>{{vetoed}}|}}}}}}}}</center>
{{!}} <center>{{#ifeq: {{{st6|}}}|pass|[[File:Passed.png|30px]]<br>{{passed}}|{{#ifeq: {{{st6|}}}|fail|[[File:Pictogram_no.png|30px]]<br>{{failed}}|{{#ifeq: {{{st6|}}}|eph|[[File:Passed.png|30px]]<br>{{passed}}|{{#ifeq: {{{st6|}}}|veto|[[File:Vetoed.png|30px]]<br>{{vetoed}}|}}}}}}}}</center>
Line 43: Line 43:


|-{{#if: {{{st7|}}}| bgcolor="#{{#ifeq: {{{st7|}}}|pass|d5fdf4|{{#ifeq: {{{st7|}}}|fail|fee7e6|{{#ifeq: {{{st7|}}}|eph|fef6e7|{{#ifeq: {{{st7|}}}|veto|A4A4A4|FFFFFF}}}}}}}}"
|-{{#if: {{{st7|}}}| bgcolor="#{{#ifeq: {{{st7|}}}|pass|d5fdf4|{{#ifeq: {{{st7|}}}|fail|fee7e6|{{#ifeq: {{{st7|}}}|eph|fef6e7|{{#ifeq: {{{st7|}}}|veto|A4A4A4|FFFFFF}}}}}}}}"
! {{#if: {{{bnum7|}}}|{{{bnum7|}}}|{{padleft:|2|{{{bnum1|}}}}}PD{{#expr: {{#ifexpr: {{#len:{{{bnum1|}}}}} = 5|{{#sub:{{{bnum1|}}}|-1}}|{{#sub:{{{bnum1|}}}|-2}}}} + 1}}}}
! {{#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|}}}]]'''
{{!}} {{#if: {{{cpb7|}}}|Per: <span style="color:#006400"><b>{{{cpb7|}}}</b></span><br>Con: <span style="color:#B22222"><b>{{{ccb7|}}}</b></span><br>Aus: <span style="color:#B8860B"><b>{{{cab7|}}}</b></span>{{{cab7|}}}.|}}
{{!}} {{#if: {{{cpb7|}}}|Per: <span style="color:#006400"><b>{{{cpb7|}}}</b></span><br>Con: <span style="color:#B22222"><b>{{{ccb7|}}}</b></span><br>Aus: <span style="color:#B8860B"><b>{{{cab7|}}}</b></span>{{{cab7|}}}.|}}
Line 51: Line 51:


|-{{#if: {{{st8|}}}| bgcolor="#{{#ifeq: {{{st8|}}}|pass|d5fdf4|{{#ifeq: {{{st8|}}}|fail|fee7e6|{{#ifeq: {{{st8|}}}|eph|fef6e7|{{#ifeq: {{{st8|}}}|veto|A4A4A4|FFFFFF}}}}}}}}"
|-{{#if: {{{st8|}}}| bgcolor="#{{#ifeq: {{{st8|}}}|pass|d5fdf4|{{#ifeq: {{{st8|}}}|fail|fee7e6|{{#ifeq: {{{st8|}}}|eph|fef6e7|{{#ifeq: {{{st8|}}}|veto|A4A4A4|FFFFFF}}}}}}}}"
! {{#if: {{{bnum8|}}}|{{{bnum8|}}}|{{padleft:|2|{{{bnum1|}}}}}PD{{#expr: {{#ifexpr: {{#len:{{{bnum1|}}}}} = 5|{{#sub:{{{bnum1|}}}|-1}}|{{#sub:{{{bnum1|}}}|-2}}}} + 1}}}}
! {{#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|}}}]]'''
{{!}} {{#if: {{{cpb8|}}}|Per: <span style="color:#006400"><b>{{{cpb8|}}}</b></span><br>Con: <span style="color:#B22222"><b>{{{ccb8|}}}</b></span><br>Aus: <span style="color:#B8860B"><b>{{{cab8|}}}</b></span>{{{cab8|}}}.|}}
{{!}} {{#if: {{{cpb8|}}}|Per: <span style="color:#006400"><b>{{{cpb8|}}}</b></span><br>Con: <span style="color:#B22222"><b>{{{ccb8|}}}</b></span><br>Aus: <span style="color:#B8860B"><b>{{{cab8|}}}</b></span>{{{cab8|}}}.|}}
Line 59: Line 59:


|-{{#if: {{{st9|}}}| bgcolor="#{{#ifeq: {{{st9|}}}|pass|d5fdf4|{{#ifeq: {{{st9|}}}|fail|fee7e6|{{#ifeq: {{{st9|}}}|eph|fef6e7|{{#ifeq: {{{st9|}}}|veto|A4A4A4|FFFFFF}}}}}}}}"
|-{{#if: {{{st9|}}}| bgcolor="#{{#ifeq: {{{st9|}}}|pass|d5fdf4|{{#ifeq: {{{st9|}}}|fail|fee7e6|{{#ifeq: {{{st9|}}}|eph|fef6e7|{{#ifeq: {{{st9|}}}|veto|A4A4A4|FFFFFF}}}}}}}}"
! {{#if: {{{bnum6|}}}|{{{bnum9|}}}|{{padleft:|2|{{{bnum1|}}}}}PD{{#expr: {{#ifexpr: {{#len:{{{bnum1|}}}}} = 5|{{#sub:{{{bnum1|}}}|-1}}|{{#sub:{{{bnum1|}}}|-2}}}} + 1}}}}
! {{#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|}}}]]'''
{{!}} {{#if: {{{cpb9|}}}|Per: <span style="color:#006400"><b>{{{cpb9|}}}</b></span><br>Con: <span style="color:#B22222"><b>{{{ccb9|}}}</b></span><br>Aus: <span style="color:#B8860B"><b>{{{cab9|}}}</b></span>{{{cab9|}}}.|}}
{{!}} {{#if: {{{cpb9|}}}|Per: <span style="color:#006400"><b>{{{cpb9|}}}</b></span><br>Con: <span style="color:#B22222"><b>{{{ccb9|}}}</b></span><br>Aus: <span style="color:#B8860B"><b>{{{cab9|}}}</b></span>{{{cab9|}}}.|}}
Line 67: Line 67:


|-{{#if: {{{st10|}}}| bgcolor="#{{#ifeq: {{{st10|}}}|pass|d5fdf4|{{#ifeq: {{{st10|}}}|fail|fee7e6|{{#ifeq: {{{st10|}}}|eph|fef6e7|{{#ifeq: {{{st10|}}}|veto|A4A4A4|FFFFFF}}}}}}}}"
|-{{#if: {{{st10|}}}| bgcolor="#{{#ifeq: {{{st10|}}}|pass|d5fdf4|{{#ifeq: {{{st10|}}}|fail|fee7e6|{{#ifeq: {{{st10|}}}|eph|fef6e7|{{#ifeq: {{{st10|}}}|veto|A4A4A4|FFFFFF}}}}}}}}"
! {{#if: {{{bnum10|}}}|{{{bnum10|}}}|{{padleft:|2|{{{bnum1|}}}}}PD{{#expr: {{#ifexpr: {{#len:{{{bnum1|}}}}} = 5|{{#sub:{{{bnum1|}}}|-1}}|{{#sub:{{{bnum1|}}}|-2}}}} + 1}}}}
! {{#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|}}}]]'''
{{!}} {{#if: {{{cpb10|}}}|Per: <span style="color:#006400"><b>{{{cpb10|}}}</b></span><br>Con: <span style="color:#B22222"><b>{{{ccb10|}}}</b></span><br>Aus: <span style="color:#B8860B"><b>{{{cab10|}}}</b></span>{{{cab10|}}}.|}}
{{!}} {{#if: {{{cpb10|}}}|Per: <span style="color:#006400"><b>{{{cpb10|}}}</b></span><br>Con: <span style="color:#B22222"><b>{{{ccb10|}}}</b></span><br>Aus: <span style="color:#B8860B"><b>{{{cab10|}}}</b></span>{{{cab10|}}}.|}}
Line 75: Line 75:


|-{{#if: {{{st11|}}}| bgcolor="#{{#ifeq: {{{st11|}}}|pass|d5fdf4|{{#ifeq: {{{st11|}}}|fail|fee7e6|{{#ifeq: {{{st11|}}}|eph|fef6e7|{{#ifeq: {{{st11|}}}|veto|A4A4A4|FFFFFF}}}}}}}}"
|-{{#if: {{{st11|}}}| bgcolor="#{{#ifeq: {{{st11|}}}|pass|d5fdf4|{{#ifeq: {{{st11|}}}|fail|fee7e6|{{#ifeq: {{{st11|}}}|eph|fef6e7|{{#ifeq: {{{st11|}}}|veto|A4A4A4|FFFFFF}}}}}}}}"
! {{#if: {{{bnum11|}}}|{{{bnum11|}}}|{{padleft:|2|{{{bnum1|}}}}}PD{{#expr: {{#ifexpr: {{#len:{{{bnum1|}}}}} = 5|{{#sub:{{{bnum1|}}}|-1}}|{{#sub:{{{bnum1|}}}|-2}}}} + 1}}}}
! {{#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|}}}]]'''
{{!}} {{#if: {{{cpb11|}}}|Per: <span style="color:#006400"><b>{{{cpb11|}}}</b></span><br>Con: <span style="color:#B22222"><b>{{{ccb11|}}}</b></span><br>Aus: <span style="color:#B8860B"><b>{{{cab11|}}}</b></span>{{{cab11|}}}.|}}
{{!}} {{#if: {{{cpb11|}}}|Per: <span style="color:#006400"><b>{{{cpb11|}}}</b></span><br>Con: <span style="color:#B22222"><b>{{{ccb11|}}}</b></span><br>Aus: <span style="color:#B8860B"><b>{{{cab11|}}}</b></span>{{{cab11|}}}.|}}
Line 83: Line 83:


|-{{#if: {{{st12|}}}| bgcolor="#{{#ifeq: {{{st12|}}}|pass|d5fdf4|{{#ifeq: {{{st12|}}}|fail|fee7e6|{{#ifeq: {{{st12|}}}|eph|fef6e7|{{#ifeq: {{{st12|}}}|veto|A4A4A4|FFFFFF}}}}}}}}"
|-{{#if: {{{st12|}}}| bgcolor="#{{#ifeq: {{{st12|}}}|pass|d5fdf4|{{#ifeq: {{{st12|}}}|fail|fee7e6|{{#ifeq: {{{st12|}}}|eph|fef6e7|{{#ifeq: {{{st12|}}}|veto|A4A4A4|FFFFFF}}}}}}}}"
! {{#if: {{{bnum12|}}}|{{{bnum12|}}}|{{padleft:|2|{{{bnum1|}}}}}PD{{#expr: {{#ifexpr: {{#len:{{{bnum1|}}}}} = 5|{{#sub:{{{bnum1|}}}|-1}}|{{#sub:{{{bnum1|}}}|-2}}}} + 1}}}}
! {{#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|}}}]]'''
{{!}} {{#if: {{{cpb12|}}}|Per: <span style="color:#006400"><b>{{{cpb12|}}}</b></span><br>Con: <span style="color:#B22222"><b>{{{ccb12|}}}</b></span><br>Aus: <span style="color:#B8860B"><b>{{{cab12|}}}</b></span>{{{cab12|}}}.|}}
{{!}} {{#if: {{{cpb12|}}}|Per: <span style="color:#006400"><b>{{{cpb12|}}}</b></span><br>Con: <span style="color:#B22222"><b>{{{ccb12|}}}</b></span><br>Aus: <span style="color:#B8860B"><b>{{{cab12|}}}</b></span>{{{cab12|}}}.|}}

Revision as of 13:43, 16 March 2023

Number Title Status
[[]] [[Law:|]]
Amends Both

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


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.