Template:Template usage example/doc: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 13: | Line 13: | ||
! style="width:55%" | Preview | ! style="width:55%" | Preview | ||
|- | |- | ||
| rowspan=" | | rowspan="3" style="vertical-align:top; text-align:center" | <code>{{param|1}}</code> | ||
| rowspan=" | | rowspan="3" style="vertical-align:top" | Specifying the writing format: | ||
* <code>inline</code> | * <code>inline</code> | ||
* <code>column</code> | * <code>column</code> | ||
* <code>inline_nospaces</code> | |||
| style="background-color:#1f1f1f" | <pre style="margin:0">| inline | | style="background-color:#1f1f1f" | <pre style="margin:0">| inline | ||
Line 26: | Line 27: | ||
| 1 = column</pre> | | 1 = column</pre> | ||
| style="background-color:#262626; vertical-align:top" | {{Template usage example|column}} | | style="background-color:#262626; vertical-align:top" | {{Template usage example|column}} | ||
|- | |||
| style="background-color:#1f1f1f" | <pre style="margin:0">| inline_nospaces | |||
| 1 = inline_nospaces</pre> | |||
| style="background-color:#262626; vertical-align:top" | {{Template usage example|inline_nospaces}} | |||
|} | |} | ||
Revision as of 00:26, 27 September 2025

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.
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}}}
|
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}} .
|
| 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:
| ||
| inline_nospaces | 1 = inline_nospaces |
Not specified how to write the template. See the documentation. |