Template:Note: Difference between revisions
		
		
		
		
		
		Jump to navigation
		Jump to search
		
				
		
		
	
 (Borrowed from devmo/MDC)  | 
				 (Added Template:Documentation.)  | 
				||
| Line 1: | Line 1: | ||
<blockquote><div class="note">'''Note:''' {{{1}}}</div></blockquote>  | <blockquote><div class="note">'''Note:''' {{{1}}}</div></blockquote><noinclude>  | ||
<!-- Add categories to the /doc subpage, not here! -->  | |||
{{documentation}}  | |||
</noinclude>  | |||
Latest revision as of 21:45, 21 December 2014
Note: {{{1}}}
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 | {{note|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 | {{note|'''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. 
|  The above documentation is transcluded from Template:Note/doc. (edit | history)  Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template.  |