Template:Blockquote: Difference between revisions

Nothing to hide, but nothing to show you either.
Jump to navigation Jump to search
Content added Content deleted
(Tune up: Rm. dead code; code cleanup; adding parameter aliases for easier conversion from abused Template:Pull quote, narrow nobreak space after mdash, etc. - see recent sandbox history for the changes in detail (they do not affect display in any way))
m (126 revisions imported from wikipedia:Template:Blockquote)
 
(30 intermediate revisions by 14 users not shown)
Line 1: Line 1:
<templatestyles src="Template:Blockquote/styles.css" /><!--
<blockquote class="templatequote" {{#if:{{{style|}}}|style="{{{style}}}"}}>{{{text|{{{quote|{{{quotetext|{{{content|{{{1|<includeonly>{{error|Error: No text given for quotation (or equals sign used in the actual argument to an unnamed parameter)}}</includeonly>}}}}}}}}}}}}}}}{{#if:{{{sign|{{{cite|{{{author|{{{by|{{{personquoted|{{{source|{{{ts|{{{title|{{{publication|{{{quotesource|}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}<!--Next two must remain separate, or will not catch empty unnamed parameters.-->{{{2|}}}{{{3|}}}|<cite><div class="templatequotecite">—&#8239;{{Comma separated entries
--><blockquote class="templatequote {{{class|}}}" {{#if:{{{style|}}}|style="{{{style}}}"}}>{{{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)}}{{main other|[[Category:Pages incorrectly using the quote template]]}}</includeonly><noinclude>{{lorem ipsum}}</noinclude>}}}}}}}}}}}}}}}{{#if:{{{sign|}}}{{{cite|}}}{{{author|}}}{{{by|}}}{{{personquoted|}}}{{{source|}}}{{{ts|}}}{{{title|}}}{{{publication|}}}{{{quotesource|}}}{{{char|}}}{{{character|}}}{{{2|}}}{{{3|}}}{{{4|}}}{{{5|}}}|{{#if:{{{multiline|}}}|<nowiki />}}
| {{{sign|{{{cite|{{{author|{{{by|{{{personquoted|{{{2|}}}}}}}}}}}}}}}}}}
<div class="templatequotecite">—&thinsp;<cite>{{#if:{{{char|{{{character|{{{5|}}}}}}}}}|{{{char|{{{character|{{{5|}}}}}}}}}, in&#32;}}{{Comma separated entries
| {{#if:{{{source|{{{ts|{{{title|{{{publication|{{{quotesource|}}}}}}}}}}}}}}}<!--Keep next one separate.-->{{{3|}}}|{{{source|{{{ts|{{{title|{{{publication|{{{quotesource|{{{3}}}}}}}}}}}}}}}}}}}}
| {{if empty|{{{sign|}}}|{{{cite|}}}|{{{author|}}}|{{{by|}}}|{{{personquoted|}}}|{{{2|}}}}}
}}</div></cite>
| {{if empty|{{{title|}}}|{{{publication|}}}|{{{ts|}}}|{{{quotesource|}}}|{{{3|}}}}}
}}
| {{if empty|{{{source|}}}|{{{4|}}}}}
</blockquote>{{#if:{{{class|}}}{{{id|}}}{{{diff|}}}{{{4|}}}{{{5|}}}|[[Category:Pages incorrectly using the quote template]]}}<noinclude>{{{{PAGENAME}}|{{lorem}}|Jane Doe|"My Dinner with Alien Invaders"}}
}}</cite></div>
}}</blockquote>{{#if:{{{class|}}}{{{id|}}}{{{diff|}}}{{{4|}}}{{{5|}}}|{{main other|[[Category:Pages incorrectly using the quote template]]}}}}{{#invoke:Check for unknown parameters|check|unknown={{main other|[[Category:Pages using quote template with unknown parameters|_VALUE_{{PAGENAME}}]]}}|preview=Page using [[Template:Quote]] with unknown parameter "_VALUE_"|ignoreblank=y| 1 | 2 | 3 | 4 | 5 | author | by | char | character | cite | class | content | diff | id | multiline | personquoted | publication | quote | quotesource | quotetext | sign | source | style | text | title | ts }}<noinclude>
{{documentation}}<!-- Add categories to the /doc subpage, not here! -->
{{documentation}}<!-- Add categories to the /doc subpage, not here! -->
</noinclude>
</noinclude>

Latest revision as of 19:46, 31 May 2021

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.