Template:Quote: Difference between revisions

From SmashWiki, the Super Smash Bros. wiki
Jump to navigationJump to search
(Adding ability to customize fonts easily.)
(Added category, tweaks)
Line 2: Line 2:
|-
|-
| style="font-size:32pt; color:{{{3|{{{col1|gray}}}}}}; font-family:Times New Roman,serif;" rowspan=2 width=32px|'''“'''
| style="font-size:32pt; color:{{{3|{{{col1|gray}}}}}}; font-family:Times New Roman,serif;" rowspan=2 width=32px|'''“'''
| style="text-align:left; padding-left:10px; color:{{{4|{{{col2|black}}}}}}; padding-right:30px; {{#if: {{{font|}}}|font-family:{{{font}}}}}"|{{{1|Please supply a quote.}}}
| style="text-align:left; padding-left:10px; color:{{{4|{{{col2|black}}}}}}; padding-right:30px; {{#if: {{{font|}}}|font-family:{{{font}}}}}"|{{{1|No quote has been specified.}}}
|-
|-
| style="text-align:right; color:{{{5|{{{col3|gray}}}}}}; padding-right:10px; {{#if: {{{font|}}}|font-family:{{{font}}}}}"|<small>{{#if: {{{2|}}}|--''{{{2}}}''}}</small>
| style="text-align:right; color:{{{5|{{{col3|gray}}}}}}; padding-right:10px; {{#if: {{{font|}}}|font-family:{{{font}}}}}"|<small>{{#if: {{{2|}}}|--''{{{2}}}''}}</small>
|}<noinclude>{{clr}}
|}<noinclude>{{clr}}
==Usage==
==Usage==
A simpler version of [[Template:cquote]]. <br>
An alternative version of [[Template:Cquote]]. <br>
<br/>
<br/>
<code><nowiki>{{Quote  
<code><nowiki>{{Quote  
Line 20: Line 20:
<br/>
<br/>
Inputting <code><nowiki>{{Quote|My body is ready!|Reggie|Blue|green|orange|right|font=Futura}}</nowiki></code> outputs {{Quote|My body is ready!|Reggie|Blue|green|orange|right|font=Futura}}
Inputting <code><nowiki>{{Quote|My body is ready!|Reggie|Blue|green|orange|right|font=Futura}}</nowiki></code> outputs {{Quote|My body is ready!|Reggie|Blue|green|orange|right|font=Futura}}
[[Category:Templates]]
</noinclude>
</noinclude>

Revision as of 17:19, November 7, 2015

No quote has been specified.

Usage

An alternative version of Template:Cquote.

{{Quote | The text.
|The citing. (Optional)
| Specifies the color of the comma. (Optional)
| Specifies the color of the quote. (Optional)
| Specifies the color of the cite. (Optional)
| Specifies the alignment. (Optional)
| font = Specifies the font family to be used. (Optional) }}

Inputting {{Quote|My body is ready!|Reggie|Blue|green|orange|right|font=Futura}} outputs

My body is ready!
--Reggie