Template:Template usage example/doc

From Valve Developer Community
< Template:Template usage example
Revision as of 23:55, 26 September 2025 by THE OWL (talk | contribs) (Created page with "{{doc/subpage}} Inserts text about how to write a template. == Usage == {{Template usage example|inline}} == Parameters and Examples == {| class="standard-table" style="width:100%" ! style="width:8%" | Parameter ! Description ! style="width:15%" | Examples ! style="width:55%" | Preview |- | rowspan="2" style="vertical-align:top; text-align:center" | <code>{{param|1}}</code> | rowspan="2" style="vertical-align:top" | Specifies how to write the template: * <code>inline<...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
Edit-copy.png
This is a documentation subpage for Template:Template usage example.
Don't forget to purge the contents of the base page upon creating or editing this subpage.

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
{{{1}}} Specifies how to write the template:
  • inline
  • column
| 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}}.
| column

| 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 }}