Template:Quote: Difference between revisions

From Toon Wiki
(Add nation-themed styling)
(Match Avatar Wiki quote style)
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
{| style="border-spacing:0; border:1px solid; background:#{{#switch:{{{1}}}|water=003399|earth=006633|fire=AA0000|air=FF9900|URN=926220|spirit=666666|neutral=9932CC|jasmine=6B8066|#f8f9fa}}; -moz-border-radius:6px; border-collapse: separate; -webkit-border-radius:6px; border-radius:6px; border-color:#{{#switch:{{{1}}}|water=000066|earth=003300|fire=EE5555|air=FF6600|URN=D19F52|spirit=999999|neutral=800080|jasmine=E4AA1F|#c8ccd1}}; padding:10px; margin:.5em auto .5em auto; width:{{{width|auto}}}; text-align:justify; color:{{#switch:{{{1}}}|water|earth|fire|air|URN|spirit|neutral|jasmine=white|#333}};" class="quote {{#switch:{{{1}}}|water|earth|fire|URN|spirit|neutral|jasmine=quote_link_color|air=quote_link_color_light|}}"
<div class="quote-box quote-{{{1|default}}}">
|-
<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>
|style="text-align:right;"|— {{{3|{{{source|}}}}}}
<div style="text-align: right; font-size: 0.9em; color: #666;">
|}<noinclude>
— {{{3|{{{source|}}}}}}
</div>
</div><noinclude>
== Usage ==
== Usage ==
<pre>{{Quote|nation|Quote text|Speaker}}</pre>
<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
Or simple quote:
<pre>{{Quote|text=Quote text|source=Speaker}}</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