This site is supported by donations to The OEIS Foundation.
Template:"/doc
The {{"}} (double quote) HTML numeric character entity template gives the UTF-16 HTML [hexadecimal] numeric character entity for the dumb double quote character (dumb ditto mark) " (which has a special meaning in HTML and wiki markup), for the english ditto mark ” and for the french ditto mark ».
It may also be used to enclose text within double quotes ("dumb double quotes" or [“english” or «french»] smart double quotes).
Contents
Note: This is for XHTML5 future proofing, where named character entities should not be used, except the following five
|
|
Numeric character entities or glyphs (except the five above glyphs, which have a special meaning in HTML) should be used instead.[1]
Tests
|
|
|
Usage
{{"|"}}
or{{"|" d}}
(to get " or ", a dumb ditto mark or a dumb double quote)
or
{{"}}
or{{"|" e}}
(to get ” or ”, an english ditto mark)
or
{{"|" f}}
(to get », a french ditto mark)
or
{{"|Quoted text}}
(to get "Quoted text", with dumb double quotes)
or
{{"|Quoted text|e}}
or{{"|Quoted text|" e}}
or{{"|Quoted text|"}}
(to get “Quoted text” or “Quoted text” or “Quoted text”, with english smart double quotes)
or
{{"|Quoted text|f}}
or{{"|Quoted text|" f}}
(to get «Quoted text» or «Quoted text», with french smart double quotes, called «guillemets» in french)
Examples
Code Result Comment {{"|"}} " (dumb double quote, dumb ditto mark) {{"|" d}} " (dumb ditto mark) {{"}} ” (english ditto mark) {{"|" e}} ” (english ditto mark) {{"|" f}} » (french ditto mark) {{"|between dumb quotes}} "between dumb quotes" {{"|between dumb quotes|d}} "between dumb quotes" {{"|between dumb quotes|" d}} "between dumb quotes" {{"|between english quotes|e}} “between english quotes” {{"|between english quotes|" e}} “between english quotes” {{"|between english quotes|"}} “between english quotes” {{"|{{nbsp}}|"}} “ ” {{"|between french quotes|f}} «between french quotes» {{"|between french quotes|" f}} «between french quotes»
Examples where you should use the {{prime}} template
Code Result Comment length of 10' 6"
length of 10' 6" (not proper feet and inches symbols) length of 10{{prime}} 6{{prime|2}}
length of 10′ 6′′ length of 10{{prime}}{{thinsp}}6{{prime|2}}
length of 10′ 6′′ (better spacing) 5{{sup|o}} 30' 15" angle
5o 30' 15" angle (not proper minutes and seconds symbols) 5{{sup|o}} 30{{prime}} 15{{prime|2}} angle
5o 30′ 15′′ angle 5{{sup|o}}{{thinsp}}30{{prime}}{{thinsp}}15{{prime|2}} angle
5o 30′ 15′′ angle (better spacing)
Examples with invalid arguments
Code Result {{"|between "dumb" quotes}} " (double quote) error: First parameter text cannot contain " when enclosing it within ". {{"|between "dumb" quotes|d}} " (double quote) error: First parameter text cannot contain " when enclosing it within ". {{"|Quoted text|g}} " (double quote) error: Second parameter must be from d
or" d
(dumb quotes),e
or" e
or"
(english quotes),f
or" f
(french quotes).
See also
- {{'}} (dumb single quote ' ) (apostrophe ’ ) (to get text within: 'dumb single quotes', smart [‘english’ or ‹french›] single quotes)
- {{prime}} (prime, feet or minutes symbol ′ )