Difference between revisions of "Template:WStemplate"
(shift layout) |
(Add SMWDefaultMarkup) |
||
(One intermediate revision by the same user not shown) | |||
Line 1: | Line 1: | ||
− | <noinclude>{{ | + | <noinclude>{{WStemplate |
|categories=Convenience Templates | |categories=Convenience Templates | ||
− | |summary=This template is for standardising the appearance of Wikispooks template pages. | + | |summary=This template is for standardising the appearance and metadata of Wikispooks template pages. |
− | |description=It has parameters for the summary, categories and description of the template. Also "object" for object templates. | + | |description=It has parameters for the summary, categories and description of the template. Also "object" for object templates. It also calls [[Template:SMWDefaultMarkup]]. |
}} | }} | ||
</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/>}}</includeonly> | + | {{{description|}}}{{#arraymap:{{{categories|}}}|,|x|[[category:x]]}}{{Explain parameters}}{{#if: {{{object|}}}|See [[{{{object|}}}]] for a list of pages that use this template.<br/>}}{{SMWDefaultMarkup}}</includeonly> |
Latest revision as of 09:31, 16 July 2015
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 parameterswere formerly available, but have been upgraded. Some may still work, but do not use these.