Template:Blockquote: Difference between revisions

Jump to navigation Jump to search
no edit summary
No edit summary
No edit summary
 
(12 intermediate revisions by the same user not shown)
Line 1: Line 1:
<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">—&nbsp;<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 noexcerpt" {{#if: {{{style|}}} {{{align|}}}|style="{{{style|text-align:{{{align}}};}}}"}}>{{#if: {{{addquotes|}}} | <span class="bg3wiki-blockquote-marks">“</span>}}{{{1|Error! Must include quote!}}}{{#if: {{{addquotes|}}} | <span class="bg3wiki-blockquote-marks"></span>}}{{#if: {{{author|}}} {{{2|}}}| <div class="bg3wiki-quotesource">—&nbsp;<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.}}
; Wikitext
<pre>
{{blockquote|This is a quote.|addquotes=1}}
</pre>
; Result
{{blockquote|This is a quote.|addquotes=1}}


; Wikitext
; Wikitext
Line 30: Line 38:
; Wikitext
; Wikitext
<pre>
<pre>
{{blockquote|This is a quote.|Perry|image=Book Tome Y Item Icon.png}}
{{blockquote|This is a quote. This example also has an image, and works with or without an author.|image=Book Tome Y Item Icon.png}}
</pre>
</pre>


; Result
; Result
{{blockquote|This is a quote.|Perry|image=Book Tome Y Item Icon.png}}
{{blockquote|This is a quote. This example also has an image, and works with or without an author.|image=Book Tome Y Item Icon.png}}


[[Category: Templates]]
[[Category: Templates]]
8,856
edits

Navigation menu