Difference between revisions of "Template:SMWDocs"

From Wikispooks
Jump to navigation Jump to search
(Add sponsored events)
(Add Patreon pointer to the bottom)
Line 32: Line 32:
 
-->{{ConvictedPeople}}<!--
 
-->{{ConvictedPeople}}<!--
 
-->{{Alumni}}<!--
 
-->{{Alumni}}<!--
-->{{DisplayRatings}}</includeonly>
+
-->{{DisplayRatings}}<!-- Temporary extra push for patrons 2020-07-23 ...
 +
-->{{SiteNotice|[[image:become_a_patron.png|150px|link=https://www.patreon.com/wikispooks]] July 2020: Our founder [[User:Peter]] has stepped down after 10 years & passed the torch on to [[User:Robin]], who is aiming to crowdfund the webhosting bill. [https://www.patreon.com/wikispooks ''Please'' help keep this site online.]}}
 +
</includeonly>
  
 
<noinclude><!-- Now fixed?
 
<noinclude><!-- Now fixed?

Revision as of 13:56, 23 July 2020

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.