Difference between revisions of "Template:Template"

From SoftMC-Wiki
Jump to: navigation, search
m (Draft)
(Draft)
Line 16: Line 16:
  
 
For more examples refer to pages, which use this template: [[Special:WhatLinksHere/{{FULLPAGENAME}}|What links here]].
 
For more examples refer to pages, which use this template: [[Special:WhatLinksHere/{{FULLPAGENAME}}|What links here]].
−
___NOTOC___
+
 
 
</includeonly><!--  
 
</includeonly><!--  
  
−
 
−
### TEMPLATE DESCRIPTION
 
−
-->
 
−
<noinclude>
 
−
{{Template
 
−
|description=
 
−
This template should be used to add a description to all other templates.
 
−
 
−
Within a template page, the description has to be enclosed by <code><nowiki><noinclude></noinclude></nowiki></code>, so it is not shown on the page, which uses the template (see examples).
 
−
 
−
|template=
 
−
<nowiki>
 
−
{{Template
 
−
|description=
 
−
|template=
 
−
|parameters=
 
−
|operation=
 
−
|examples=
 
−
}}
 
−
</nowiki>
 
−
 
−
|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 <code><nowiki><nowiki></nowiki></nowiki></code>, 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=
 
−
<pre>
 
−
<includeonly>
 
−
Template content
 
−
</includeonly><!--
 
  
 
### TEMPLATE DESCRIPTION
 
### TEMPLATE DESCRIPTION
 
--><noinclude>
 
--><noinclude>
 
{{Template
 
{{Template
−
|description=
 
−
|template=
 
−
<nowiki>
 
−
</nowiki>
 
−
|parameters=
 
−
|operation=
 
−
|examples=
 
−
}}
 
−
</noinclude>
 
−
</pre>
 
  
 
}}
 
}}
 
</noinclude>
 
</noinclude>

Revision as of 15:53, 12 October 2010

{{{description}}}

Template

{{{template}}}

Examples

{{{examples}}}


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.