Template:Blockquote: Difference between revisions

Nothing to hide, but nothing to show you either.
Jump to navigation Jump to search
Content added Content deleted
(rm. addition that serves no WP purpose (it's for internal scripting, and we're not doing any); see talk)
(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))
Line 1: Line 1:
<blockquote class="templatequote" {{#if:{{{style|}}}|style="{{{style}}}"}}>{{{text|{{{quote|{{{1|<noinclude>{{lorem ipsum}}</noinclude><includeonly>{{error|Error: No text given for quotation (or equals sign used in the actual argument to an unnamed parameter)}}</includeonly>}}}}}}}}}{{#if:{{{sign|<noinclude>1</noinclude>}}}{{{cite|}}}{{{author|}}}{{{by|}}}{{{2|}}}{{{source|}}}{{{ts|}}}{{{3|}}}|<cite><div class="templatequotecite">—{{Comma separated entries
<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
| {{{sign|{{{cite|{{{author|{{{by|{{{2|<noinclude>Author</noinclude>}}}}}}}}}}}}}}}
| {{{sign|{{{cite|{{{author|{{{by|{{{personquoted|{{{2|}}}}}}}}}}}}}}}}}}
| {{#if:{{{source|<noinclude>1</noinclude>}}}{{{ts|}}}{{{3|}}}|{{{source|{{{ts|{{{3|<noinclude>Source</noinclude>}}}}}}}}}}}
| {{#if:{{{source|{{{ts|{{{title|{{{publication|{{{quotesource|}}}}}}}}}}}}}}}<!--Keep next one separate.-->{{{3|}}}|{{{source|{{{ts|{{{title|{{{publication|{{{quotesource|{{{3}}}}}}}}}}}}}}}}}}}}
}}</div></cite>
}}</div></cite>
}}
}}
</blockquote>{{#if:{{{class|}}}{{{id|}}}{{{title|}}}{{{diff|}}}{{{4|}}}{{{5|}}}|[[Category:Pages incorrectly using the quote template]]}}<noinclude>
</blockquote>{{#if:{{{class|}}}{{{id|}}}{{{diff|}}}{{{4|}}}{{{5|}}}|[[Category:Pages incorrectly using the quote template]]}}<noinclude>{{{{PAGENAME}}|{{lorem}}|Jane Doe|"My Dinner with Alien Invaders"}}
{{documentation}}<!-- Add categories to the /doc subpage, not here! -->
{{documentation}}<!-- Add categories to the /doc subpage, not here! -->
</noinclude>
</noinclude>

Revision as of 19:33, 12 September 2015

Template:Lorem

— Jane Doe, "My Dinner with Alien Invaders"