Difference between revisions of "Template:SMWDocs"

From Wikispooks
Jump to navigation Jump to search
(Comment out Template:DatedObjects)
(KnownMembers)
 
(12 intermediate revisions by the same user not shown)
Line 11: Line 11:
 
-->{{Adherents}}<!--
 
-->{{Adherents}}<!--
 
-->{{RelatedQuotations}}<!--
 
-->{{RelatedQuotations}}<!--
--><--{{DatedObjects}}--><!--
+
-->{{DatedObjects}}<!--
 
-->{{AmbassadorsToHere}}<!--
 
-->{{AmbassadorsToHere}}<!--
 
-->{{LocatedNationStates}}<!--
 
-->{{LocatedNationStates}}<!--
Line 17: Line 17:
 
-->{{LocatedGroups}}<!--
 
-->{{LocatedGroups}}<!--
 
-->{{LocatedJobs}}<!--
 
-->{{LocatedJobs}}<!--
 +
-->{{Employees}}<!--
 +
-->{{KnownMembers}}<!--
 +
-->{{PartyMembers}}<!--
 
-->{{Nationals}}<!--
 
-->{{Nationals}}<!--
 
-->{{PlannedEvents}}<!--
 
-->{{PlannedEvents}}<!--
 +
-->{{SponsoredEvents}}<!--
 
-->{{ParticipatedEvents}}<!--
 
-->{{ParticipatedEvents}}<!--
 
-->{{Participants}}<!--
 
-->{{Participants}}<!--
Line 31: Line 35:
 
-->{{ConvictedPeople}}<!--
 
-->{{ConvictedPeople}}<!--
 
-->{{Alumni}}<!--
 
-->{{Alumni}}<!--
-->{{DisplayRatings}}</includeonly>
+
-->{{DisplayRatings}}<!-- Temporary extra push for patrons 2020-07-23 ...
 +
-->{{WSThermometer}}</includeonly>
  
 
<noinclude><!-- Now fixed?
 
<noinclude><!-- Now fixed?
Line 56: Line 61:
 
*[[Template:LocatedGroups]] (''[[property:has headquarters]]'') for [[group]]s
 
*[[Template:LocatedGroups]] (''[[property:has headquarters]]'') for [[group]]s
 
*[[Template:LocatedJobs]] (''[[property:has location]]'') for [[job]]s
 
*[[Template:LocatedJobs]] (''[[property:has location]]'') for [[job]]s
*[[Template:Nationals]] (''[[property:has nationality]]'') for [[people]]
+
*[[Template:Employees]] (''[[property:has employer]]'') for [[groups]]
 +
*[[Template:KnownMembers]] (''[[property:has member]]'') for [[person]]s
 +
*[[Template:PartyMembers]] (''[[property:has politicalParty]]'') for [[group]]s
 +
*[[Template:Nationals]] (''[[property:has nationality]]'') for [[nation state]]s
 +
*[[Template:PlannedEvents]] (''[[property:has planner]]'')
 +
*[[Template:SponsoredEvents]] (''[[property:has sponsor]]'')
 
*[[Template:ParticipatedEvents]] (''[[property:has participant]]'')
 
*[[Template:ParticipatedEvents]] (''[[property:has participant]]'')
 
*[[Template:Participants]] (''-[[property:has participant]]'')
 
*[[Template:Participants]] (''-[[property:has participant]]'')

Latest revision as of 13:33, 4 January 2023

This template is the most important semantic template on the site; unless you're interested in editing templates, it's the only one you need to know about.
To use it, just include the text {{SMWDocs}} on a single line on its own, just before the "References" section. It generates a bunch of extra sections from the other pages' SMW data, by a bunch of calls to Template:SMWDocSection.

This template's structure is very simple, it first includes:

Then the following templates from category:Semantic Templates:

It makes use of {{PAGENAME}} to search for the relevant SMW data. It currently takes no parameters.