Difference between revisions of "Template:Quote box"

From CLOKwiki
Jump to navigationJump to search
(Created page with "<div class="quotebox" style=" {{#switch: {{lc:{{{align|}}}}} | center = margin: auto; | left = float: left; clear: left; margin: 0.5em 1.4em 0.8em 0; ...")
 
(Replaced content with "<blockquote style="background-color: 0; border: solid thin grey; padding: 3px;"> {{{quote|Quote}}} </blockquote>")
Line 1: Line 1:
<div class="quotebox" style="
+
<blockquote style="background-color: 0; border: solid thin grey; padding: 3px;">
    {{#switch: {{lc:{{{align|}}}}}
+
{{{quote|Quote}}}
        | center = margin: auto;
+
</blockquote>
        | left = float: left; clear: left; margin: 0.5em 1.4em 0.8em 0;
 
        | none =
 
        | 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|<noinclude>{{lorem ipsum}}</noinclude>}}} }}}
 
</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>
 
{{documentation}}
 
</noinclude>
 

Revision as of 15:46, 3 September 2013

Quote