Template:Template usage example: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
| (4 intermediate revisions by the same user not shown) | |||
| Line 4: | Line 4: | ||
<onlyinclude>{{#switch:{{{1|}}} | <onlyinclude>{{#switch:{{{1|}}} | ||
| #default = This template is usually written in a single line. To use it, insert <code><nowiki>{{</nowiki>{{ROOTPAGENAME}}<nowiki>}}</nowiki></code> into the desired page and specify the [[#Parameters and Examples|parameters]] to the right of the template name in the following format: <code><nowiki>{{</nowiki>{{ROOTPAGENAME}}<nowiki>|parameter 1 = value|parameter 2 = value}}</nowiki></code>. | | #default = Not specified how to write the template. See [[Template:Template usage example|the documentation]]. | ||
| inline = This template is usually written in a single line. To use it, insert <code><nowiki>{{</nowiki>{{ROOTPAGENAME}}<nowiki>}}</nowiki></code> into the desired page and specify the [[#Parameters and Examples|parameters]] to the right of the template name in the following format: <code><nowiki>{{</nowiki>{{ROOTPAGENAME}}<nowiki>|parameter 1 = value|parameter 2 = value}}</nowiki></code>. | |||
| inline_nospaces = This template is usually written in a single line. To use it, insert <code><nowiki>{{</nowiki>{{ROOTPAGENAME}}<nowiki>}}</nowiki></code> into the desired page and specify the [[#Parameters and Examples|parameters]] to the right of the template name in the following format: <code><nowiki>{{</nowiki>{{ROOTPAGENAME}}<nowiki>|parameter 1=value|parameter 2=value}}</nowiki></code>.<br>{{Important|This template requires that parameters and values do not have spaces at the beginning or end. This is due to wiki engine limitations, user preferences, or other reasons.}} | |||
| column = This template is usually written in a column. To use it, insert <code><nowiki>{{</nowiki>{{ROOTPAGENAME}}<nowiki>}}</nowiki></code> on the desired page and specify the [[#Parameters and Examples|parameters]] under the template name in the following format: | | column = This template is usually written in a column. To use it, insert <code><nowiki>{{</nowiki>{{ROOTPAGENAME}}<nowiki>}}</nowiki></code> on the desired page and specify the [[#Parameters and Examples|parameters]] under the template name in the following format: | ||
Latest revision as of 10:08, 10 October 2025
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.