Template:Insert quote panel: Difference between revisions

Content deleted Content added
No edit summary
No edit summary
Line 1:
<includeonly><templatestyles src="Insert quote panel/styles.css" />
<div class="insert-quote-panel {{#if:{{{class|}}}|{{{class}}}}}" style="{{{style|}}}">
{{#if:{{{image|}}}|
<div class="insert-quote-image">[[File:{{{image}}}|50px|link=|alt=]]</div>
}}
<div class="insert-quote-content" style="{{{style|}}}">
{{{1|}}}
</div>
</div></includeonly><noinclude>
== What this does ==
Reusable wrapper panel for quotes (or any short callout). Styling is kept in TemplateStyles.
* If NO image: Gray box fills width.
* If IMAGE: Image sits on the left, gray box on the right. Both aligned to the top.
 
== Parameters ==
* <code>1</code> – Required. The content to display.
* <code>image</code> – Optional. Filename of the profile picture (e.g., <code>Author.jpg</code>). Default width is 50px.
* <code>style</code> – Optional. Extra inline CSS tofor overridethe defaultsgray (e.g.,text borders, radius)box.
* <code>class</code> – Optional. Extra classes for site-specific tweaks.
</noinclude>
 
== Examples ==