Template:Quote: Difference between revisions
From SmashWiki, the Super Smash Bros. wiki
Jump to navigationJump to search
(Adding ability to bold quote) |
(Adding the ability to add italics to the quote) |
||
Line 2: | Line 2: | ||
|- | |- | ||
| style="font-size:32pt; color:{{{col|{{{3|{{{col1|gray}}}}}}}}}; font-family:Times New Roman,serif;" rowspan=2 width=32px|'''“''' | | style="font-size:32pt; color:{{{col|{{{3|{{{col1|gray}}}}}}}}}; font-family:Times New Roman,serif;" rowspan=2 width=32px|'''“''' | ||
| style="text-align:left; padding-left:10px; color:{{{col|{{{4|{{{col2|black}}}}}}}}}; padding-right:30px; {{#ifeq: {{{bold|}}}|y|font-weight:bold;|}} {{#if: {{{font|}}}|font-family:{{{font}}}}}"|{{{1|No quote has been specified.}}} | | style="text-align:left; padding-left:10px; color:{{{col|{{{4|{{{col2|black}}}}}}}}}; padding-right:30px; {{#ifeq: {{{bold|}}}|y|font-weight:bold;|}} {{#ifeq: {{{italics|}}}|y|font-style:italic;|}} {{#if: {{{font|}}}|font-family:{{{font}}}}}"|{{{1|No quote has been specified.}}} | ||
| style="font-size:32pt; color: {{{col|{{{3|{{{col1|gray}}}}}}}}}; font-family:Times New Roman,serif;" rowspan=2 width=32px|'''”''' | | style="font-size:32pt; color: {{{col|{{{3|{{{col1|gray}}}}}}}}}; font-family:Times New Roman,serif;" rowspan=2 width=32px|'''”''' | ||
|- | |- | ||
Line 19: | Line 19: | ||
<code><nowiki>| float = Specifies the alignment of the quote. (Optional)</nowiki></code><br/> | <code><nowiki>| float = Specifies the alignment of the quote. (Optional)</nowiki></code><br/> | ||
<code><nowiki>| font = Specifies the font family to be used. (Optional)</nowiki></code><br/> | <code><nowiki>| font = Specifies the font family to be used. (Optional)</nowiki></code><br/> | ||
<code><nowiki>| bold = type "y" to enable a bolded quote. (Optional) | <code><nowiki>| bold = type "y" to enable a bolded quote. (Optional)</nowiki></code><br/> | ||
<code><nowiki>| italics = type "y" to enable italics. (Optional) | |||
}}</nowiki></code><br> | }}</nowiki></code><br> | ||
<br/> | <br/> | ||
Inputting <code><nowiki>{{Quote|My body is ready!|Reggie|Blue|green|orange|center|font=Futura|bold=y}}</nowiki></code> outputs {{Quote|My body is ready!|Reggie|Blue|green|orange|center|font=Futura|bold=y}} | ===Example=== | ||
Inputting <br><code><nowiki>{{Quote|My body is ready!|Reggie|Blue|green|orange|center|font=Futura|bold=y|italics=y}}</nowiki></code><br/> outputs {{Quote|My body is ready!|Reggie|Blue|green|orange|center|font=Futura|bold=y|italics=y}} | |||
[[Category:Templates]] | [[Category:Templates]] | ||
</noinclude> | </noinclude> |
Revision as of 13:44, November 8, 2015
“ | No quote has been specified. | ” |
{{Quote}} is an alternative version of {{Cquote}}.
Usage
{{Quote
| The text.
|The citing. (Optional)
| col1 = Specifies the color of the comma. (Optional)
| col2 = Specifies the color of the quote. (Optional)
| col3 = Specifies the color of the cite. (Optional)
| col = Specifies the color of the entire quote. (Optional)
| float = Specifies the alignment of the quote. (Optional)
| font = Specifies the font family to be used. (Optional)
| bold = type "y" to enable a bolded quote. (Optional)
| italics = type "y" to enable italics. (Optional)
}}
Example
Inputting {{Quote|My body is ready!|Reggie|Blue|green|orange|center|font=Futura|bold=y|italics=y}}
outputs
“ | My body is ready! | ” |
--Reggie |