Difference between revisions of "Template:Quote"

From Yugipedia
Jump to: navigation, search
m (Reverted edits by Mega-Lantron12890000000 (talk) to last version by AnimeBot)
({{Documentation}})
 
(12 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<noinclude>{{TagSyncPage}}
+
{{ #vardefine: $quote-text | {{ #if: {{{text<includeonly>|</includeonly>}}} | {{{text}}} | {{ #if: {{{quote|}}} | {{{quote}}} | {{ #if: {{{3|}}} | {{{3}}} | {{ #if: {{{2|}}} | {{{2}}} | {{{1|}}} }} }} }} }}
</noinclude><includeonly>{| class="float{{{float|}}}" align="{{{align|}}}" style="background-color:inherit;border-collapse:collapse;border-style:none;margin: .5em .75em;"
+
}}{{ #vardefine: $quote-char  | {{ #if: {{{char<includeonly>|</includeonly>}}} | {{{char}}} | {{{character|}}} }}
| width="20" valign="top" style="color:#B2B7F2;font-size:40px;font-family:'Times New Roman',serif;font-weight:bold;text-align:left;padding:2 2px;padding-top: 4px" | “
+
}}{{ #vardefine: $quote-author | {{ #if: {{{author<includeonly>|</includeonly>}}} | {{{author}}} | {{ #if: {{{2|}}}{{{3|}}} | {{{1|}}} }} }}
| valign="top" align="left" style="padding:0 10px;" | {{#if:{{{3|}}}|{{{3}}}|{{#if:{{{2|}}}|{{{2}}}|{{{1}}}}}}}
+
}}{{ #vardefine: $quote-title  | {{{title<includeonly>|</includeonly>}}}
| width="20" valign="bottom" style="color:#B2B7F2;font-size:40px;font-family:'Times New Roman',serif;font-weight:bold;text-align:right;padding:2 2px;padding: 4px;" |
+
}}{{ #vardefine: $quote-source | {{ #if: {{{source<includeonly>|</includeonly>}}} | {{{source}}} | {{ #if: {{{3|}}} | {{{2|}}} }} }}
|-
+
}}<blockquote class="templatequote">{{ #var: $quote-text | {{Lorem ipsum}}[[Category:Empty quotes]] }}{{ #if: {{ #var: $quote-char }}{{ #var: $quote-author }}{{ #var: $quote-title }}{{ #var: $quote-source }} |
| colspan="3" style="padding-top: 10px" | {{#if:{{{2|}}}{{{3|}}}|<p style="font-size:smaller;line-height:1em;text-align: right"><cite style="font-style:normal;">&mdash;{{{1}}}{{#if:{{{3|}}}|, {{{2}}}}}</cite></p>}}
+
<nowiki/>
|}</includeonly><noinclude>
+
<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>
;{{Tlx|Quote|{{Lorem ipsum|short}}}}
+
}}
{{Quote|{{Lorem ipsum}}}}
+
</blockquote>{{ #if: {{{2|}}}{{{3|}}} | [[Category:((Quote)) transclusions needing updated parameter ordering]] }}<noinclude>
;{{Tlx|Quote|Source|{{Lorem ipsum|short}}}}
+
{{Documentation}}
{{Quote|Source|{{Lorem ipsum}}}}
+
</noinclude>
;{{Tlx|Quote|Source|Citation|{{Lorem ipsum|short}}}}
 
{{Quote|Source|Citation|{{Lorem ipsum}}}}
 
 
 
{{TagSync|include: *|exclude: dragonball}}
 
[[Category:Templates|{{PAGENAME}}]]</noinclude>
 

Latest revision as of 07:13, 29 June 2019

{{{text}}}

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