Template:Degrees: Difference between revisions

From Space Station 14 Wiki
(Created page with "<includeonly>{{#vardefine: degrees_measure |{{#switch: {{lc: {{{2}}}}} |celsius |c = C |fahrenheit |f = F |kelvin |k = K |{{error|unknown measure{{colon}} {{{2}}}}} }}}}<!-- -->{{{1}}} °{{#var:degrees_measure}}</includeonly><noinclude> Category:Wikitext typing-aid templates <templatedata> { "params": { "1": { "label": "Value", "description": "Degrees value.", "example": "210", "type": "number", "required": true }, "2": { "label": "Type"...")
 
No edit summary
 
Line 14: Line 14:


-->{{{1}}} °{{#var:degrees_measure}}</includeonly><noinclude>
-->{{{1}}} °{{#var:degrees_measure}}</includeonly><noinclude>
{{docs}}


[[Category:Wikitext typing-aid templates]]
[[Category:Wikitext typing-aid templates]]

Latest revision as of 19:47, 14 August 2024

Template documentation
view or edit this documentation about template documentation

Syntax

{{Degrees
| 1 = [REQUIRED] Degrees value. TYPE: number EXAMPLE: 210
| 2 = [REQUIRED] Type of the degrees. Any casing is allowed, including lowercase. TYPE: line
}}

Examples

{{Degrees|451|f}}

451 °F

A shorthand for writing degrees (the temperature measure).

Template parameters[Edit template data]

ParameterDescriptionTypeStatus
Value1

Degrees value.

Example
210
Numberrequired
Type2

Type of the degrees. Any casing is allowed, including lowercase.

Suggested values
Celsius C Fahrenheit F Kelvin K
Linerequired