Difference between revisions of "Template:Case Law"

From Creative Commons
Jump to: navigation, search
m (Tag typo)
 
(4 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 
<noinclude>
 
<noinclude>
 
This is the 'Case Law' template. Edit the page to see the template text.
 
This is the 'Case Law' template. Edit the page to see the template text.
</noinclude><includeonly><div style="overflow-y:auto;display:block;"><div style="float:right;padding:15px;padding-bottom:0px;background-color:#f4f4f4;margin-bottom:10px;margin-left:20px;display:inline-block;width:33%">'''[[Property:In country or region|Country/Region]]'''<br />
+
</noinclude>
{{#if: {{{region|}}}|{{#set:In country or region={{{region|}}}}}{{#ifexist:{{{region|}}}|[[{{{region|}}}]]|{{{region|}}}}}|[{{fullurl: {{PAGENAME}}|action=formedit}} Add region]}}
+
<includeonly>
 +
<div style="overflow-y:auto;display:block;">
 +
<div style="float:right;padding:15px;padding-bottom:0px;background-color:#f4f4f4;margin-bottom:10px;margin-left:20px;display:inline-block;width:33%">
 +
<b>Country/Region</b><br />
 +
{{{region|}}}
  
'''[[Property:From court|Court name]]'''<br />
+
<b>Court name</b><br />
{{#if: {{{court|}}}|[[From court::{{{court|}}}]]|[{{fullurl: {{PAGENAME}}|action=formedit}} Add court]}}
+
{{{court|}}}
  
'''[[Property:Was published|Published]]'''<br />
+
<b>Published</b><br />
{{#if: {{{date|}}}|[[Was published::{{{date|}}}]]|[{{fullurl: {{PAGENAME}}|action=formedit}} Add date]}}
+
{{{date|}}}
  
'''[[Property:Has related decision|More decisions in this case]]'''<br />
+
<b>More decisions in this case</b><br />
{{#if: {{{related decision|}}}|{{#arraymap: {{{related decision|}}}|,|zzz|[[Has related decision::zzz]]}}|[{{fullurl: {{PAGENAME}}|action=formedit}} Add related decision]}}
+
{{{related decision|}}}
  
'''[[Property:Related case law|Related cases]]'''<br />
+
<!--'''[[Property:Related case law|Related cases]]'''<br />
{{#if: {{{related cases|}}}|{{#arraymap: {{{related cases|}}}|,|zzz|[[Related case law::zzz]]}}|[{{fullurl: {{PAGENAME}}|action=formedit}} Add related cases]}}
+
{{{related cases|}}}-->
 
</div>
 
</div>
'''[[Property:Case description|Description]]'''<br/>
 
{{#if: {{{description|}}}|{{#set: Case description={{{description|}}}}}{{{description|}}}|[{{fullurl:{{PAGENAME}}|action=formedit}} Add summary]}}
 
  
'''[[Property:Case summary|Summary]]'''<br />
+
<h2>Description</h2>
{{#if: {{{summary|}}}|{{#set: Case summary={{{summary|}}}}}{{{summary|}}}|[{{fullurl:{{PAGENAME}}|action=formedit}} Add summary]}}
+
{{{description|}}}
{{#set: Case name={{{title|}}}}}[[Category:Case Law]]
+
 
 +
<h2>Case summary</h2>
 +
{{{summary|}}}
 +
 
 +
[[Category:Case Law]]
 
</div></includeonly>
 
</div></includeonly>

Latest revision as of 01:11, 15 December 2015

This is the 'Case Law' template. Edit the page to see the template text.