Difference between revisions of "Template:Case Law"

From Creative Commons
Jump to: navigation, search
Line 10: Line 10:
 
</pre>
 
</pre>
 
Edit the page to see the template text.
 
Edit the page to see the template text.
</noinclude><includeonly><div style="display:block;"><div style="float:right;padding:10px;background-color:#f4f4f4;margin-bottom:10px;margin-left:20px;display:inline;width:33%">'''[[Property:In country or region|Country/Region]]'''<br />
+
</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;width:33%">'''[[Property:In country or region|Country/Region]]'''<br />
 
{{#if: {{{region|}}}|[[In country or region::{{{region|}}}]]|[{{fullurl: {{PAGENAME}}|action=formedit}} Add region]}}
 
{{#if: {{{region|}}}|[[In country or region::{{{region|}}}]]|[{{fullurl: {{PAGENAME}}|action=formedit}} Add region]}}
  
Line 21: Line 24:
 
'''[[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]}}
 
{{#if: {{{related cases|}}}|{{#arraymap: {{{related cases|}}}|,|zzz|[[Related case law::zzz]]}}|[{{fullurl: {{PAGENAME}}|action=formedit}} Add related cases]}}
</div>
+
</div><div style="clear:both;display:none;"></div></div>{{#set: Case name={{{title|}}}}}[[Category:Case Law]]</includeonly>
'''[[Property:Case summary|Summary]]'''<br />
 
{{#if: {{{summary|}}}|{{#set: Case summary={{{summary|}}}}}{{{summary|}}}|[{{fullurl:{{PAGENAME}}|action=formedit}} Add summary]}}<div style="clear:both;display:none;"></div></div>{{#set: Case name={{{title|}}}}}[[Category:Case Law]]</includeonly>
 

Revision as of 18:31, 11 August 2010

This is the 'Case Law' template. It should be called in the following format:

{{Case Law
|title=
|court=
|jurisdiction=
}}

Edit the page to see the template text.