Many thanks to our Patrons who cover ~2/3 of our hosting bill. Please join them if you can.

Template:SM

From Wikispooks
(Redirected from Template:SMWDocs)
Jump to navigation Jump to search

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 {{SM}} on a single line on its own, just after the last of the sections but, just before the "References" section (if there is one). It makes all the Semantic Magic happen, i.e. it generates a set of extra sections from the other pages' SMW data, by making the following set of calls to Template:SMWDocSection:

All these templates use {{PAGENAME}} to search for the relevant SMW data. Before calling any of these however, it first calls Template:SMWDefaultMarkup, to add an extra set of semantic markup to the page. It takes no parameters.