Template:Quoter: Difference between revisions
Jump to navigation
Jump to search
(Created page with "<templatestyles src="Template:Quote_box/styles.css" /><div class="quotebox pullquote {{#switch: {{lc:{{{align|}}}}} | center = centered | left = floatleft | none = | floatright }} {{{class|}}}" style=" {{#if:{{{width|}}} |width:{{{width}}};}} {{#ifeq:{{{border}}}|none|border:none;|{{#if:{{{border|}}}|border-width: {{{border}}}}};}} {{#if:{{{fontsize|}}}|font-size: {{{fontsize}}};}} {{#if:{{{bgcolor|}}}|background-c...") |
No edit summary |
||
(One intermediate revision by the same user not shown) | |||
Line 1: | Line 1: | ||
< | <div class="quotebox" style=" | ||
| center = | {{#switch: {{lc:{{{align|}}}}} | ||
| left = | | center = margin: auto; | ||
| left = float: left; clear: left; margin: 0.5em 1.4em 0.8em 0; | |||
| none = | | none = | ||
| | | float: right; clear: right; margin: 0.5em 0 0.8em 1.4em; | ||
}} | }} | ||
{{#if:{{{width|}}} |width:{{{width}}};}} | {{#if:{{{width|<noinclude>1</noinclude>}}} | width: {{{width|<noinclude>30em</noinclude>}}};}} | ||
padding: 6px; | |||
border: {{{border|1px}}} solid #aaa; | |||
font-size: {{{fontsize|88%}}}; | |||
background-color: {{{bgcolor|#F9F9F9}}}; | |||
{{{style|}}}"> | {{{style|}}}"> | ||
{{#if:{{{title|}}} | {{#if:{{{title|<noinclude>1</noinclude>}}} | ||
|<div | |<div style=" | ||
background: {{{title_bg|{{{bgcolor|#F9F9F9}}}}}}; | |||
color:{{{title_fnt|black}}}; | |||
{{{tstyle|}}}">{{{title}}}</div> | text-align: center; | ||
font-size: larger; | |||
font-weight: bold; | |||
{{{tstyle|}}}">{{{title|<noinclude>Test Title</noinclude>}}}</div> | |||
}} | }} | ||
< | <div style=" | ||
position: relative; | |||
text-align: {{{qalign|{{{halign|left}}}}}}; | |||
{{{qstyle|}}}"> | {{{qstyle|}}}"> | ||
{{ | <div {{#if:{{{quoted|}}}|style="margin:0px 2em;"}}> | ||
</ | {{{quote|{{{1|<noinclude>{{lorem ipsum}}</noinclude>}}} }}} | ||
{{#if:{{{ | </div> | ||
{{#if:{{{quoted|}}} | |||
|<div style=" | |||
position: absolute; | |||
left: 0px; top: 0px; | |||
</div> | text-align: left; | ||
{{ | font-family:'Times New Roman',serif; | ||
font-weight:bold; | |||
font-size: large; | |||
color: gray;">“</div> | |||
<div style=" | |||
position: absolute; | |||
right: 0px; bottom: 0px; | |||
text-align: left; | |||
font-family:'Times New Roman',serif; | |||
font-weight:bold; | |||
font-size: large; | |||
color: gray;">”</div> | |||
}}</div> | |||
<div style=" | |||
text-align: {{{salign|{{{qalign|{{{halign|left}}}}}}}}}; | |||
{{{sstyle|}}}">{{{source|{{{2|<noinclude>--the source</noinclude>}}} }}}</div> | |||
</div><noinclude> | |||
{{documentation}} | |||
</noinclude> | </noinclude> |