Template:Judgment Metadata: Difference between revisions

From OpenJuris

more testing
noincluded documentation
 
(25 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>
</div>
}}
{{#if:{{{counsel|}}}|
 
<div class="case-counsel">
{{#if:{{{jurisdiction|}}}|
{{{counsel}}}
<div>
[[:Category:{{{jurisdiction}}}|{{{jurisdiction}}}]]
</div>
</div>
}}
}}


{{#if:{{{caseno|}}}|<div>{{{caseno}}}</div>}}
<!-- categories unchanged -->
 
{{#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>
}}
 
|}
 
{{#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}}}<br />}}
{{#if:{{{respondent|}}}|'''For the Respondent:'''<br />{{{respondent}}}<br />}}
{{#if:{{{appellant|}}}|'''For the Appellant:'''<br />{{{appellant}}}<br />}}
{{#if:{{{plaintiff|}}}|'''For the Plaintiff:'''<br />{{{plaintiff}}}<br />}}
{{#if:{{{defendant|}}}|'''For the Defendant:'''<br />{{{defendant}}}<br />}}
{{#if:{{{revisionist|}}}|'''For the Revisionist:'''<br />{{{revisionist}}}<br />}}
{{#if:{{{oppositeparty|}}}|'''For the Opposite Party:'''<br />{{{oppositeparty}}}<br />}}
{{#if:{{{state|}}}|'''For the State:'''<br />{{{state}}}<br />}}
{{#if:{{{union|}}}|'''For the Union of India:'''<br />{{{union}}}<br />}}
{{#if:{{{intervenor|}}}|'''For the Intervenor:'''<br />{{{intervenor}}}<br />}}
{{#if:{{{impleaded|}}}|'''For the Impleaded Party:'''<br />{{{impleaded}}}<br />}}
{{#if:{{{gp|}}}|'''Government Pleader:'''<br />{{{gp}}}<br />}}
{{#if:{{{splcounsel|}}}|'''Special Counsel:'''<br />{{{splcounsel}}}<br />}}
{{#if:{{{amicus|}}}|'''Amicus Curiae:'''<br />{{{amicus}}}<br />}}
{{#if:{{{pip|}}}|'''Party-in-Person:'''<br />{{{pip}}}<br />}}
 
</div>
}}
 
<!-- ===================== -->
<!-- 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>
<noinclude>
{{Documentation}}
</noinclude>

Latest revision as of 01:28, 19 December 2025