Template:Floor: Difference between revisions
Jump to navigation
Jump to search
Richardpruen (talk | contribs) m 1 revision imported |
imported>GKFX Move documentation to subpage |
||
Line 1: | Line 1: | ||
<span style="font-size:{{{2|1em}}}">⌊</span>{{{1}}}<span style="font-size:{{{2|1em}}}">⌋</span><noinclude>{{Documentation | <span style="font-size:{{{2|1em}}}">⌊</span>{{{1}}}<span style="font-size:{{{2|1em}}}">⌋</span><noinclude>{{Documentation}}</noinclude> | ||
}}</noinclude> |
Latest revision as of 16:11, 25 December 2022
⌊{{{1}}}⌋
Usage
This is the TemplateData for this template used by TemplateWizard, VisualEditor and other tools. See a monthly parameter usage report for Template:Floor in articles based on its TemplateData.
TemplateData for Floor
Displays the parameter wrapped in floor symbols. This template is for display, not calculation.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Operand | 1 | The operand of the floor function
| Line | required |
Font size | 2 | A valid CSS font size, applied to the bars only. Typically should be given in "em".
| String | optional |
Examples
{{floor|45.23}}
→ ⌊45.23⌋{{floor|''x''}}
→ ⌊x⌋{{floor|{{sfrac|2''a''|''b''}}}}
→ ⌊2a/b⌋{{floor|{{sfrac|2''a''|''b''}}|2em}}
→ ⌊2a/b⌋{{floor|{{sfrac|2''a''|''b''}}|larger}}
→ ⌊2a/b⌋{{floor|{{sfrac|2''a''|''b''}}|large}}
→ ⌊2a/b⌋{{math|{{floor|{{sfrac|2''a''|''b''}}}}}}
→ ⌊2a/b⌋{{bigmath|{{floor|{{sfrac|2''a''|''b''}}}}}}
→ ⌊2a/b⌋
See also
Lua error in Module:Navbox at line 485: attempt to call local 'gfind' (a nil value).