Difference between revisions of "Template:SmQuote"

From WikiCorporates
Jump to navigation Jump to search
Line 1: Line 1:
 
<table style="
 
<table style="
−
{{#if:{{{ml|}}}|margin-left:{{{ml}}}px;|margin-left:1.5em;}} background:#f5f5ff; border:1px solid #8488dc; border-left:6px solid #8488dc;">
+
{{#if:{{{ml|}}}|margin-left:{{{ml}}}em;|margin-left:1.5em;}} background:#f5f5ff; border:1px solid #8488dc; border-left:6px solid #8488dc;">
 
<tr><td style="padding:0 0.6em;">{{{1}}}</td></tr>
 
<tr><td style="padding:0 0.6em;">{{{1}}}</td></tr>
 
</table><noinclude>{{doc2}}</noinclude>
 
</table><noinclude>{{doc2}}</noinclude>

Revision as of 16:49, 23 October 2019

{{{1}}}

[edit] Documentation

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