Template:Template usage example
From Valve Developer Community
Revision as of 22:40, 26 September 2025 by THE OWL (talk | contribs) (Created page with "{{Documentation}} <includeonly> <onlyinclude>{{#switch:{{{1|}}} | #default = This template is usually written in a single line. To use it, insert <code><nowiki>{{</nowiki>{{PAGENAME}}<nowiki>}}</nowiki></code> into the desired page and specify the parameters to the right of the template name in the following format: <code><nowiki>{{</nowiki>{{PAGENAME}}<nowiki>|parameter 1 = value|parameter 2 = value}}</nowiki></code>. | column = This temp...")
Inserts text about how to write a template.
Usage
This template is usually written in a single line. To use it, insert {{Template usage example}} into the desired page and specify the parameters to the right of the template name in the following format: {{Template usage example|parameter 1 = value|parameter 2 = value}}.
Parameters and Examples
| Parameter | Description | Examples | Preview |
|---|---|---|---|
| No Parameters | Displays an error. | {{Template usage example}}
|
This template is usually written in a single line. To use it, insert {{Template usage example}} into the desired page and specify the parameters to the right of the template name in the following format: {{Template usage example|parameter 1 = value|parameter 2 = value}}.
|
{{{1}}}
|
Specifying the writing format:
|
| inline | 1 = inline |
This template is usually written in a single line. To use it, insert {{Template usage example}} into the desired page and specify the parameters to the right of the template name in the following format: {{Template usage example|parameter 1 = value|parameter 2 = value}}.
|
| inline_nospaces | 1 = column |
This template is usually written in a column. To use it, insert {{Template usage example}} on the desired page and specify the parameters under the template name in the following format:
{{Template usage example
| parameter 1 = value
| parameter 2 = value
}} | ||
| inline_nospaces | 1 = inline_nospaces |
This template is usually written in a single line. To use it, insert {{Template usage example}} into the desired page and specify the parameters to the right of the template name in the following format: {{Template usage example|parameter 1 = value|parameter 2 = value}}.
|
The above documentation is transcluded from Template:Template usage example/doc. (Edit | Page history)
Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages.
Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages.