Difference between revisions of "Template:Case Law"

From Creative Commons
Jump to: navigation, search
(De-mediawiki.)
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/>
+
</h3>Case description|Description</h3>
{{#if: {{{description|}}}|{{#set: Case description={{{description|}}}}}{{{description|}}}|[{{fullurl:{{PAGENAME}}|action=formedit}} Add description]}}
+
{{{description|}}}
  
'''[[Property:Case summary|Summary]]'''<br />
+
<h3>Case summary</h3>
{{#if: {{{summary|}}}|{{#set: Case summary={{{summary|}}}}}{{{summary|}}}|[{{fullurl:{{PAGENAME}}|action=formedit}} Add summary]}}
+
{{{summary|}}}
{{#set: Case name={{{title|}}}}}[[Category:Case Law]]
+
 
 +
[[Category:Case Law]]
 
</div></includeonly>
 
</div></includeonly>

Revision as of 01:05, 15 December 2015

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