Template:Quote: Difference between revisions

From Toon Wiki
(Fix parameter order: nation, quote, attribution)
(Match Avatar Wiki quote style)
 
Line 1: Line 1:
<div class="quote-box quote-{{{1|default}}}" style="margin: 1.5em auto; max-width: 600px; padding: 16px 20px; border-radius: 10px; box-shadow: 0 3px 12px rgba(0,0,0,0.15); background: {{#switch:{{{1}}}|water=#003399|earth=#006633|fire=#AA0000|air=#FF9900|URN=#926220|spirit=#666666|neutral=#9932CC|jasmine=#6B8066|#f8f9fa}}; border: 2px solid {{#switch:{{{1}}}|water=#000066|earth=#003300|fire=#EE5555|air=#FF6600|URN=#D19F52|spirit=#999999|neutral=#800080|jasmine=#E4AA1F|#c8ccd1}}; color: {{#switch:{{{1}}}|water|earth|fire|air|URN|spirit|neutral|jasmine=white|#333}};">
<div class="quote-box quote-{{{1|default}}}">
<div style="font-size: 1.1em; font-style: italic; line-height: 1.5; margin-bottom: 10px;">
<div style="font-size: 1em; font-style: italic; line-height: 1.6; margin-bottom: 8px;">
"{{{2|{{{text|No quote provided}}}}}}"
"{{{2|{{{text|No quote provided}}}}}}"
</div>
</div>
<div style="text-align: right; font-size: 0.95em; opacity: 0.9;">
<div style="text-align: right; font-size: 0.9em; color: #666;">
— {{{3|{{{source|}}}}}}
— {{{3|{{{source|}}}}}}
</div>
</div>
Line 11: Line 11:


'''Nations:''' air, water, earth, fire, URN, spirit, neutral, jasmine
'''Nations:''' air, water, earth, fire, URN, spirit, neutral, jasmine
Example:
<pre>{{Quote|air|I wasn't there when the Fire Nation attacked my people.|Avatar Aang}}</pre>
[[Category:Formatting templates]]
[[Category:Formatting templates]]
</noinclude>
</noinclude>

Latest revision as of 23:03, 22 December 2025

"No quote provided"

Usage

{{Quote|nation|Quote text|Attribution}}

Nations: air, water, earth, fire, URN, spirit, neutral, jasmine