Difference between revisions of "Template:Mono"
Jump to navigation
Jump to search
en>Izno (implement ifsubst) |
(Created page with "<onlyinclude><templatestyles src="Template:Mono/styles.css"/><span class="monospaced">{{{1}}}</span></onlyinclude> {{Documentation}} <!-- Add categories to the /doc subpage an...") |
||
Line 1: | Line 1: | ||
<onlyinclude><templatestyles src="Template:Mono/styles.css"/><span class="monospaced">{{{1}}}</span></onlyinclude> | |||
{{Documentation}} | {{Documentation}} | ||
<!-- | <!-- Add categories to the /doc subpage and interwikis in Wikidata, not here! --> | ||
Revision as of 18:13, 26 February 2022
{{{1}}}
- - -
There is a documentation subpage housing the metadata about parent template: Mono.
This template uses TemplateStyles: |
This template is for formatting short bits of content (the only parameter) as monospaced (nonproportional) text. It is a replacement for <syntaxhighlight inline lang="html">...</syntaxhighlight>, which is an obsolete element under HTML5.
TemplateData
This is the TemplateData for this template used by TemplateWizard, VisualEditor and other tools.
TemplateData for Mono
This template is for formatting short bits of content as monospaced text.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Content | 1 | The content to format as monospaced. | Line | required |
See also
- {{code|inline=1}}
- {{inline-code}}
- {{kbd}}
- {{samp}}
- {{var}}
[[Category:Formatting templates{{#translation:}}]]