Template:Quote: Difference between revisions

292 bytes removed ,  2 years ago
m
1 revision imported
(consistent parameter handling between pull-quote templates (and leaner code for it); don't hide default output of template: people need to see what it is)
 
m (1 revision imported)
 
(2 intermediate revisions by 2 users not shown)
Line 1:
<blockquote class="templatequote" {{#if:{{{style|}}}|style="{{{style}}}"}}>{{{text|{{{content|{{{quotetext|{{{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)}}[[Category:Pages incorrectly using the quote template]]</includeonly><noinclude>{{lorem ipsum}}</noinclude>}}}}}}}}}}}}}}}{{#if:{{{sign|}}}{{{cite|}}}{{{author|}}}{{{by|}}}{{{personquoted|}}}{{{source|}}}{{{ts|}}}{{{title|}}}{{{publication|}}}{{{quotesource|}}}{{{2|<noinclude>TRUE</noinclude>}}}{{{3|}}}{{{4|}}}{{{char|}}}{{{character|}}}|{{#if:{{{multiline|}}}|<nowiki />}}
|<div class="templatequotecite"><cite>—&thinspmdash;{{#if:{sign|{{char{cite|{{{characterauthor|{{{by|{{{2|<noinclude>[[Someone's full name|Someone]]</noinclude>}}}}}}}}}}}}}}}{{#if:{{{source|{{{charts|{{{character3|<noinclude>TRUE</noinclude>}}}}}}}, in&#32;}}{{Comma separated entries
|,&nbsp;<cite>{{{source|{{{ts|{{{3|<noinclude>Source</noinclude>}}}}}}}}}</cite>
| {{if empty|{{{sign|}}}|{{{cite|}}}|{{{author|}}}|{{{by|}}}|{{{personquoted|}}}|{{{2|}}}}}
}}</cite></div>
| {{if empty|{{{title|}}}|{{{publication|}}}|{{{ts|}}}|{{{quotesource|}}}|{{{3|}}}}}
| {{if empty|{{{source|}}}|{{{4|}}}}}
}}</cite></div>
}}
</blockquote>{{#if:{{{class|}}}{{{id|}}}{{{title|}}}{{{diff|}}}{{{4|}}}{{{5|}}}|[[Category:Pages incorrectly using the quote template]]}}<noinclude>
{{documentation}}<!-- Add categories to the /doc subpage, not here! -->
</noinclude>