2,924
edits
(Adding the ability to add italics to the quote) |
(Adding ability to select multiple fonts.) |
||
Line 1: | Line 1: | ||
{| {{#ifeq:{{{float|{{{6|left}}}}}}|center|align="center"|style="float:{{{float|{{{6|left}}}}}}"}} | {| {{#ifeq:{{{float|{{{6|left}}}}}}|center|align="center"|style="float:{{{float|{{{6|left}}}}}}"}} | ||
|- | |- | ||
| style="font-size:32pt; color:{{{col|{{{3|{{{col1|gray}}}}}}}}}; font-family:Times New Roman,serif | | style="font-size:32pt; color:{{{col|{{{3|{{{col1|gray}}}}}}}}}; font-family:{{{font|{{{font1|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;|}} {{#ifeq: {{{italics|}}}|y|font-style:italic;|}} {{#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|{{{font2|}}}}}}|font-family:{{{font|{{{font2}}}}}}}}"|{{{1|No quote has been specified.}}} | ||
| style="font-size:32pt; color: {{{col|{{{3|{{{col1|gray}}}}}}}}}; font-family:Times New Roman,serif | | style="font-size:32pt; color: {{{col|{{{3|{{{col1|gray}}}}}}}}}; font-family:{{{font|{{{font1|Times New Roman,serif}}}}}}" rowspan=2 width=32px|'''”''' | ||
|- | |- | ||
| style="text-align:right; color:{{{col|{{{5|{{{col3|gray}}}}}}}}}; padding-right:10px; {{#ifeq: {{{bold|}}}|y|font-weight:bold;|}}{{#if: {{{font|}}}|font-family:{{{font}}}}}"|<small>{{#if: {{{2|}}}|--''{{{2}}}''}}</small> | | style="text-align:right; color:{{{col|{{{5|{{{col3|gray}}}}}}}}}; padding-right:10px; {{#ifeq: {{{bold|}}}|y|font-weight:bold;|}}{{#if: {{{font|{{{font3|}}}}}}|font-family:{{{font|{{{font3}}}}}}}}"|<small>{{#if: {{{2|}}}|--''{{{2}}}''}}</small> | ||
|}<noinclude>{{clr}} | |}<noinclude>{{clr}} | ||
{{t|Quote}} is an alternative version of {{t|Cquote}}. | {{t|Quote}} is an alternative version of {{t|Cquote}}. | ||
Line 12: | Line 12: | ||
<code><nowiki>{{Quote | <code><nowiki>{{Quote | ||
| The text.</nowiki></code><br/> | | The text.</nowiki></code><br/> | ||
<code><nowiki>|The citing. (Optional)</nowiki></code><br/> | <code><nowiki>| The citing. (Optional)</nowiki></code><br/> | ||
<code><nowiki>| col1 = Specifies the color of the comma. (Optional)</nowiki></code><br/> | <code><nowiki>| col1 = Specifies the color of the comma. (Optional)</nowiki></code><br/> | ||
<code><nowiki>| col2 = Specifies the color of the quote. (Optional)</nowiki></code><br/> | <code><nowiki>| col2 = Specifies the color of the quote. (Optional)</nowiki></code><br/> | ||
Line 18: | Line 18: | ||
<code><nowiki>| col = Specifies the color of the entire quote. (Optional)</nowiki></code><br/> | <code><nowiki>| col = Specifies the color of the entire quote. (Optional)</nowiki></code><br/> | ||
<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 | <code><nowiki>| font1 = Specifies the font family of the comma. (Optional)</nowiki></code><br/> | ||
<code><nowiki>| font2 = Specifies the font family of the quote. (Optional)</nowiki></code><br/> | |||
<code><nowiki>| font3 = Specifies the font family of the cite. (Optional)</nowiki></code><br/> | |||
<code><nowiki>| font = Specifies the font family of the entire quote. (Optional)</nowiki></code><br/> | |||
<code><nowiki>| bold = type "y" to enable a bolded quote. (Optional)</nowiki></code><br/> | <code><nowiki>| bold = type "y" to enable a bolded quote. (Optional)</nowiki></code><br/> | ||
<code><nowiki>| italics = type "y" to enable italics. (Optional) | <code><nowiki>| italics = type "y" to enable italics. (Optional) | ||
Line 24: | Line 27: | ||
<br/> | <br/> | ||
===Example=== | ===Example=== | ||
Inputting <br><code><nowiki>{{Quote|My body is ready!|Reggie|Blue|green|orange|center| | Inputting <br><code><nowiki>{{Quote|My body is ready!|Reggie|Blue|green|orange|center|font1=Arial|font2=Times New Roman|font3=Futura|bold=y|italics=y}}</nowiki></code><br/> outputs {{Quote|My body is ready!|Reggie|Blue|green|orange|center|font1=Arial|font2=Times New Roman|font3=Futura|bold=y|italics=y}} | ||
[[Category:Templates]] | [[Category:Templates]] | ||
</noinclude> | </noinclude> |