Predloga:Mono

Iz Wikipedije, proste enciklopedije

{{{1}}}

Dokumentacija za predlogo[poglej] [uredi] [zgodovina] [osveži]

Usage[uredi kodo]

{{Mono|text to format here}}

renders as:

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 <tt>...</tt> which is a sloppy old-school HTML way of achieving the same effect. (While the <tt> element does not yet appear among those marked as "Deprecated" in the W3C's "Index of the HTML 4 Elements", most other elements that have only a stylistic font effect and no semantic meaning have been so deprecated since 1998 in favor of CSS styling (and the few that have not have been generally deprecated by the Web development community anyway). Use of this template better separates content and presentation in Wikipedia articles.

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 should not be used to indicate source code, nor for variables or variable input (use <code>...</code> and <var>...</var>, respectively).

It can be used to mark up content that would otherwise have been marked up with <kbd>...</kbd> or <samp>...</samp;> (definitions) – elements not supported by the MediaWiki software – but <code>...</code> may be more appropriate, depending upon the content and context.

It cannot be used to mark up multiple paragraphs, sections or other block elements, as it uses <span>, which is an inline element. See {{Monoblock}} for a <div>-based block version. Or, multiple instances of {{Mono}} can be invoked.

See also[uredi kodo]
https://sl.wikipedia.org/wiki/Predloga:Mono
sl.wikipedia.org
crawl=CC-MAIN-2022-49
56971
application/http; msgtype=response
sha1:LMPKUAWA4QUAHV2QTAG6CYVOKSKB5GFZ
<urn:uuid:a967fc91-1976-4f06-b3ad-f3f825b2ab93>
2022-12-02T04:42:05Z
208.80.154.224
text/html
sha1:52GFLMVDEV2FDM6ULJWZWDKRWVZGV45O
<urn:uuid:71e08dab-1dad-4e0f-9a21-30b5cbd5925f>
https://sl.wikipedia.org/wiki/Predloga:Mono
response
<urn:uuid:94af90ac-8e50-42ec-9040-5e70355e6068>
isPartOf: CC-MAIN-2022-49
publisher: Common Crawl
description: Wide crawl of the web for November/December 2022
operator: Common Crawl Admin (info@commoncrawl.org)
hostname: ip-10-67-67-77
software: Apache Nutch 1.19 (modified, https://github.com/commoncrawl/nutch/)
robots: checked via crawler-commons 1.4-SNAPSHOT (https://github.com/crawler-commons/crawler-commons)
format: WARC File Format 1.1
conformsTo: https://iipc.github.io/warc-specifications/specifications/warc-format/warc-1.1/