Template:Quote: Difference between revisions
(Add nation-themed styling) |
(Fix parameter order: nation, quote, attribution) |
||
| Line 1: | Line 1: | ||
{| style="border- | <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 style="font-size: 1.1em; font-style: italic; line-height: 1.5; margin-bottom: 10px;"> | |||
"{{{2|{{{text|No quote provided}}}}}}" | |||
</div> | |||
<div style="text-align: right; font-size: 0.95em; opacity: 0.9;"> | |||
— {{{3|{{{source|}}}}}} | |||
</div> | |||
</div><noinclude> | |||
== Usage == | == Usage == | ||
<pre>{{Quote|nation|Quote text| | <pre>{{Quote|nation|Quote text|Attribution}}</pre> | ||
'''Nations:''' air, water, earth, fire, URN, spirit, neutral, jasmine | '''Nations:''' air, water, earth, fire, URN, spirit, neutral, jasmine | ||
Example: | |||
<pre>{{Quote| | <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> | ||
Revision as of 23:00, 22 December 2025
"No quote provided"
—
Usage
{{Quote|nation|Quote text|Attribution}}
Nations: air, water, earth, fire, URN, spirit, neutral, jasmine
Example:
{{Quote|air|I wasn't there when the Fire Nation attacked my people.|Avatar Aang}}