Difference between revisions of "Template:LegalCases"

From Wikispooks
Jump to navigation Jump to search
(New SMWDocs template for legal cases)
 
 
(8 intermediate revisions by the same user not shown)
Line 1: Line 1:
<noinclude>'''This template places a list of legal cases decided by <nowiki>{{PAGENAME}}</nowiki> that have page entries on Wikispooks.''' It has no parameters.
+
<noinclude>{{Template:TemplateProblem|This lists the legal cases OK, but doesn't provide extra info - for example, see [[Chris Hedges]]}}
 +
'''This template places a list of legal cases decided by <nowiki>{{PAGENAME}}</nowiki> that have page entries on Wikispooks.''' It has no parameters.
  
 
If the page name has authority over any cases, it makes a section:
 
If the page name has authority over any cases, it makes a section:
==''<nowiki>{{PAGENAME}}</nowiki>'' on Wikispooks==
+
==Legal Case(s)==
 
Plus a table of decided legal case(s) underneath
 
Plus a table of decided legal case(s) underneath
 
[[Category:Semantic Templates]]</noinclude><includeonly>{{SMWDocSection
 
[[Category:Semantic Templates]]</noinclude><includeonly>{{SMWDocSection
|expression= [[Has eventType::legal case]][[Has authority::{{FULLPAGENAME}}]]
+
|expression= [[Has eventType::legal case]][[Has authority::{{FULLPAGENAME}}]] OR [[Has eventType::legal case]][[Has plaintiff::{{FULLPAGENAME}}]] OR [[Has eventType::legal case]][[Has defendant::{{FULLPAGENAME}}]]
|captionSingular= A Legal Case of Note
+
|caption_singular=Legal Case
|captionPlural= Notable Legal Cases
+
|caption_plural=Legal Cases
 
|mainlabel= Name
 
|mainlabel= Name
|properties=Has plaintiff/Has defendant/Display date/Description
+
|properties=Has plaintiff/Has defendant/Start/End/Description
|headers=Plaintiffs/Defendants/Date/Description
+
|headers=Plaintiff(s)/Defendant(s)/Start/End/Description
 
}}</includeonly>
 
}}</includeonly>

Latest revision as of 17:12, 12 September 2016

Bug1.jpg This template has problems: This lists the legal cases OK, but doesn't provide extra info - for example, see Chris Hedges Use the discussion page to start a debate about this.

This template places a list of legal cases decided by {{PAGENAME}} that have page entries on Wikispooks. It has no parameters.

If the page name has authority over any cases, it makes a section:

Legal Case(s)

Plus a table of decided legal case(s) underneath