Template:Quote: Difference between revisions

From Zoophilia Wiki
Jump to navigationJump to search
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.
m 1 revision imported
 
(8 intermediate revisions by 7 users not shown)
Line 1: Line 1:
<templatestyles src="Template:Quote/styles.css"/><!--
#REDIRECT [[Template:Blockquote]]
--><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">—&thinsp;<cite>{{#if:{{{char|{{{character|}}}}}}|{{{char|{{{character|}}}}}}, in&#32;}}{{Comma separated entries
{{Redirect category shell|
| {{if empty|{{{sign|}}}|{{{cite|}}}|{{{author|}}}|{{{by|}}}|{{{personquoted|}}}|{{{2|}}}}}
{{R from move}}
| {{if empty|{{{title|}}}|{{{publication|}}}|{{{ts|}}}|{{{quotesource|}}}|{{{3|}}}}}
| {{if empty|{{{source|}}}|{{{4|}}}}}
}}</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 | notrim | personquoted | publication | quote | quotesource | quotetext | sign | source | style | text | title | ts }}<noinclude>
{{documentation}}<!-- Add categories to the /doc subpage, not here! -->
</noinclude>

Latest revision as of 01:02, 7 June 2021