Template:Blockquote: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
<includeonly>{{#if: {{{image|}}} {{{4|}}} | <div class="nomobile noexcerpt" style="display: flex; align-items: center;">}}<blockquote class="bg3wiki-bquote" {{#if: {{{style|}}}|style="{{{style}}}"}}><span class="bg3wiki-blockquote-marks" style="vertical-align: top;"> “ </span>{{{1|Error! Must include quote!}}}<span class="bg3wiki-blockquote-marks" style="vertical-align: bottom;"> „ </span>{{#if: {{{author|}}} {{{2|}}} {{{3|}}}| <div class="bg3wiki-quotesource">— <cite>{{{author|{{{2}}}}}} {{#if: {{{ref|}}} {{{3|}}} | {{ref|{{{ref|{{{3}}}}}}}}}}</cite></div>}}</blockquote>{{#if: {{{image|}}} {{{4|}}} | | <includeonly>{{#if: {{{image|}}} {{{4|}}} | <div class="nomobile noexcerpt" style="display: flex; align-items: center;">}}<blockquote class="bg3wiki-bquote" {{#if: {{{style|}}} {{{align|}}}|style="{{{style|text-align:{{{align}}};}}}"}}><span class="bg3wiki-blockquote-marks" style="vertical-align: top;"> “ </span>{{{1|Error! Must include quote!}}}<span class="bg3wiki-blockquote-marks" style="vertical-align: bottom;"> „ </span>{{#if: {{{author|}}} {{{2|}}} {{{3|}}}| <div class="bg3wiki-quotesource">— <cite>{{{author|{{{2}}}}}} {{#if: {{{ref|}}} {{{3|}}} | {{ref|{{{ref|{{{3}}}}}}}}}}</cite></div>}}</blockquote>{{#if: {{{image|}}} {{{4|}}} | | ||
<div style="margin-right: 60px;">[[File:{{{image|{{{4}}}}}}|64px]]</div> | <div style="margin-right: 60px;">[[File:{{{image|{{{4}}}}}}|64px]]</div> | ||
</div>}}</includeonly><noinclude>{{documentation|content=Adds a blockquote. | </div>}}</includeonly><noinclude>{{documentation|content=Adds a blockquote. | ||
Line 11: | Line 11: | ||
; Result | ; Result | ||
{{blockquote|This is a quote.}} | {{blockquote|This is a quote.}} | ||
<pre> | |||
{{blockquote|This is a quote.|align=center}} | |||
</pre> | |||
; Result | |||
{{blockquote|This is a quote.|align=center}} | |||
=== Example 2 === | === Example 2 === | ||
<pre> | <pre> | ||
Line 63: | Line 71: | ||
"label": "Ref", | "label": "Ref", | ||
"description": "Adds a reference tag" | "description": "Adds a reference tag" | ||
}, | |||
"align": { | |||
"label": "Alignment", | |||
"description": "Left, center or right." | |||
} | } | ||
}, | }, | ||
Line 70: | Line 82: | ||
"style", | "style", | ||
"author", | "author", | ||
"ref" | "ref", | ||
"align" | |||
] | ] | ||
} | } | ||
</templatedata>}} | </templatedata>}} | ||
</noinclude> | </noinclude> |