Template:Quotebox: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
(One intermediate revision by the same user not shown) | |||
Line 1: | Line 1: | ||
<templatestyles src="Quotebox/styles.css" /> | <templatestyles src="Quotebox/styles.css" /> | ||
<!-- Params: 1/text, 2/author, source, align, width, variant --> | <!-- Params: 1/text, 2/author, source, align, width, variant --> | ||
<div class="gw-quotebox gw-variant-{{{variant|rose}}} gw-align-{{{align|center}}}" style="{{#if:{{{width|}}}|max-width:{{{width}}};|}}"> | <div class="gw-quotebox gw-variant-{{{variant|rose}}} gw-align-{{{align|center}}}" | ||
< | style="{{#if:{{{width|}}}|max-width:{{{width}}};|}}"> | ||
{{#if:{{{author|{{{2|}}}}}}|<div class="gw-quote-meta"><span class="gw-quote-author">— {{{author|{{{2|}}}}}}</span>{{#if:{{{source|}}|<span class="gw-quote-source"> · {{{source}}}</span>|}}</div>|}} | <blockquote class="gw-quote-body"> | ||
{{{text|{{{1|}}}}}} | |||
</blockquote> | |||
{{#if:{{{author|{{{2|}}}}}}| | |||
<div class="gw-quote-meta"> | |||
<span class="gw-quote-author">— {{{author|{{{2|}}}}}}</span>{{#if:{{{source|}}|<span class="gw-quote-source"> · {{{source}}}</span>|}} | |||
</div> | |||
|}} | |||
</div> | </div> |