Difference between revisions of "Template:Case Law"

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