Template:Quote: Difference between revisions

From SmashWiki, the Super Smash Bros. wiki
Jump to navigationJump to search
(Undid edit by Nyargleblargle: I added intricate syntax to allow centering. Just add ((Quote|text|text|float=center)).)
m (Text replacement - "]] </noinclude>" to "]]</noinclude>")
 
(9 intermediate revisions by one other user not shown)
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;" rowspan=2 width=32px|'''“'''
| 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; {{#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;|}} {{#ifeq: {{{ul|{{{ul1|}}}}}}|y|text-decoration:underline;|}} {{#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;" rowspan=2 width=32px|'''”'''
| 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; {{#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;|}} {{#ifeq: {{{ul|{{{ul2|}}}}}}|y|text-decoration:underline;|}} {{#if: {{{font|{{{font3|}}}}}}|font-family:{{{font|{{{font3}}}}}}}}"|<small>{{#if: {{{2|}}}{{{cite|}}}|--''{{{2|{{{cite}}}}}}''}}</small>
|}<noinclude>{{clr}}
|}<noinclude>{{clr}}
{{t|Quote}} is an alternative version of {{t|Cquote}}.
{{t|Quote}} is an alternative version of {{t|Cquote}} meant for advanced userspaces.
==Usage==
==Usage==
<br>
<br>
<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>| cite = 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 to be used. (Optional)
<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>| italics = type "y" to enable italics. (Optional)</nowiki></code><br/>
<code><nowiki>| ul1 = type "y" to enable an underlined quote. (Optional)</nowiki></code><br/>
<code><nowiki>| ul2 = type "y" to enable an underlined cite. (Optional)</nowiki></code><br/>
<code><nowiki>| ul = type "y" to enable underlined text. (Optional)
}}</nowiki></code><br>
}}</nowiki></code><br>
<br/>
<br/>
Inputting <code><nowiki>{{Quote|My body is ready!|Reggie|Blue|green|orange|center|font=Futura}}</nowiki></code> outputs {{Quote|My body is ready!|Reggie|Blue|green|orange|center|font=Futura}}
===Example===
[[Category:Templates]]
Inputting any of the following: <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|ul1=y}} </nowiki></code><br/>OR<br/><code><nowiki>{{Quote|My body is ready!|cite=Reggie|col1=Blue|col2=green|col3=orange|float=center|font1=Arial|font2=Times New Roman|font3=Futura|bold=y|italics=y|ul1=y}}</nowiki></code><br/> will both produce: {{Quote|My body is ready!|Reggie|Blue|green|orange|center|font1=Arial|font2=Times New Roman|font3=Futura|bold=y|italics=y|ul1=y}}
</noinclude>
[[Category:Templates]]</noinclude>

Latest revision as of 01:43, August 30, 2019

No quote has been specified.

{{Quote}} is an alternative version of {{Cquote}} meant for advanced userspaces.

Usage


{{Quote | The text.
| cite = 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)
| font1 = Specifies the font family of the comma. (Optional)
| font2 = Specifies the font family of the quote. (Optional)
| font3 = Specifies the font family of the cite. (Optional)
| font = Specifies the font family of the entire quote. (Optional)
| bold = type "y" to enable a bolded quote. (Optional)
| italics = type "y" to enable italics. (Optional)
| ul1 = type "y" to enable an underlined quote. (Optional)
| ul2 = type "y" to enable an underlined cite. (Optional)
| ul = type "y" to enable underlined text. (Optional) }}

Example

Inputting any of the following:
{{Quote|My body is ready!|Reggie|Blue|green|orange|center|font1=Arial|font2=Times New Roman|font3=Futura|bold=y|italics=y|ul1=y}}
OR
{{Quote|My body is ready!|cite=Reggie|col1=Blue|col2=green|col3=orange|float=center|font1=Arial|font2=Times New Roman|font3=Futura|bold=y|italics=y|ul1=y}}
will both produce:

My body is ready!
--Reggie