Difference between revisions of "Template:Case Law"

From Creative Commons
Jump to: navigation, search
Line 11: Line 11:
 
Edit the page to see the template text.
 
Edit the page to see the template text.
 
</noinclude><includeonly>'''[[Property:In country or region|Country/Region]]'''<br />
 
</noinclude><includeonly>'''[[Property:In country or region|Country/Region]]'''<br />
[[In country or region::{{{region|}}}]]
+
{{#if: {{{region|}}}|[[In country or region::{{{region|}}}]]|[{{fullurl: {{PAGENAME}}|action=formedit}} Add region]}}
  
 
'''[[Property:From court|Court Name]]'''<br />
 
'''[[Property:From court|Court Name]]'''<br />
[[From court::{{{court|}}}]]
+
{{#if: {{{court|}}}|[[From court::{{{court|}}}]]|[{{fullurl: {{PAGENAME}}|action=formedit}} Add court]}}
  
 
'''[[Property:Was published|Published]]'''<br />
 
'''[[Property:Was published|Published]]'''<br />
[[Was published::{{{date|}}}]]
+
{{#if: {{{date|}}}|[[Was published::{{{date|}}}]]|[{{fullurl: {{PAGENAME}}|action=formedit}} Add date]}}
  
 
'''[[Property:Related case law|Related Cases]]'''<br />
 
'''[[Property:Related case law|Related Cases]]'''<br />
{{#arraymap: {{{related cases|}}}|,|zzz|[[Related case law::zzz]]}}
+
{{#if: {{{related cases|}}}|{{#arraymap: {{{related cases|}}}|,|zzz|[[Related case law::zzz]]}}|[{{fullurl: {{PAGENAME}}|action=formedit}} Add related cases]}}
  
 
'''[[Property:Case summary|Summary]]'''<br />
 
'''[[Property:Case summary|Summary]]'''<br />
{{#set: Case summary={{{summary|}}}}}{{{summary|}}}{{#set: Case name={{{title|}}}}}[[Category:Case Law]]</includeonly>
+
{{#if: {{{summary|}}}|{{#set: Case summary={{{summary|}}}}}{{{summary|}}}|[{{fullurl:{{PAGENAME]}|action=formedit}} Add summary}}{{#set: Case name={{{title|}}}}}[[Category:Case Law]]</includeonly>

Revision as of 22:00, 10 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.