Template:Degree: Difference between revisions
Jump to navigation
Jump to search
new template |
added detailed info |
||
| Line 1: | Line 1: | ||
<span style="margin: 0em 0.3em;">°</span><noinclude>[[Category:Formatting templates|Degree]]</noinclude> | <span style="margin: 0em 0.3em;">°</span> | ||
<noinclude> | |||
__NOTOC__ | |||
[[Category:Formatting templates|Degree]] | |||
== Usage == | |||
<code><nowiki>{{degree}}</nowiki></code> | |||
Outputs the degree symbol (°) | |||
== Examples == | |||
{| class=wikitable | |||
! Code !! Output | |||
|- | |||
|<code><nowiki>{{degree}}</nowiki></code> || ° | |||
|} | |||
== Alternate Methods == | |||
{| class=wikitable | |||
|- | |||
! Source !! Method | |||
|- | |||
| Mac || Option + Shift + 8 | |||
|- | |||
| Windows || Alt and type 0176 (requires number pad) | |||
|- | |||
| Chromebook || Unicode input: Ctrl + Shift + U, release, type 00b0, then press Enter or Space | |||
|- | |||
| HTML named entity || <code>&deg;</code> | |||
|- | |||
| HTML numeric entity || <code>&#176;</code> | |||
|- | |||
| CSS content property || <code>“\00B0”</code> | |||
|} | |||
== Notes == | |||
== See also == | |||
* [https://en.wikipedia.org/wiki/Degree_symbol Wikipedia: Degree symbol] | |||
</noinclude> | |||
Latest revision as of 07:14, 22 July 2026
°
Usage
{{degree}}
Outputs the degree symbol (°)
Examples
| Code | Output |
|---|---|
{{degree}} |
° |
Alternate Methods
| Source | Method |
|---|---|
| Mac | Option + Shift + 8 |
| Windows | Alt and type 0176 (requires number pad) |
| Chromebook | Unicode input: Ctrl + Shift + U, release, type 00b0, then press Enter or Space |
| HTML named entity | °
|
| HTML numeric entity | °
|
| CSS content property | “\00B0”
|