Template:Math: Difference between revisions
Jump to navigation
Jump to search
m Use <onlyinclude> |
Add `nowrap` parameter |
||
| Line 1: | Line 1: | ||
<onlyinclude><span style="font-family: serif; font-size: 125%;">{{{1}}}</span></onlyinclude> | <onlyinclude><span style="font-family: serif; font-size: 125%;{{ifdef|{{{nowrap|<noinclude>1</noinclude>}}}|<nowiki/> white-space: nowrap;}}">{{{1}}}</span></onlyinclude> | ||
<templatedata> | <templatedata> | ||
{ | { | ||
| Line 11: | Line 11: | ||
"required": true, | "required": true, | ||
"type": "string" | "type": "string" | ||
}, | |||
"nowrap": { | |||
"label": "No Wrap?", | |||
"description": "Whether to prevent text wrapping", | |||
"default": "0", | |||
"autovalue": "1", | |||
"type": "boolean" | |||
} | } | ||
} | } | ||
} | } | ||
</templatedata> | </templatedata> | ||
Latest revision as of 14:49, 17 April 2026
{{{1}}}
Adds formatting for mathematical formulae and variables
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| Formula or variable | 1 | The formula or variable to display
| String | required |
| No Wrap? | nowrap | Whether to prevent text wrapping
| Boolean | optional |