Template:Judgment Metadata: Difference between revisions

From OpenJuris

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


<!-- ===================== -->
<!-- categories unchanged -->
<!-- AUTOMATIC CATEGORIES -->
<!-- ===================== -->
 
{{#if:{{{court|}}}|[[Category:Judgments of {{{court}}}]]}}
{{#if:{{{court|}}}|[[Category:Judgments of {{{court}}}]]}}
{{#if:{{{coram|}}}|[[Category:Judgments by {{{coram}}}]]}}
{{#if:{{{coram|}}}|[[Category:Judgments by {{{coram}}}]]}}
{{#if:{{{decisiondate|}}}|
{{#if:{{{decisiondate|}}}|
[[Category:Judgments in {{#time:Y|{{{decisiondate}}}}}]]
[[Category:Judgments in {{#time:Y|{{{decisiondate}}}}}]]
[[Category:Judgments in {{#time:F Y|{{{decisiondate}}}}}]]
[[Category:Judgments in {{#time:F Y|{{{decisiondate}}}}}]]
}}
}}
{{#if:{{{jurisdiction|}}}|[[Category:{{{jurisdiction}}}]]}}
{{#if:{{{jurisdiction|}}}|[[Category:{{{jurisdiction}}}]]}}
 
</div>
</includeonly>
</includeonly>

Latest revision as of 04:30, 18 December 2025