Template:Quote box: Difference between revisions

Content added Content deleted
No edit summary
mNo edit summary
 
(3 intermediate revisions by the same user not shown)
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: #1c1c1c}};
{{#if: {{{bgcolor|}}}|background-color: {{{bgcolor}}}|background-color: #1c1c1c}};
Line 14: Line 14:
{{#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 48: Line 48:
<cite style="
<cite style="
display: block;
display: block;
text-align: {{ifempty|{{{salign|}}}|{{{qalign|}}}|{{{halign|}}}|left}};
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>}}
{{{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><noinclude>
</div><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.