Template:Judgment Metadata: Difference between revisions

From OpenJuris

testing with reservedon
missing </div> added back
 
(7 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly>
<includeonly>
<div class="case-metadata">
<div style="text-align:center; padding:0;">
<div style="text-align:center; padding:0;">
 
{{#if:{{{citation|}}}|'''{{{citation}}}'''<br />}}
{{#if:{{{citation|}}}|'''{{{citation}}}'''}}
{{#if:{{{court|}}}|'''[[:Category:Judgments of {{{court}}}|{{{court}}}]]'''<br />}}
 
{{#if:{{{jurisdiction|}}}|[[:Category:{{{jurisdiction}}}|{{{jurisdiction}}}]]<br />}}
{{#if:{{{court|}}}|'''[[:Category:Judgments of {{{court}}}|{{{court}}}]]'''}}
{{#if:{{{caseno|}}}|{{{caseno}}}<br />}}
 
{{#if:{{{coram|}}}|'''Coram:''' [[:Category:Judgments by {{{coram}}}|{{{coram}}}]]<br />}}
{{#if:{{{jurisdiction|}}}|[[:Category:{{{jurisdiction}}}|{{{jurisdiction}}}]]}}
{{#if:{{{reservedon|}}}|'''Reserved on:''' {{{reservedon}}}<br />}}
 
{{#if:{{{caseno|}}}|{{{caseno}}}}}
 
{{#if:{{{coram|}}}|'''Coram:''' [[:Category:Judgments by {{{coram}}}|{{{coram}}}]]}}
 
{{#if:{{#replace:{{{reservedon|}}}|\s+||}}|'''Reserved on:''' {{#replace:{{{reservedon|}}}|\s+| }}}
 
{{#if:{{{decisiondate|}}}|'''Decided on:''' [[:Category:Judgments in {{#time:F Y|{{{decisiondate}}}}}|{{{decisiondate}}}]]}}
{{#if:{{{decisiondate|}}}|'''Decided on:''' [[:Category:Judgments in {{#time:F Y|{{{decisiondate}}}}}|{{{decisiondate}}}]]}}
</div>
</div>
 
{{#if:{{{counsel|}}}|
{{#if:{{{petitioner|}}}{{{respondent|}}}{{{appellant|}}}{{{plaintiff|}}}{{{defendant|}}}{{{revisionist|}}}{{{oppositeparty|}}}{{{state|}}}{{{union|}}}{{{intervenor|}}}{{{impleaded|}}}{{{gp|}}}{{{splcounsel|}}}{{{amicus|}}}{{{pip|}}}|
<div class="case-counsel">
<div style="margin-top:0.75em;">
{{{counsel}}}
 
{{#if:{{{petitioner|}}}|'''For the Petitioner:'''<br />{{{petitioner}}}}}
{{#if:{{{respondent|}}}|'''For the Respondent:'''<br />{{{respondent}}}}}
{{#if:{{{appellant|}}}|'''For the Appellant:'''<br />{{{appellant}}}}}
{{#if:{{{plaintiff|}}}|'''For the Plaintiff:'''<br />{{{plaintiff}}}}}
{{#if:{{{defendant|}}}|'''For the Defendant:'''<br />{{{defendant}}}}}
{{#if:{{{revisionist|}}}|'''For the Revisionist:'''<br />{{{revisionist}}}}}
{{#if:{{{oppositeparty|}}}|'''For the Opposite Party:'''<br />{{{oppositeparty}}}}}
{{#if:{{{state|}}}|'''For the State:'''<br />{{{state}}}}}
{{#if:{{{union|}}}|'''For the Union of India:'''<br />{{{union}}}}}
{{#if:{{{intervenor|}}}|'''For the Intervenor:'''<br />{{{intervenor}}}}}
{{#if:{{{impleaded|}}}|'''For the Impleaded Party:'''<br />{{{impleaded}}}}}
{{#if:{{{gp|}}}|'''Government Pleader:'''<br />{{{gp}}}}}
{{#if:{{{splcounsel|}}}|'''Special Counsel:'''<br />{{{splcounsel}}}}}
{{#if:{{{amicus|}}}|'''Amicus Curiae:'''<br />{{{amicus}}}}}
{{#if:{{{pip|}}}|'''Party-in-Person:'''<br />{{{pip}}}}}
 
</div>
</div>
}}
}}
Line 48: Line 24:
}}
}}
{{#if:{{{jurisdiction|}}}|[[Category:{{{jurisdiction}}}]]}}
{{#if:{{{jurisdiction|}}}|[[Category:{{{jurisdiction}}}]]}}
 
</div>
</includeonly>
</includeonly>

Latest revision as of 04:30, 18 December 2025