Difference between pages "Template:Infobox US Supreme Court case" and "Template:Infobox US Supreme Court case/sandbox"

(Difference between pages)
Jump to navigation Jump to search
Page 1
Page 2
imported>Primefac
m (Primefac moved page Template:Infobox SCOTUS case to Template:Infobox US Supreme Court case: rename per TFD)
 
imported>Primefac
 
Line 20: Line 20:
  
 
| label4      = Citations
 
| label4      = Citations
| data4        = <includeonly>{{#if:{{{USVol|}}}|{{{USVol}}} [[United States Reports|U.S.]] {{#ifeq:{{{USPage}}}|___|___|{{#ifexpr: {{{USVol}}} > 564|{{{USPage}}}|[https://supreme.justia.com/us/{{{USVol}}}/{{{USPage}}}/case.html {{{USPage}}}] }} }} (''[[List of United States Supreme Court cases, volume {{{USVol}}}|more]]'')<div>{{{ParallelCitations|{{{Citation|}}}}}}</div>}}</includeonly>
+
| data4        = <includeonly>{{#ifeq:{{{ParallelCitations|{{{Citation|}}}}}}||{{#invoke:WikidataIB | getValue | rank=p n d |P1031 |sep="; " |qid={{{qid|}}} |fetchwikidata=ALL |name=legal_citation_of_this_text |onlysourced=false }}|{{#if:{{{USVol|}}}|{{{USVol}}} [[United States Reports|U.S.]] {{#ifeq:{{{USPage}}}|___|___|{{#ifexpr: {{{USVol}}} > 564|{{{USPage}}}|[https://supreme.justia.com/us/{{{USVol}}}/{{{USPage}}}/case.html {{{USPage}}}] }} }} (''[[List of United States Supreme Court cases, volume {{{USVol}}}|more]]'')<div>{{{ParallelCitations|{{{Citation|}}}}}}</div>}}}}</includeonly>
  
 
| label5      = Related cases
 
| label5      = Related cases
Line 136: Line 136:
 
| data60      = {{#if:{{{NotParticipating|}}}|{{{NotParticipating}}} took no part in the consideration or decision of the case.}}
 
| data60      = {{#if:{{{NotParticipating|}}}|{{{NotParticipating}}} took no part in the consideration or decision of the case.}}
  
| header61    = {{#if:{{{LawsApplied|}}}|Laws applied}}
+
| header61    = Laws applied
| data62      = {{{LawsApplied|}}}
+
| data62      = {{#ifeq:{{{ParallelCitations|{{{Citation|}}}}}}||{{#invoke:WikidataIB | getValue | rank=p n d |P3014 |sep="; " |qid={{{qid|}}} |fetchwikidata=ALL |name=laws_applied |onlysourced=false }}|{{{LawsApplied|}}}}}
  
 
| data63      = {{#if:{{{Superseded|}}}|<div style="background-color: red; color: white; font-weight: bold">Superseded by</div>}}
 
| data63      = {{#if:{{{Superseded|}}}|<div style="background-color: red; color: white; font-weight: bold">Superseded by</div>}}