Difference between revisions of "Template:SmQuote/doc"

From WikiCorporates
Jump to navigation Jump to search
(→‎Usage)
(→‎Usage)
Line 6: Line 6:
 
{{SmQuote
 
{{SmQuote
 
|ml=0.5  Optional. Defaults to 1.5em if no parameter is passed.
 
|ml=0.5  Optional. Defaults to 1.5em if no parameter is passed.
 +
|mt=1.5  Optional. Defaults to 0em if no parameter is passed.
 
|text    The message text.
 
|text    The message text.
 
}}
 
}}

Revision as of 04:55, 25 January 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  Optional. Defaults to 1.5em if no parameter is passed.
|mt=1.5  Optional. Defaults to 0em if no parameter is passed.
|text    The message text.
}}

Gives:

Govt Subsidies:
Money-subsidy.svg
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