Template:Floor: Difference between revisions
From Vigyanwiki
Template>Daask (Examples) |
Template>Crissov (2nd parameter for font size override) |
||
Line 1: | Line 1: | ||
⌊{{{1}}}⌋<noinclude>{{Documentation|content= | <span style="font-size:{{{2|1em}}}">⌊</span>{{{1}}}<span style="font-size:{{{2|1em}}}">⌋</span><noinclude>{{Documentation|content= | ||
== Description == | == Description == | ||
Displays the parameter wrapped in floor symbols. This template is for display, not calculation. | Displays the parameter wrapped in floor symbols. This template is for display, not calculation. | ||
Line 6: | Line 6: | ||
{{demo|<nowiki>{{Floor|45.23}}</nowiki>}} | {{demo|<nowiki>{{Floor|45.23}}</nowiki>}} | ||
{{demo|<nowiki>{{Floor|''x''}}</nowiki>}} | {{demo|<nowiki>{{Floor|''x''}}</nowiki>}} | ||
{{demo|<nowiki>{{Floor|{{sfrac|2''a''|''b''}}}}</nowiki>}} | |||
{{demo|<nowiki>{{Floor|{{sfrac|2''a''|''b''}}|2em}}</nowiki>}} | |||
{{demo|<nowiki>{{Floor|{{sfrac|2''a''|''b''}}|larger}}</nowiki>}} | |||
{{demo|<nowiki>{{Floor|{{sfrac|2''a''|''b''}}|large}}</nowiki>}} | |||
== See also == | == See also == |
Revision as of 14:50, 29 July 2021
⌊{{{1}}}⌋
Template documentation
Description
Displays the parameter wrapped in floor symbols. This template is for display, not calculation.
Examples
Template:Demo Template:Demo Template:Demo Template:Demo Template:Demo Template:Demo
See also
[[Category:Template documentation pages{{#translation:}}]]