Template:Quote: Difference between revisions
From Zoophilia Wiki
Jump to navigationJump to search
meta>SMcCandlish Needs a <nowiki /> here, too, or it can choke on quotations that begin with wikimarkup like ''', after a linebreak following "{{Quote|" or "{{Quote|1=", etc. |
meta>SMcCandlish Until Module:Trim quotes gets some additional smarts, this is the only way to fix a particular bug. Thanks to davidwr and Jonesey95 for tracking down the issue. |
||
Line 1: | Line 1: | ||
<templatestyles src="Template:Quote/styles.css"/><!-- | <templatestyles src="Template:Quote/styles.css"/><!-- | ||
--><blockquote class="templatequote" {{#if:{{{style|}}}|style="{{{style}}}"}} | --><blockquote class="templatequote" {{#if:{{{style|}}}|style="{{{style}}}"}}>{{trim quotes|{{#if:{{{notrim|}}}|<nowiki />}}{{{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)}}[[Category:Pages incorrectly using the quote template]]</includeonly><noinclude>{{lorem ipsum}}</noinclude>}}}}}}}}}}}}}}}}}{{#if:{{{sign|}}}{{{cite|}}}{{{author|}}}{{{by|}}}{{{personquoted|}}}{{{source|}}}{{{ts|}}}{{{title|}}}{{{publication|}}}{{{quotesource|}}}{{{2|}}}{{{3|}}}{{{4|}}}{{{char|}}}{{{character|}}}|<nowiki /> | ||
<div class="templatequotecite">— <cite>{{#if:{{{char|{{{character|}}}}}}|{{{char|{{{character|}}}}}}, in }}{{Comma separated entries | <div class="templatequotecite">— <cite>{{#if:{{{char|{{{character|}}}}}}|{{{char|{{{character|}}}}}}, in }}{{Comma separated entries | ||
| {{if empty|{{{sign|}}}|{{{cite|}}}|{{{author|}}}|{{{by|}}}|{{{personquoted|}}}|{{{2|}}}}} | | {{if empty|{{{sign|}}}|{{{cite|}}}|{{{author|}}}|{{{by|}}}|{{{personquoted|}}}|{{{2|}}}}} | ||
Line 7: | Line 7: | ||
}}</cite></div> | }}</cite></div> | ||
}} | }} | ||
</blockquote>{{#if:{{{class|}}}{{{id|}}}{{{diff|}}}{{{4|}}}{{{5|}}}|[[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 | personquoted | publication | quote | quotesource | quotetext | sign | source | style | text | title | ts }}<noinclude> | </blockquote>{{#if:{{{class|}}}{{{id|}}}{{{diff|}}}{{{4|}}}{{{5|}}}|[[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 | notrim | 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> |
Revision as of 21:59, 30 January 2020
Page Template:Quote/styles.css has no content.
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.