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:{{{image|}}}|has-image|no-image}} {{#if:{{{class|}}}|{{{class}}}}}" style="{{{style|}}}">
{{#if:{{{image|}}}|
<div class="insert-quote-image">[[File:{{{image}}}|100px|link=|alt=]]</div>
}}
<div class="insert-quote-content" style="{{{style|}}}">
{{{1|}}}
</div>
</div></includeonly><noinclude>
== What this does ==
* **No Image:** Displays the text in a gray background box (Classic style).
* **With Image:** Displays the circular profile photo on the left; text is on a white background, aligned closely to the top right of the photo.
 
== Parameters ==
* 1: Content
* <code>1</code> – Required. The content.
* image: Image filename
* <code>image</code> – Optional. Filename of profile picture.
* style: Custom styles
* <code>style</code> – Optional. CSS overrides for the text area.
* <code>class</code>: – Optional. CSSCustom classes.
 
== Examples ==