Difference between revisions of "Template:SponsoredEvents"

From Wikispooks
Jump to navigation Jump to search
(Fix section header to match semantic content)
Line 2: Line 2:
  
 
If the page name has sponsored any events, it makes a section:
 
If the page name has sponsored any events, it makes a section:
==''Event(s) Sponsored''==
+
==''Sponsors(s) ''==
 
Plus a table of event(s) participated in underneath
 
Plus a table of event(s) participated in underneath
 
[[Category:Semantic Templates]]</noinclude><includeonly>{{SMWDocSection
 
[[Category:Semantic Templates]]</noinclude><includeonly>{{SMWDocSection
 
|expression=[[Has sponsor::{{PAGENAME}}]]
 
|expression=[[Has sponsor::{{PAGENAME}}]]
|caption_singular= Event Sponsored
+
|caption_singular= Sponsor
|caption_plural=Events Sponsored
+
|caption_plural=Sponsors
 
|mainlabel = Event
 
|mainlabel = Event
 
|properties=Display date/Has location/Description
 
|properties=Display date/Has location/Description
 
|headers=Date/Location(s)/Description
 
|headers=Date/Location(s)/Description
 
}}</includeonly>
 
}}</includeonly>

Revision as of 19:32, 24 February 2022

This template creates a section listing the events participated in by {{PAGENAME}}. It has no parameters.

If the page name has sponsored any events, it makes a section:

Sponsors(s)

Plus a table of event(s) participated in underneath