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}}}}}" >
{{#if:{{{image|}}}|
<div class="insert-quote-image">[[File:{{{image}}}|
}}
<div class="insert-quote-content" style="{{{style|}}}">
Line 9:
</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 ==
* <code>1</code> – Required. The content
* <code>image</code> – Optional. Filename of
* <code>style</code> – Optional.
* <code>class</code> – Optional.
== Examples ==
<pre>
{{Insert quote panel
|
}}
{{Insert quote panel
| image = Thomas-buberl.jpg
| This text appears on white, right next to the photo.
}}
</pre>
| |||