Difference between revisions of "Template:LocatedGroups"

From Wikispooks
Jump to navigation Jump to search
(Created page with "<noinclude>'''This template creates a section listing the group which have headquarters <nowiki>{{PAGENAME}}</nowiki>.''' It has no parameters. If the page name is the locati...")
 
(clarify section heading)
Line 2: Line 2:
  
 
If the page name is the location of any groups' headquarters, it makes a section:
 
If the page name is the location of any groups' headquarters, it makes a section:
==''Group(s)''==
+
==''Group(s) Headquartered Here''==
 
Plus a table of group(s) located here underneath
 
Plus a table of group(s) located here underneath
 
[[Category:Semantic Templates]]</noinclude><includeonly>{{SMWDocSection
 
[[Category:Semantic Templates]]</noinclude><includeonly>{{SMWDocSection
 
|expression=[[Has headquarters::{{PAGENAME}}]][[Has objectClass2::Group]]
 
|expression=[[Has headquarters::{{PAGENAME}}]][[Has objectClass2::Group]]
 
|caption_singular=Group
 
|caption_singular=Group
|caption_plural=Groups
+
|caption_plural=Groups Headquartered Here
|mainlabel = Group
+
|mainlabel = A Group Headquartered Here
 
|properties=Display date/Description
 
|properties=Display date/Description
 
|headers=Date/Description
 
|headers=Date/Description
 
}}</includeonly>
 
}}</includeonly>

Revision as of 02:12, 14 February 2018

This template creates a section listing the group which have headquarters {{PAGENAME}}. It has no parameters.

If the page name is the location of any groups' headquarters, it makes a section:

Group(s) Headquartered Here

Plus a table of group(s) located here underneath