Template:Quote

From FlightGear wiki
Revision as of 17:56, 17 August 2014 by Johan G (talk | contribs) (Doc style, though a bit awkward; Putting first parameter on new line to allow for e.g. tables or lists; etc)
Jump to navigation Jump to search

Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.

SomeoneSource
The following template description is not displayed when the template is inserted in an article.

Goal

This template adds a block quotation to an article page.

This is easier to type and more wiki-like than the equivalent HTML blockquote tags, and has additional pre-formatted attribution and source parameters.

Usage

This template can be used with both unnamed, numbered and named parameters.

Usage with unnamed parameters

{{quote|text|sign|source}}

Usage with numbered parameters

{{quote|1=|2=|3=}}

Usage with named parameters

{{quote|text=|sign=|source=}}

Parameters

All parameters are optional.

1, text
Text to be quoted. Defaults to Lorem ipsum...
2, sign
Name or nickname of person quoted. Preferably with a link to a user page. Defaults to Someone.
3, source
The source to the text quoted, preferably using the {{cite web}} template or an URL. Defaults to Source.

Known issues

When using the template with unnamed parameters, an equal sign (=) will break the template. The workaround is to either use <nowiki>=</nowiki> or the {{=}} template.

Related templates

  • {{cquote}} – For pull quotes (quoted sections from elsewhere in the same wiki article)