Difference between revisions of "Template:SmQuote/doc"

From WikiCorporates
Jump to navigation Jump to search
(Created page with "x <includeonly>Category:WikiPolitiks templates</includeonly>")
 
 
(7 intermediate revisions by the same user not shown)
Line 1: Line 1:
−
x
+
Small template to generate eye-catching messages, mostly used in the top section of an article.
 +
Expands to the available width.
  
−
<includeonly>[[Category:WikiPolitiks templates]]</includeonly>
+
=== Usage ===
 +
<pre>
 +
{{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.
 +
}}
 +
</pre>
 +
 
 +
Gives:
 +
{{SmQuote|ml=0.5|<b>Govt Subsidies: </b> [[File:Money-subsidy.svg|51x30px|right]] Despite not paying ''one.single.penny'' of tax since 2010, Care UK has received govt grants of ~£2m towards the development of residential homes.{{plink|https://beta.companieshouse.gov.uk/company/07158140 AR-2017, p.52}} }}
 +
 
 +
<includeonly>[[Category:WikiCorporates templates]]</includeonly>

Latest revision as of 13:58, 30 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:
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