Difference between revisions of "Template:SMWDocs"

From Wikispooks
Jump to navigation Jump to search
(New wording for sitenotice)
(£67)
 
(3 intermediate revisions by the same user not shown)
Line 33: Line 33:
 
-->{{Alumni}}<!--
 
-->{{Alumni}}<!--
 
-->{{DisplayRatings}}<!-- Temporary extra push for patrons 2020-07-23 ...
 
-->{{DisplayRatings}}<!-- Temporary extra push for patrons 2020-07-23 ...
-->{{SiteNotice|[[image:become_a_patron.png|150px|link=https://www.patreon.com/wikispooks]] August 2020: [[User:Robin]] is aiming to crowdfund the webhosting bill. [https://www.patreon.com/wikispooks ''Please'' help keep this site online.] If 1/1000 of our users donated just $1/month, that would cover our costs. Dare to be that 1 in a thousand!}}
+
-->{{SiteNotice|[[image:67_pounds_thermometer.png|220px|left]] As of 17 September, our 19 Patrons are giving £67/month, which is 2/3 of our webhosting bill. ''Please help keep this site running by donating or spreading the word about [https://www.patreon.com/wikispooks our Patreon page]''.}}
 
</includeonly>
 
</includeonly>
  

Latest revision as of 14:29, 17 September 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.