.

Template talk:Quote box: Difference between revisions

Wikicars, a place to share your automotive knowledge
Jump to navigationJump to search
mNo edit summary
 
mNo edit summary
Line 1: Line 1:
<div style="
c
    {{#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|<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}}
[[Category:Templates]]
</noinclude>

Revision as of 07:21, 10 July 2010

c