Difference between revisions of "Template:SmQuote/doc"

From WikiCorporates
Jump to navigation Jump to search
(→‎Usage)
Line 5: Line 5:
 
<pre>
 
<pre>
 
{{SmQuote
 
{{SmQuote
−
|ml=0.5em Optional. Defaults to 1.5em if no parameter is passed.
+
|ml=0.5 Optional. Defaults to 1.5em if no parameter is passed.
−
|text     The message text.
+
|text   The message text.
 
}}
 
}}
 
</pre>
 
</pre>

Revision as of 16:50, 23 October 2019

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.
|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