Anonymous user
Template:Tt/doc: Difference between revisions
m
Simplify
imported>FrozenPlum m (5 revisions imported: Imported from help.fandom.com, Extension:DPL3 pages, which are for the obsolete version of DPL3 extension for MediaWiki 1.33, to adapt to forked (newer) extension version.) |
imported>FrozenPlum m (Simplify) |
||
(2 intermediate revisions by the same user not shown) | |||
Line 1:
{{Documentation subpage}}
<!-- Documentation here -->
== Usage ==▼
▲== Usage ==
{{tlx|tt|<var>text to format here</var>}}
Line 8 ⟶ 9:
{{tt|text to format here}}
This template is for formatting short bits of content (the only parameter) as monospaced (nonproportional) text. It is simply a quick shorthand for the necessary CSS code. It is a replacement for
This template ''should'' be used where the content is being rendered in monospaced text for purely stylistic/display reasons, where this display has no particular semantic significance.
It ''cannot'' be used to mark up multiple paragraphs, sections or other block elements, as it uses
For example:
Line 43 ⟶ 44:
"monospace, monospace" needed per [[wikipedia:WP:MONO|WP:MONO]]
<includeonly>
<!-- Template categories/interwikis here -->
[[Category:Templates]]
[[Category:Formatting templates]]
</includeonly>
|