Difference between revisions of "Template:WStemplate"

From Wikispooks
Jump to navigation Jump to search
(|object parameter)
(shift layout)
Line 4: Line 4:
 
|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.
 
}}
 
}}
</noinclude><includeonly>'''{{{summary|}}}'''<br/>
+
</noinclude><includeonly>{{#if: {{{object|}}}|{{ObjectTemplateBanner}}[[Category:Object Templates]]}}'''{{{summary|}}}'''<br/>
{{{description|}}}{{#arraymap:{{{categories|}}}|,|x|[[category:x]]}}{{Explain parameters}}{{#if: {{{object|}}}|{{ObjectTemplateBanner}}[[Category:Object Templates]]}}{{#if: {{{object|}}}|See [[{{{object|}}}]] for a list of pages that use this template.}}</includeonly>
+
{{{description|}}}{{#arraymap:{{{categories|}}}|,|x|[[category:x]]}}{{Explain parameters}}{{#if: {{{object|}}}|See [[{{{object|}}}]] for a list of pages that use this template.<br/>}}</includeonly>

Revision as of 01:54, 30 July 2014