<translate> {{<tvar name=1>PLURAL:2</tvar>|shortcut|shortcuts}}:</translate> {{tt}} {{ttt}}

Template:Mono: Difference between revisions

From Campaigns
Jump to navigation Jump to search
implement ifsubst
 
m Use {{subst:InitDoc}}
Line 1: Line 1:
{{<includeonly>safesubst:</includeonly>ifsubst|1=|2=<templatestyles src="Mono/styles.css" />}}<span class="monospaced">{{{2|{{{1}}}}}}</span><noinclude>
<onlyinclude><templatestyles src="Template:Mono/styles.css"/><span class="monospaced">{{{1}}}</span></onlyinclude>
 
{{Documentation}}
{{Documentation}}
<!-- Categories go on the /doc subpage and interwikis go on Wikidata. -->
<!-- Add categories to the /doc subpage and interwikis in Wikidata, not here! -->
</noinclude>

Revision as of 07:32, 25 July 2021

{{{1}}}

Template documentation

Lua error: callParserFunction: function "#translation" was not found.


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 template is for formatting short bits of content as monospaced text.

Template parameters[Edit template data]

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
Content1

The content to format as monospaced.

Linerequired

See also

[[Category:Formatting templates{{#translation:}}]]