Difference between revisions of "Template:SmQuote"

From WikiCorporates
Jump to navigation Jump to search
m
 
(6 intermediate revisions by the same user not shown)
Line 1: Line 1:
−
<div style="width:{{{1}}}; padding-left:0.6em; border:1px solid #8488dc; border-left:6px solid #8488dc; background:#f5f5ff; font-size:105%;">{{{2}}}</div><noinclude>[[Category:WikiPolitiks templates]]</noinclude>
+
<table style="padding: 3px 0 3px 0;
 +
{{#if:{{{ml|}}}|margin-left:{{{ml}}}em;|margin-left:1.5em;}} {{#if:{{{mt|}}}|margin-top:{{{mt}}}em;|}} background:#f5f5ff; border:1px solid #8488dc; border-left:6px solid #8488dc;">
 +
<tr><td style="padding:0 0.6em;">{{{1}}}</td></tr>
 +
</table><noinclude>{{doc2}}</noinclude>

Latest revision as of 17:37, 15 February 2021

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