Welcome to the Command & Conquer Wiki! Log in and join the community.

Hi Gamepedia users and contributors! Please complete this survey to help us learn how to better meet your needs in the future. We have one for editors and readers. This should only take about 7 minutes!

Template:Quote

From Command & Conquer Wiki
Jump to: navigation, search
Insert the text of the quote here, without quotation marks.
- {{{2}}}, {{{3}}}


Template documentation (for the template shown above, sometimes hidden or invisible)

{{quote}} adds a blockquote to an article page, with the addition of an attribute and source.

Usage[edit source]

This template accepts three parameters in the following order:

  1. The text of the quote.
  2. Originator of the quote (optional).
  3. Source information (optional). This is normally explanatory text about the orginator of the quote.
{{Quote|Phrase}} 

produces:

Phrase

=

{{Quote|Phrase|Somebody}} 

produces:

Phrase
- Somebody

=

{{Quote|Phrase|Somebody|''Source''}} 

produces:

Phrase
- Somebody, Source

Layout[edit source]

Sometimes you may wish to choose the layout or place the quote in a non-standard place. In this case it's recommended to set both margins and sides to 0 as detailed below.

Margins[edit source]

margins control the area around the quote and is responsible for centering it. Enter one to four values exactly as you would CSS margin property values. I.e. margins=10px 20px 30px 40px is the same as margins:10px 20px 30px 40px; in CSS.

{{Quote|Phrase|Somebody|margins=0}} 

produces:

Phrase
- Somebody

=

Notice that it is no longer centered. The default value is "0 auto".

Sides[edit source]

sides control how much of a gap is left on each side of the quote. This is used instead of margins as margins are already used to center the quote and also margins do not work next to floating elements. Enter NO MORE THAN ONE value exactly as you would in a CSS width property value. I.e. sides=50px is the same as width:50px; in CSS.

{{Quote|Phrase|Somebody|margins=0|sides=0}}
{{Quote|Phrase|Somebody|margins=0|sides=40px}}

produces:

Phrase
- Somebody
Phrase
- Somebody

=

Notice the different indents. The default value is

  • "10%" if neither sides nor width nor float is defined
  • "0" if width or float is defined but not sides.

Width[edit source]

width controls how wide the quote is. Keep in mind this includes the sides!

{{Quote|Phrase|Somebody|width=50%}}
{{Quote|Phrase|Somebody|width=400px}}
{{Quote|Phrase|Somebody|width=100%}}

produces:

Phrase
- Somebody
Phrase
- Somebody
Phrase
- Somebody

=

Note: specifying width will cause sides to default to "0" unless sides has also been specified.

Float[edit source]

float sets the float of the quote. Not that the text from each line merges into a single paragraph.

{{Quote|Phrase|Somebody|float=left}} Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text.
{{Quote|Phrase|Somebody|float=right}} Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah.

Would yield something like

Phrase
- Somebody
Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text.
Phrase
- Somebody
Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah.

=


= Use {{-}} to clear the float and force the quote to appear at different vertical positions

{{Quote|Phrase|Somebody|float=left}} Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text.
{{-}} 
{{Quote|Phrase|Somebody|float=right}} Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah.

Would yield something like

Phrase
- Somebody
Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text.
Phrase
- Somebody
Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah.

=


= Use {{=}} to clear the float and force the quote to appear at different vertical positions and also force a line in between them.

{{Quote|Phrase|Somebody|float=left}} Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text. 
{{=}}
{{Quote|Phrase|Somebody|float=right}} Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah.

Would yield something like

Phrase
- Somebody
Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text.

=

Phrase
- Somebody
Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah.


Note: specifying float will cause sides to default to "0" unless sides has also been specified.

Example[edit source]

Code Result
{{Quote|You want me to go alone?|Conscript|''[[To Tame a Living God]]''}}
You want me to go alone?
- Conscript, To Tame a Living God

Documentation transcluded from Template:Quote/doc.