Template:Quote box: Difference between revisions

m
no edit summary
m (1 revision imported: Templates)
mNo edit summary
 
(6 intermediate revisions by 2 users not shown)
Line 1:
<includeonly><div class="quotebox {{{class|}}}" style="
{{#switch: {{lc:{{{align|}}}}}
| center = margin: auto;
Line 8:
{{#if:{{{width|}}} |width:{{{width}}};}}
padding: 6px;
border: {{#if: {{{border|}}}|{{{border}}}|1px}} solid #aaa{{accent color}};
font-size: {{#if: {{{fontsize|}}}|{{{fontsize}}}|88%}};
{{#if: {{{bgcolor|}}}|background-color: {{{bgcolor}}}|background-color: #F9F9F91c1c1c}};
{{{style|}}}">
{{#if:{{{title|}}}
|<div class="{{{tclass|}}}" style="
{{#if: {{{title_bg|}}}|background-color: {{{title_bg}}}|{{#if: {{{bgcolor|}}}|background-color: {{{bgcolor}}}|background-color: #F9F9F9transparent}}}};
{{#if: {{{title_fnt|}}}|color: {{{title_fnt}}}|color: blackwhite}};
text-align: center;
font-size: larger;
Line 26:
{{{qstyle|}}}">
<div {{#if:{{{quoted|}}}|style="margin:0px 2em;"}}>
{{{text|{{{content|{{{quotetext|{{{quote|{{{1|<includeonly>{{error|Error: No text given for quotation (or equals sign used in the actual argument to an unnamed parameter)}}</includeonly><noinclude>{{lorem ipsum}}</noinclude>}}}}}}}}}}}}}}}
{{{quote|{{{1|}}} }}}
</div>
{{#if:{{{quoted|}}}
Line 45:
font-size: large;
color: gray;">”</div>
}}</div>{{#if:{{{author|{{{source|}}}}}}{{{2|}}}{{{3|}}}|
}}</div>
<divcite style="
display: block;
text-align: {{ifempty|{{{salign|}}}|{{{qalign|}}}|{{{halign|}}}|left}};
text-align: {{ifempty|{sstyle{{salign|}}}">|{{{sourceqalign|}}}|{{{2halign|}}} |right}}}</div>;
{{{sstyle|}}}"><!--Manually inserted dashes will need to be removed from uses of the template first, I guess, then enable this:--><!--—&thinsp;-->{{{author|{{{2|}}}}}}{{#if:{{{author|}}}{{{2|}}}|{{#if:{{{source|}}}{{{3|}}}|<!--Display comma-space only if both cite parameters are present.-->,&#32;}}}}{{{source|{{{3|}}}}}}</cite>}}
</div></includeonly><noinclude>
{{Documentation}}
</noinclude>