Template:Quote box: Difference between revisions
From Research Realm
No edit summary |
(Undo revision 80 by Ringtail Raider (talk)) Tag: Undo |
||
Line 1: | Line 1: | ||
<div class="quotebox pullquote | <div class="quotebox pullquote {{#switch: {{lc:{{{align|}}}}} | ||
| center = centered | |||
| center = | | left = floatleft | ||
| left = | |||
| none = | | none = | ||
| | | floatright | ||
}} | }} {{{class|}}}" style=" | ||
{{#if:{{{width|}}} |width:{{{width}}};}} | {{#if:{{{width|}}} |width:{{{width}}};}} | ||
{{#ifeq:{{{border}}}|none|border:none;|{{#if:{{{border|}}}|border-width: {{{border}}}}};}} | |||
{{#if:{{{fontsize|}}}|font-size: {{{fontsize}}};}} | |||
{{#if:{{{bgcolor|}}}|background-color: {{#ifeq:{{{bgcolor|}}}|none|transparent|{{{bgcolor}}}}};}} | |||
{{#if: {{{bgcolor|}}}|background-color: {{{bgcolor}}}| | |||
{{{style|}}}"> | {{{style|}}}"> | ||
{{#if:{{{title|}}} | {{#if:{{{title|}}} | ||
|<div class="{{{tclass|}}}" style=" | |<div class="quotebox-title {{{tclass|}}}" style=" | ||
{{#if: {{{title_bg|}}}|background-color: {{{title_bg | {{#if:{{{title_bg|{{{bgcolor|}}}}}}|background-color: {{#ifeq:{{{title_bg|{{{bgcolor}}}}}}|none|transparent|{{{title_bg|{{{bgcolor}}}}}}}};}} | ||
{{#if: {{{title_fnt|}}}|color: {{{title_fnt}}} | {{#if:{{{title_fnt|}}}|color: {{{title_fnt}}};}} | ||
{{{tstyle|}}}">{{{title}}}</div> | {{{tstyle|}}}">{{{title}}}</div> | ||
}} | }} | ||
< | <blockquote class="quotebox-quote {{main other||{{#if:{{{quoted|}}}|quoted}}}} {{#switch: {{lc:{{{qalign|{{{halign|left}}}}}}}} | ||
|right = right-aligned | |||
|center = center-aligned | |||
|left-aligned | |||
}} {{{qclass|}}}" style=" | |||
{{{qstyle|}}}"> | {{{qstyle|}}}"> | ||
{{{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>}}}}}}}}}}}}}}} | |||
</blockquote> | |||
{{#if:{{{author|{{{source|}}}}}}{{{2|}}}{{{3|}}}|<cite class="{{#switch: {{lc:{{{salign|{{{qalign|{{{halign|left}}} }}} }}} }} | |||
|right = right-aligned | |||
|center = center-aligned | |||
|left-aligned | |||
}}" style="{{{sstyle|}}}"><!--Manually inserted dashes will need to be removed from uses of the template first, I guess, then enable this:--><!--— -->{{{author|{{{2|}}}}}}{{#if:{{{author|}}}{{{2|}}}|{{#if:{{{source|}}}{{{3|}}}|<!--Display comma-space only if both cite parameters are present.-->, }}}}{{{source|{{{3|}}}}}}</cite>}} | |||
{{#if:{{{author|{{{source|}}}}}}{{{2|}}}{{{3|}}}| | |||
<cite | |||
</div> | </div> |
Revision as of 06:13, 19 January 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.