Template:QuotationBox: Difference between revisions
Jump to navigation
Jump to search
m (Added better documentation) |
No edit summary |
||
Line 14: | Line 14: | ||
*'''margin''': Horizontal alignment of the quotation. Will default to left side, but can be changed to "center" or "right". | *'''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. | *'''source''': Source text at the bottom of the quotation box. | ||
==Example== | ==Example== | ||
===Example 2:=== | ===Example 2:=== | ||
Line 30: | Line 29: | ||
===Output:=== | ===Output:=== | ||
{{QuotationBox|Text without source}} | {{QuotationBox|Text without source}} | ||
[[Category:Under Night In-Birth Exe:Latest]] | [[Category:Under Night In-Birth Exe:Latest]] | ||
</noinclude> | </noinclude> |
Revision as of 14:57, 23 November 2019
“ |
{{{1}}} |
” |
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
- 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 2:
{{QuotationBox|margin=center|source='''Mizuumi'''|text= Test line 1<br> Test line 2 }}
Output:
“ |
Test line 1 |
” |
Example 2:
{{QuotationBox|Text without source}}
Output:
“ |
Text without source |
” |