Template:Quote: Difference between revisions

From Pradeshverse Wiki
Created page with " <includeonly> <div style="margin: 18px auto; padding: 16px 22px; max-width: 800px; background: #f5f3fa; border-left: 5px solid #66548b; border-radius: 6px; box-shadow: 0 2px 6px rgba(0,0,0,0.08);"> <div style="font-family: Georgia, 'Times New Roman', serif; font-size: 1.15em; font-style: italic; line-height: 1.7; color: #342b46;"> <span style="font-size: 2em; color: #8c78ae; vertical-align: -0.2em;">“</span>{{{1|}}}<span style="font-size: 2em; color: #8c78ae; vertica..."
 
No edit summary
 
Line 1: Line 1:


<includeonly>
<includeonly><div style="margin: 8px 0; padding: 7px 12px; background: #f5f3fa; border-left: 2px solid #8c78ae; border-radius: 3px;">
<div style="margin: 18px auto; padding: 16px 22px; max-width: 800px; background: #f5f3fa; border-left: 5px solid #66548b; border-radius: 6px; box-shadow: 0 2px 6px rgba(0,0,0,0.08);">
<div style="font-family: Georgia, 'Times New Roman', serif; font-size: 0.95em; font-style: italic; line-height: 1.4; color: #342b46;">“{{{1|}}}”</div>
 
{{#if:{{{2|}}}|<div style="margin-top: 3px; text-align: right; font-size: 0.8em; color: #66548b;">— {{{2}}}</div>}}
<div style="font-family: Georgia, 'Times New Roman', serif; font-size: 1.15em; font-style: italic; line-height: 1.7; color: #342b46;">
</div></includeonly><noinclude>
<span style="font-size: 2em; color: #8c78ae; vertical-align: -0.2em;">“</span>{{{1|}}}<span style="font-size: 2em; color: #8c78ae; vertical-align: -0.2em;">”</span>
</div>
 
{{#if:{{{2|}}}|
<div style="margin-top: 10px; text-align: right; font-size: 0.9em; color: #66548b; font-weight: bold;">
— {{{2}}}
</div>
}}
 
</div>
</includeonly><noinclude>
== Quote Template ==
== Quote Template ==


Displays a quotation in an elegant, bordered box with optional attribution.
A compact quotation box with optional attribution.


== Usage ==
== Usage ==


=== Basic Quote ===
<pre>
{{Quote|Part of being human is learning to adjust.}}
</pre>
=== Quote with Attribution ===
<pre>
{{Quote|Part of being human is learning to adjust.|Gwenith Pritchards}}
</pre>
=== Quote with Character Link ===
<pre>
<pre>
{{Quote|Part of being human is learning to adjust.|[[Gwenith Pritchards]]}}
{{Quote|Part of being human is learning to adjust.|[[Gwenith Pritchards]]}}
Line 38: Line 16:
== Parameters ==
== Parameters ==


* '''1''' — The quotation text (required).
* '''1''' — Quote text (required)
* '''2''' — The speaker or attribution (optional).
* '''2''' — Speaker or attribution (optional)


[[Category:Formatting Templates]]
[[Category:Formatting Templates]]
</noinclude>
</noinclude>

Latest revision as of 11:07, 18 October 2026


Quote Template

A compact quotation box with optional attribution.

Usage

{{Quote|Part of being human is learning to adjust.|[[Gwenith Pritchards]]}}

Parameters

  • 1 — Quote text (required)
  • 2 — Speaker or attribution (optional)