Difference between revisions of "Template:QuoteboxLeft"

From Archives of Lusternian Lore
Jump to navigation Jump to search
m (Added a noinclude section so it can be in the templates category)
(Added documentation for this template.)
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
{| style="background: #f9f9f9; border-left: 10px solid #ccc; margin: 10px 30px 10px 10px; padding: 10px 10px 10px 10px; float:left; width:25%;font-size:12px"  
<includeonly>{| style="background: #f9f9f9; border-left: 10px solid #ccc; margin: 10px 30px 10px 10px; padding: 10px 10px 10px 10px; float:left; width:25%;font-size:12px"  
|+ style="caption-side:bottom; font-weight:bold"|From ''{{{source}}}''
|+ style="caption-side:bottom; font-weight:bold"|From ''{{{source}}}''
|-
|-
|''{{{quote}}}''
|''{{{quote}}}''
|}
|}</includeonly><noinclude>
<noinclude>
Template for creating a quote inside of a table on the left-hand side of the page. Normal body text of the page will wrap around it.
==Parameters==
*<code>source</code> - Where you're pulling the quote from, typically the title of a text.
*<code>quote</code> - The quote text itself.


[[Category:Templates></noinclude>
==Example==
<pre>{{QuoteboxLeft
|quote=This is a example.
|source=Some Chronicler}}</pre>
will appear as
{{QuoteboxLeft
|quote=This is a example
|source=Some Chronicler}}
This is some text that is wrapping.
 
[[Category:Templates]]</noinclude>

Latest revision as of 00:37, 25 July 2022

Template for creating a quote inside of a table on the left-hand side of the page. Normal body text of the page will wrap around it.

Parameters

  • source - Where you're pulling the quote from, typically the title of a text.
  • quote - The quote text itself.

Example

{{QuoteboxLeft
|quote=This is a example.
|source=Some Chronicler}}

will appear as

From Some Chronicler
This is a example

This is some text that is wrapping.