Difference between revisions of "Template:SmQuote/doc"
Jump to navigation
Jump to search
(→Usage) |
(→Usage) |
||
| Line 5: | Line 5: | ||
<pre> | <pre> | ||
{{SmQuote | {{SmQuote | ||
| − | |ml=0.5 Optional. Defaults to 1.5em if no parameter is passed. | + | |ml=0.5 Left margin. Optional. Defaults to 1.5em if no parameter is passed. |
| − | |mt=1.5 Optional. Defaults to 0em if no parameter is passed. | + | |mt=1.5 Top margin. Optional. Defaults to 0em if no parameter is passed. |
|text The message text. | |text The message text. | ||
}} | }} | ||
Revision as of 09:14, 9 May 2020
Small template to generate eye-catching messages, mostly used in the top section of an article. Expands to the available width.
Usage
{{SmQuote
|ml=0.5 Left margin. Optional. Defaults to 1.5em if no parameter is passed.
|mt=1.5 Top margin. Optional. Defaults to 0em if no parameter is passed.
|text The message text.
}}
Gives:
| Govt Subsidies: Despite not paying one.single.penny of tax since 2010, Care UK has received govt grants of ~£2m towards the development of residential homes.AR-2017, p.52 |