Difference between revisions of "Template:Quote"

From Yugipedia
Jump to: navigation, search
(rm the class and the deprecated align)
({{Documentation}})
 
(7 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<includeonly><table style="background-color: inherit; border-collapse: collapse; border: none; margin: .5em .75em;">
+
{{ #vardefine: $quote-text | {{ #if: {{{text<includeonly>|</includeonly>}}} | {{{text}}} | {{ #if: {{{quote|}}} | {{{quote}}} | {{ #if: {{{3|}}} | {{{3}}} | {{ #if: {{{2|}}} | {{{2}}} | {{{1|}}} }} }} }} }}
  <tr>
+
}}{{ #vardefine: $quote-char  | {{ #if: {{{char<includeonly>|</includeonly>}}} | {{{char}}} | {{{character|}}} }}
    <td style="border: none; width: 20px; vertical-align: top; color: #B2B7F2; font-size: 40px; font-family: 'Times New Roman', serif; font-weight: bold; text-align: left; padding: 4px;"></td>
+
}}{{ #vardefine: $quote-author | {{ #if: {{{author<includeonly>|</includeonly>}}} | {{{author}}} | {{ #if: {{{2|}}}{{{3|}}} | {{{1|}}} }} }}
    <td style="border: none; vertical-align: top; text-align: left; padding: 0 10px;">{{ #if: {{{3|}}} | {{{3}}} | {{ #if: {{{2|}}} | {{{2}}} | {{{1}}} }} }}</td>
+
}}{{ #vardefine: $quote-title  | {{{title<includeonly>|</includeonly>}}}
    <td style="border: none; width: 20px; vertical-align: bottom; color: #B2B7F2; font-size: 40px; font-family: 'Times New Roman', serif; font-weight: bold; text-align: right; padding: 4px;">”</td>
+
}}{{ #vardefine: $quote-source | {{ #if: {{{source<includeonly>|</includeonly>}}} | {{{source}}} | {{ #if: {{{3|}}} | {{{2|}}} }} }}
  </tr>{{ #if: {{{2|}}}{{{3|}}} | <tr>
+
}}<blockquote class="templatequote">{{ #var: $quote-text | {{Lorem ipsum}}[[Category:Empty quotes]] }}{{ #if: {{ #var: $quote-char }}{{ #var: $quote-author }}{{ #var: $quote-title }}{{ #var: $quote-source }} |
    <td colspan="3" style="padding-top: 10px; border: none;"><p style="font-size: smaller; line-height: 1em; text-align: right"><cite style="font-style: normal;">&mdash;{{{1}}}{{ #if: {{{3|}}} | , {{{2}}} }}</cite></p></td>
+
<nowiki/>
  </tr> }}
+
<div class="templatequotecite"><cite>—&thinsp;{{ #var: $quote-char }}{{ #if: {{ #var: $quote-char }} | {{ #if: {{ #var: $quote-author }}{{ #var: $quote-title }}{{ #var: $quote-source }} | , in&#32; }} }}{{ #var: $quote-author }}{{ #if: {{ #var: $quote-author }} | {{ #if: {{ #var: $quote-title }}{{ #var: $quote-source }} | ,&#32; }} }}{{ #var: $quote-title }}{{ #if: {{ #var: $quote-title }} | {{ #if: {{ #var: $quote-source }} | ,&#32; }} }}{{ #var: $quote-source }}</cite></div>
</table></includeonly><noinclude>
+
}}
;{{Tlx|Quote|{{Lorem ipsum|short}}}}
+
</blockquote>{{ #if: {{{2|}}}{{{3|}}} | [[Category:((Quote)) transclusions needing updated parameter ordering]] }}<noinclude>
{{Quote|{{Lorem ipsum}}}}
+
{{Documentation}}
;{{Tlx|Quote|Source|{{Lorem ipsum|short}}}}
+
</noinclude>
{{Quote|Source|{{Lorem ipsum}}}}
 
;{{Tlx|Quote|Source|Citation|{{Lorem ipsum|short}}}}
 
{{Quote|Source|Citation|{{Lorem ipsum}}}}
 
 
 
[[Category:Templates|{{PAGENAME}}]]</noinclude>
 

Latest revision as of 07:13, 29 June 2019

{{{text}}}

— {{{char}}}, in {{{author}}}, {{{title}}}, {{{source}}}