Template:Quotation/doc

From MediaWiki
Jump to: navigation, search

{{#ifeq:quotation/doc |doc

    | 

{{#ifeq:show |show

         | {{#invoke:Message box|mbox}}
        }}{{#if: |
         |   {{#ifexist:Template:Quotation/doc
                  | [[Category:{{#switch:Template |Template=Template |Module=Module |User=User |#default=Wikipedia}} documentation pages]]
                  |
                 }}
        }}
    | 
   }}

{{#invoke:Message box|ombox}}{{#ifeq: Quotation/doc | Quotation/doc | }}

[edit] Usage

  • You should not put quotation marks around the quote.


  • {{Quotation|quoted material|Author|Title|Publication}}
quoted material {{#if:Author |

— Author{{#if:Title |, Title }}{{#if:Publication |, Publication }}

}}
  • {{Quotation|quoted material|Author||skip italics to use '' '' for italics}}
quoted material {{#if:Author |

— Author{{#if: |, ' }}{{#if:skip italics to use '' '' for italics |, skip italics to use '' '' for italics }}

}}
  • {{Quotation|quoted material|Author|Title|}}
quoted material {{#if:Author |

— Author{{#if:Title |, Title }}{{#if: |, }}

}}


  • {{Quotation|quoted material}}
quoted material {{#if: |

— {{{2}}}{{#if: |, {{{3}}} }}{{#if: |, {{{4}}} }}

}}

[edit] The equal sign (=)

If any of the parameters include an equal sign, this will make the template not recognize the parameter properly. To fix this the parameter needs to be prefixed with "1=", "2=", etc., depending on which parameter this applies to.

[edit] See also

{{#if:|
Similar templates}}
  • Template:Bq—quote without border, page-wide; like (and compatible with parameters of) the older {{Quote}} but with more features; conversion from all others listed here is trivially easy (retaining key data, losing decoration, etc.)
  • Template:Centered pull quote—pull quote between large quotation marks, page-wide; should rarely be used in articles and is not for block quotations, only pull quotes
  • Template:Quote—quote without border, page-wide, smaller-sized attribution
  • Template:Quotation—quote with border, page-wide
  • Template:Quote box—quote with border, in a reduced floating box
  • Template:Reduced pull quote—pull quote between large quotation marks, in a reduced floating area; also rarely appropriate in articles
  • Template:Talkquote—for quoting other editors (or guidelines, etc.) on talk pages (in a block)
  • Template:Tq—for quoting on talk pages, inline
  • Category:Quotation templates


Personal tools
Namespaces

Variants
Actions
Navigation
Toolbox