Difference between revisions of "Template:SponsoredEvents"

From Wikispooks
Jump to navigation Jump to search
(Created page with "<noinclude>'''This template creates a section listing the events participated in by <nowiki>{{PAGENAME}}</nowiki>.''' It has no parameters. If the page name has sponsored any...")
 
(Fix)
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
<noinclude>'''This template creates a section listing the events participated in by <nowiki>{{PAGENAME}}</nowiki>.''' It has no parameters.
 
<noinclude>'''This template creates a section listing the events participated in by <nowiki>{{PAGENAME}}</nowiki>.''' It has no parameters.
  
If the page name has sponsored any events, it makes a section:
+
If the page name has any sponsors, it makes a section:
==''Event(s) Planned''==
+
==''Sponsor(s) ''==
Plus a table of event(s) participated in underneath
+
Plus a table of sponsors(s) 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=Description
|headers=Date/Location(s)/Description
+
|headers=Description
 
}}</includeonly>
 
}}</includeonly>

Latest revision as of 19:34, 24 February 2022

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

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

Sponsor(s)

Plus a table of sponsors(s) underneath