Template:Mono/doc: Difference between revisions
Template page
More actions
Created page with "<!-- Add categories where indicated at the bottom of this page and interwikis at Wikidata --> {{Uses TemplateStyles|Template:Mono/styles.css}} {{tsh|tt|ttt}} 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"><tt>...</tt></syntaxhighlight>, which is an obsolete element under HTML5. {{-}} == TemplateData == {{TemplateData header}} <templatedata> { "..." |
(No difference)
|
Latest revision as of 22:14, 14 February 2025
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 <tt>...</tt>
, which is an obsolete element under HTML5.
TemplateData
This is the TemplateData for this template used by TemplateWizard, VisualEditor and other tools. See a monthly parameter usage report for Template:Mono in articles based on its TemplateData.
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}}