Difference between revisions of "Template:QuotationBox"

From Mizuumi Wiki
Jump to navigation Jump to search
(Fixed wrong brackets)
(Fixed wrong brackets)
 
(No difference)

Latest revision as of 15:03, 11 December 2019

Usage

Creates a quotation box with chosen text.

Template Parameters

  • text: Text to display as the quote. If "text" parameter isn't present, the template can use any unlabeled parameter instead (See Example 2).

Optional Parameters

  • fontsize: Font size of quoted text. (Default: 1.0)
  • margin: Horizontal alignment of the quotation. Will default to left side, but can be changed to "center" or "right".
  • source: Source text at the bottom of the quotation box.

Example

Example 1:

{{QuotationBox|margin=center|source='''Mizuumi'''|text=
Test line 1<br>
Test line 2
}}

Output:

Test line 1
Test line 2
- Mizuumi

Example 2:

{{QuotationBox|Text without source}}

Output:

Text without source