Template:Note/doc
From MozillaWiki
Usage
{{note}} is a front-end for the HTML element <blockquote>
with the attributed CSS class note, which is used to create narrow block quotes on a page, in the form of short notes, or comments.
This template is specifically intended for adding notes on wiki-pages. In the output, your inserted text is preceded by the text "Note: ".
Parameter
There is 1 parameter, which is unnamed and required.
Syntax
The template's syntax is
-
{{note|custom text }}
Required parameter
1
- Custom text
The text you wish to enclose in <blockquote class="note">
tags.
- Usage
-
{{note|1}}
Examples
Case | What you type | What you see a) |
---|---|---|
Basic use | Och dessa ord, de spriddes sen i hären vitt och brett, <br>och alla tyckte överallt, att Sandels talat rätt. <br>”Ty visst var tanken”, mente man, ”hos Dufva knapp till mått; <br>ett dåligt huvud hade han, men hjärtat, det var gott.”}} |
|
Wiki-code | '''Och dessa ord, de spriddes sen i hären vitt och brett, <br>och alla tyckte överallt, att''' [[Wikipedia:Johan August Sandels|Sandels]] '''talat rätt.''' <br>''”Ty visst var tanken”'', '''mente man,''' ''”hos ''Dufva'' knapp till mått; <br>ett dåligt huvud hade han, men hjärtat, det var gott.”''}} |
|
a) Excerpt from "Sven Dufva" from Fänrik Ståls sägner (eng. "The Tales of Ensign Stål") by Johan Ludvig Runeberg. (Read a hastily put together translation into English.)
See also
- {{blockquote}}: inserts
<blockquote>
tags without any CSS class, but with an option to add CSS styling properties. - {{sidenote}}: inserts
<blockquote>
tags with the CSS class note sidenote for short, right-aligned notes.
- {{abbr}}: inserts
<abbr>
tags to include a tooltip explanation of an abbreviation. - {{bdi}}: inserts
<bdi>
tags to allow for inline changes in text direction. - {{bdo}}: inserts
<bdo>
tags, forcing inline changes in text direction. - {{code}}: inserts
<code>
tags. - {{mark}}: inserts
<mark>
tags, highlighting the enclosed text. - {{samp}}: inserts
<samp>
tags. - {{var}}: inserts
<var>
tags. - {{varserif}}: inserts
<var>
tags with serif font styling.