Difference between revisions of "Template:Quote"

From NSWiki
Jump to: navigation, search
(Undo revision 1655623 by Llorens (talk))
Line 1: Line 1:
<templatestyles src="Template:Quote/styles.css"/><!--
+
<onlyinclude>{{#if:{{{center|}}}|<table border="0" cellspacing="0" cellpadding="0" align="center"><tr><td>|<center>}}
--><blockquote class="templatequote" {{#if:{{{style|}}}|style="{{{style}}}"}}>{{trim quotes|{{{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|}}}|{{#if:{{{multiline|}}}|<nowiki />}}
+
<div style="clear:none; {{#if:{{{maxWidth|}}}|max-width:{{{maxWidth}}};|max-width:50em;}}"><div style="margin: 0 10%;">
<div class="templatequotecite">—&thinsp;<cite>{{#if:{{{char|{{{character|}}}}}}|{{{char|{{{character|}}}}}}, in&#32;}}{{Comma separated entries
+
{| style="border-collapse:collapse; background-color:transparent;"
| {{if empty|{{{sign|}}}|{{{cite|}}}|{{{author|}}}|{{{by|}}}|{{{personquoted|}}}|{{{2|}}}}}
+
| valign="top" style="overflow:hidden; margin: 0 0 1em 0; color:{{{color|silver}}}; font-size:{{{size|3.6em}}}; font-family:serif; font-weight:bold; text-align:left;" | <span style="line-height:0.4em;">&nbsp;</span><br />“
| {{if empty|{{{title|}}}|{{{publication|}}}|{{{ts|}}}|{{{quotesource|}}}|{{{3|}}}}}
+
| valign="middle" style="overflow:hidden; padding:0 1em; text-align:left;  font-style:italic;  {{#if:{{{textColor|}}}|color:{{{textColor}}};|}} {{#if:{{{textSize|}}}|font-size:{{{textSize}}};|}}" | &nbsp;<br />{{#if:{{{textSize|}}}||<big><big>}}{{{1}}}{{#if:{{{textSize|}}}||</big></big>}}<br />&nbsp;
| {{if empty|{{{source|}}}|{{{4|}}}}}
+
| valign="bottom" style="overflow:hidden; color:{{{color|silver}}}; font-size:{{{size|3.6em}}}; font-family:serif; font-weight:bold; text-align:right;" | „<br /><span style="line-height:0.55em;">&nbsp;</span>
}}</cite></div>
+
|-
}}
+
| colspan="3" | <p style="font-size:{{{sourceSize|85%}}}; {{#if:{{{sourceColor|}}}|color:{{{sourceColor}}};|}} line-height:1em; text-align:right"><cite style="font-style:normal;">{{ #if:{{{2|}}} |{{{2| }}}}}{{ #if:{{{3|}}} |, ''{{{3}}}''}}</cite></p>
</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 | multiline | personquoted | publication | quote | quotesource | quotetext | sign | source | style | text | title | ts }}<noinclude>
+
|}</div></div><!-- {{subst:FULLPAGENAME}} -->
{{documentation}}<!-- Add categories to the /doc subpage, not here! -->
+
{{#if:{{{center|}}}|</table>|</center>}}</onlyinclude>
</noinclude>
+

Revision as of 20:16, 23 December 2019

 
 
{{{1}}}