Template:Quote box: Difference between revisions

Content added Content deleted
m (1 revision imported: Templates)
mNo edit summary
 
(6 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<includeonly><div class="quotebox {{{class|}}}" style="
<div class="quotebox {{{class|}}}" style="
{{#switch: {{lc:{{{align|}}}}}
{{#switch: {{lc:{{{align|}}}}}
| center = margin: auto;
| center = margin: auto;
Line 8: Line 8:
{{#if:{{{width|}}} |width:{{{width}}};}}
{{#if:{{{width|}}} |width:{{{width}}};}}
padding: 6px;
padding: 6px;
border: {{#if: {{{border|}}}|{{{border}}}|1px}} solid #aaa;
border: {{#if: {{{border|}}}|{{{border}}}|1px}} solid {{accent color}};
font-size: {{#if: {{{fontsize|}}}|{{{fontsize}}}|88%}};
font-size: {{#if: {{{fontsize|}}}|{{{fontsize}}}|88%}};
{{#if: {{{bgcolor|}}}|background-color: {{{bgcolor}}}|background-color: #F9F9F9}};
{{#if: {{{bgcolor|}}}|background-color: {{{bgcolor}}}|background-color: #1c1c1c}};
{{{style|}}}">
{{{style|}}}">
{{#if:{{{title|}}}
{{#if:{{{title|}}}
|<div class="{{{tclass|}}}" style="
|<div class="{{{tclass|}}}" style="
{{#if: {{{title_bg|}}}|background-color: {{{title_bg}}}|{{#if: {{{bgcolor|}}}|background-color: {{{bgcolor}}}|background-color: #F9F9F9}}}};
{{#if: {{{title_bg|}}}|background-color: {{{title_bg}}}|{{#if: {{{bgcolor|}}}|background-color: {{{bgcolor}}}|background-color: transparent}}}};
{{#if: {{{title_fnt|}}}|color: {{{title_fnt}}}|color: black}};
{{#if: {{{title_fnt|}}}|color: {{{title_fnt}}}|color: white}};
text-align: center;
text-align: center;
font-size: larger;
font-size: larger;
Line 26: Line 26:
{{{qstyle|}}}">
{{{qstyle|}}}">
<div {{#if:{{{quoted|}}}|style="margin:0px 2em;"}}>
<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>
</div>
{{#if:{{{quoted|}}}
{{#if:{{{quoted|}}}
Line 45: Line 45:
font-size: large;
font-size: large;
color: gray;">”</div>
color: gray;">”</div>
}}</div>{{#if:{{{author|{{{source|}}}}}}{{{2|}}}{{{3|}}}|
}}</div>
<div style="
<cite style="
display: block;
text-align: {{ifempty|{{{salign|}}}|{{{qalign|}}}|{{{halign|}}}|left}};
{{{sstyle|}}}">{{{source|{{{2|}}} }}}</div>
text-align: {{ifempty|{{{salign|}}}|{{{qalign|}}}|{{{halign|}}}|right}};
{{{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>
</div><noinclude>
{{Documentation}}
{{Documentation}}
</noinclude>
</noinclude>

Latest revision as of 07:59, 5 September 2023

Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.