Template:Template usage example: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 6: | Line 6: | ||
| #default = Not specified how to write the template. See [[Template:Template usage example|the documentation]]. | | #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: | | 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>. | ||
| 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: | ||
Line 19: | Line 13: | ||
| parameter 2 = value | | parameter 2 = value | ||
}}</nowiki>}} | }}</nowiki>}} | ||
| 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>|parameter1=value|parameter2=value}}</nowiki></code>.<br>{{Note|The default option is to write parameters using spaces, but in this case, the absence of spaces is due to user decisions (for example, it was decided that this would be more convenient) or template behavior (for example, broken links due to spaces).}} | |||
}}</onlyinclude> | }}</onlyinclude> | ||
</includeonly> | </includeonly> |
Revision as of 00:28, 27 September 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.