Jump to content

Template:WStemplate: Difference between revisions

From Deep Politics Wiki
WikiSpooks>Robin
Add SMWDefaultMarkup
 
WikiBot (talk | contribs)
m Plain formatting, no semantic markup
 
Line 5: Line 5:
}}
}}
</noinclude><includeonly>{{#if: {{{object|}}}|{{ObjectTemplateBanner}}[[Category:Object Templates]]}}'''{{{summary|}}}'''<br/>
</noinclude><includeonly>{{#if: {{{object|}}}|{{ObjectTemplateBanner}}[[Category:Object Templates]]}}'''{{{summary|}}}'''<br/>
{{{description|}}}{{#arraymap:{{{categories|}}}|,|x|[[category:x]]}}{{Explain parameters}}{{#if: {{{object|}}}|See [[{{{object|}}}]] for a list of pages that use this template.<br/>}}{{SMWDefaultMarkup}}</includeonly>
{{{description|}}}{{Explain parameters}}{{#if: {{{object|}}}|See [[{{{object|}}}]] for a list of pages that use this template.<br/>}}{{SMWDefaultMarkup}}</includeonly>

Latest revision as of 22:35, 24 September 2026

This template is for standardising the appearance and metadata of Wikispooks template pages.
It has parameters for the summary, categories and description of the template. Also "object" for object templates. It also calls Template:SMWDefaultMarkup.

Blue parameters are for a single Wikispooks page name (If no suitable page exists, then pick a title for a future page)
Brown parameters are for numbers
Green parameters are for comma-separated lists of page names (Or planned page names).
Navy parameters are for dates
Orange parameters are for booleans. (Usually, either "Yes" or just leave blank).
Purple parameters are URLs.
Violet parameters are slash-separated lists.
Pink parameters are for coordinates.
Crossed out parameters were formerly available, but have been upgraded. Some may still work, but do not use these.