Template:Quote box
From WikiBrite: The Rainbow Brite WIki
(Difference between revisions)
(Created page with '{{Quote box |title = |quote = |source = |align = |width = |border = |fontsize = |bgcolor = |style = |title_bg = |title_fnt = |tstyle = |qalign = |qstyl…') |
|||
Line 1: | Line 1: | ||
- | {{ | + | <div style=" |
- | + | {{#switch: {{lc:{{{align|}}}}} | |
- | + | | center = margin: auto; | |
- | + | | left = float: left; clear: left; margin: 0.5em 1.4em 0.8em 0; | |
- | + | | float: right; clear: right; margin: 0.5em 0 0.8em 1.4em; | |
- | + | }} | |
- | + | {{#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|}}}"> | |
- | + | {{#if:{{{title|<noinclude>1</noinclude>}}} | |
- | + | |<div style=" | |
- | + | background: {{{title_bg|{{{bgcolor|#F9F9F9}}}}}}; | |
- | + | color:{{{title_fnt|black}}}; | |
- | + | 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|}}}"> | ||
+ | <div {{#if:{{{quoted|}}}|style="margin:0px 2em;"}}> | ||
+ | {{{quote|{{{1}}} }}} | ||
+ | </div> | ||
+ | {{#if:{{{quoted|}}} | ||
+ | |<div style=" | ||
+ | position: absolute; | ||
+ | left: 0px; top: 0px; | ||
+ | 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> | ||
+ | </noinclude> |
Current revision as of 18:06, 16 May 2010
Test Title
{{{1}}}
--the source