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...")
 
(Add 'Start' & 'End' to keyproperties)
 
(One intermediate revision by the same user not shown)
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 =Group
|properties=Display date/Description
+
|properties=Display date/Start/End/Description
|headers=Date/Description
+
|headers=Date/Start/End/Description
 
}}</includeonly>
 
}}</includeonly>

Latest revision as of 14:11, 9 May 2022

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