Template:Quote box: Difference between revisions
From Research Realm
(Undo revision 80 by Ringtail Raider (talk)) Tag: Undo |
(Undo revision 81 by Ringtail Raider (talk)) Tag: Undo |
||
Line 1: | Line 1: | ||
<div class="quotebox pullquote {{#switch: {{lc:{{{align|}}}}} | <div class="quotebox pullquote {{{class|}}}" style=" | ||
| center = | {{#switch: {{lc:{{{align|}}}}} | ||
| left = | | center = margin: auto; | ||
| left = float: left; clear: left; margin: 0.5em 1.4em 0.8em 0; | |||
| none = | | none = | ||
| | | float: right; clear: right; margin: 0.5em 0 0.8em 1.4em; | ||
}} | }} | ||
{{#if:{{{width|}}} |width:{{{width}}};}} | {{#if:{{{width|}}} |width:{{{width}}};}} | ||
padding: 10px; | |||
{{#if:{{{fontsize|}}}| | border: {{#if: {{{border|}}}|{{{border}}}|1px}} solid #aaa; | ||
{{#if:{{{bgcolor|}}}|background-color | font-size: {{#if: {{{fontsize|}}}|{{{fontsize}}}|88%}}; | ||
{{#if: {{{bgcolor|}}}|background-color: {{{bgcolor}}}|background-color: #F9F9F9}}; | |||
{{{style|}}}"> | {{{style|}}}"> | ||
{{#if:{{{title|}}} | {{#if:{{{title|}}} | ||
|<div class=" | |<div class="{{{tclass|}}}" style=" | ||
{{#if:{{{title_bg| | {{#if: {{{title_bg|}}}|background-color: {{{title_bg}}}|{{#if: {{{bgcolor|}}}|background-color: {{{bgcolor}}}|background-color: #F9F9F9}}}}; | ||
{{#if:{{{title_fnt|}}}|color: {{{title_fnt}}} | {{#if: {{{title_fnt|}}}|color: {{{title_fnt}}}|color: black}}; | ||
text-align: center; | |||
font-size: larger; | |||
font-weight: bold; | |||
{{{tstyle|}}}">{{{title}}}</div> | {{{tstyle|}}}">{{{title}}}</div> | ||
}} | }} | ||
< | <div class="{{{qclass|}}}" style=" | ||
position: relative; | |||
text-align: {{#if: {{{qalign|}}}|{{{qalign}}}|{{#if: {{{halign|}}}|{{{halign|}}}|left}}}}; | |||
{{{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>}}}}}}}}}}}}}}} | <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>}}}}}}}}}}}}}}}<!-- | ||
{{#if:{{{author|{{{source|}}}}}}{{{2|}}}{{{3|}}}|<cite | --></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> | |||
{{#if:{{{author|{{{source|}}}}}}{{{2|}}}{{{3|}}}| | |||
<cite style=" | |||
display: block; | |||
text-align: {{ifempty|{{{salign|}}}|{{{qalign|}}}|{{{halign|}}}|left}}; | |||
{{{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>}} | |||
</div> | </div> |
Revision as of 06:17, 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.