Difference between revisions of "Template:Quote box"

From THCCwiki
Jump to navigation Jump to search
(page for a posher quote)
 
Line 1: Line 1:
<div class="quotebox" style="
+
{| class="cquote" style="margin:auto; border-collapse: collapse; border: none; background-color: {{{bgcolor|transparent}}}; width: {{#if: {{{wide|}}} | 100% | auto}}; {{#if: {{{bgcolor|}}} | border: 1px solid #AAAAAA;}}"
    {{#switch: {{lc:{{{align|}}}}}  
+
| width="20" valign="top" style="border:none; color:#B2B7F2;font-size:{{#switch:{{{size|{{{2|{{{quotewidth|{{{width|20px}}}}}}}}}}}}
        | center = margin: auto;  
+
|10px=20px
        | left = float: left; clear: left; margin: 0.5em 1.4em 0.8em 0;
+
|30px=60px
        | right = float: right; clear: right; margin: 0.5em 0 0.8em 1.4em;  
+
|40px=80px
        | none =  
+
|50px=100px
        | float: left; clear: left; margin: 0.5em 1.4em 0.8em 0;
+
|60px=120px
    }}
+
|#default=35px}};font-family: 'Times New Roman', serif; font-weight: bold; text-align: left; padding: 10px 10px;" | “
    {{#if:{{{width|<noinclude>1</noinclude>}}} | width: {{{width|<noinclude>30em</noinclude>}}};}}  
+
| valign="top" style="border: none; padding: 4px 10px;" | {{{text|{{{1|Insert the text of the quote here, without quotation marks. <noinclude>{{lorem ipsum}}</noinclude>}}}}}}
    padding: 6px;  
+
| width="20" valign="bottom" style="border: none; color: #B2B7F2; font-size: {{#switch:{{{size|{{{2|{{{quotewidth|{{{width|20px}}}}}}}}}}}}
    border: {{{border|1px}}} solid #aaa;
+
|10px=20px
    font-size: {{{fontsize|88%}}};
+
|30px=60px
    background-color: {{{bgcolor|#F9F9F9}}};  
+
|40px=80px
    {{{style|}}}">
+
|50px=100px
{{#if:{{{title|<noinclude>1</noinclude>}}}
+
|60px=120px
    |<div style="
+
|#default=35px}}; font-family: 'Times New Roman', serif; font-weight: bold; text-align: right; padding: 10px 10px;" | ”
        background: {{{title_bg|{{{bgcolor|#F9F9F9}}}}}};
+
|-
        color:{{{title_fnt|black}}};
+
{{#if:{{{4|{{{author|}}}}}}{{{5|{{{source|{{{publication|}}}}}}}}}|
        text-align: center;
+
{{!}} colspan="3" class="cquotecite" style="border: none; padding-right: 4%" {{!}} {{#if:{{{4|{{{author|<noinclude>Origin</noinclude>}}}}}}|<p style="font-size: smaller; text-align: right;"><cite style="font-style: normal;">—{{{4|{{{author}}}}}}{{#if:{{{5|{{{source|{{{publication|<noinclude>Source</noinclude>}}}}}}}}}|, {{{5|{{{source|{{{publication}}}}}}}}}}}</cite></p>}}
        font-size: larger;
 
        font-weight: bold;
 
        {{{tstyle|}}}">{{{title|<noinclude>Test Title</noinclude>}}}</div>  
 
 
}}
 
}}
<div style="
+
|}<!-- {{subst:FULLPAGENAME}} -->
    position: relative;
+
{{#if:{{NAMESPACE}}||{{#if:{{{4|{{{author|}}}}}}{{{5|{{{source|{{{publication|}}}}}}}}}|[[Category:Articles with attributed pull quotes]]}}}}
    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>
 

Revision as of 17:44, 17 December 2011

Insert the text of the quote here, without quotation marks. Template:Lorem ipsum