Template:QuotationBox: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
{| style="{{#switch: {{{margin|}}} | center = margin:auto | right = margin-left:auto; margin-right:0px | margin-left:0px; margin-right:auto}}" | {| style="{{#switch: {{{margin|}}} | center = margin:auto | right = margin-left:auto; margin-right:0px | margin-left:0px; margin-right:auto}}" | ||
| style="font-size: | | style="font-size: 2.5em; color: gray; font-family:Times New Roman, Times, Georgie, serif; padding-top: -1em" | “ | ||
| style="vertical-align:top; border-left:solid 1px gray; border-right:solid 1px gray; padding-left:1em; padding-right:1em; font-style:italic;"| | | style="vertical-align:top; border-left:solid 1px gray; border-right:solid 1px gray; padding-left:1em; padding-right:1em; font-style:italic;"| | ||
{{#if: {{{text|}}} | {{{text|}}} | {{{1}}} }} | {{#if: {{{text|}}} | {{{text|}}} | {{{1}}} }} | ||
{{#if: {{{source|}}} | <br>- {{{source|}}} | }} | {{#if: {{{source|}}} | <br>- {{{source|}}} | }} | ||
| style="font-size: | | style="font-size: 2.5em; color: gray; font-family:Times New Roman, Times, Georgie, serif;" | ” | ||
|} | |} | ||
<noinclude> | <noinclude> |
Revision as of 04:37, 22 November 2019
“ |
{{{1}}} |
” |
Usage:
Creates a quotation box with chosen alignment and text. "margin" (Default: left) and "source" (Default: EMPTY) are optional fields.
Syntax examaple:
{{QuotationBox|margin=center|source='''Mizuumi'''|text= Test line 1 }}
Output:
“ |
Test line 1
|
” |
Syntax examaple:
{{QuotationBox|Text without source}}
Output:
“ |
Text without source |
” |