Difference between revisions of "Template:Template"
m (Draft) |
(Draft) |
||
Line 60: | Line 60: | ||
|examples= | |examples= | ||
− | + | {{#tag:pre| | |
− | + | {{/tag|includeonly}} | |
%% Template content %% | %% Template content %% | ||
− | + | {{/tag|/includeonly}}<!-- | |
### TEMPLATE DESCRIPTION | ### TEMPLATE DESCRIPTION | ||
− | --> | + | -->{{/tag|noinclude}} |
{{Template | {{Template | ||
|description= | |description= | ||
Line 76: | Line 76: | ||
|examples= | |examples= | ||
}} | }} | ||
− | + | {{/tag|/noinclude}} | |
− | + | }} | |
}} | }} | ||
</noinclude> | </noinclude> |
Revision as of 15:58, 13 October 2010
This template should be used to add a description to all other templates.
Within a template page, the description has to be enclosed by <noinclude></noinclude>
, so it is not shown on the page, which uses the template (see examples).
Template
{{Template |description= |template= |parameters= |operation= |examples= }}
Parameters
- description
- Main description of the template.
- template
- Prototype of the template definition, which can be copied and pasted to the place of use.
- The content has to be enclosed into
<nowiki></nowiki>
, so it is not treated as a template itself. - parameters (optional)
- Template parameters description.
- operation (optional)
- Description of automatic operations of the template.
- examples
- Please provide at least one example!
Operation
This template does not provide any automatic operations.
Examples
<includeonly> %% Template content %% </includeonly><noinclude> __NOTOC__ = Template =<nowiki> </nowiki>= Examples =
---- For more examples refer to pages, which use this template: [[Special:WhatLinksHere/Template:Template|What links here]].[[Help:Templates]] describes general usage of templates, including treatment of special characters.
</noinclude>
For more examples refer to pages, which use this template: What links here.
Help:Templates describes general usage of templates, including treatment of special characters.