Template:Template usage example/doc

From Valve Developer Community
Jump to navigation Jump to search
Edit-copy.png

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/doc}} into the desired page and specify the parameters described below to the right of the template name in the following format:

{{Template usage example/doc|parameter1 = value|parameter2 = value}}

Parameters and Examples

Parameter Description Examples Preview
No Parameters Displays an error.
{{Template usage example}}
Not specified how to write the template. See the documentation.
{{{1}}} Specifying the writing format:
  • inline
  • column
  • inline_nospaces
| inline

| 1 = inline
 This template is usually written in a single line.

To use it, insert {{Template usage example/doc}} into the desired page and specify the parameters described below to the right of the template name in the following format:

{{Template usage example/doc|parameter1 = value|parameter2 = value}}
| inline_nospaces

| 1 = column
This template is usually written in a column. To use it, insert {{Template usage example/doc}} on the desired page and specify the parameters described below under the template name in the following format:
{{Template usage example/doc | parameter1 = value | parameter2 = value }}
| inline_nospaces

| 1 = inline_nospaces
 This template is usually written in a single line without spaces(?).

To use it, insert {{Template usage example/doc}} into the desired page and specify the parameters described below to the right of the template name in the following format:

{{Template usage example/doc|parameter1=value|parameter2=value}}

See also