Template:Citation Style documentation/quote

From Irregularpedia
< Template:Citation Style documentation
Jump to navigation Jump to search
  • quote: Relevant text quoted from the source. Displays enclosed in quotes.{{#if: || When supplied, the citation terminator (a period by default) is suppressed, so the quote must include terminating punctuation.}} If script-quote is defined, use quote to hold a Romanization (if available) of the text in script-quote.
    • script-quote: Original quotation for languages that do not use a Latin-based script (Arabic, Chinese, Cyrillic, Greek, Hebrew, Japanese, Korean, etc.); not italicized, follows italicized Romanization defined in quote (if available). Alias: none. Must be prefixed with one of the supported language codes to help browsers properly display the script:
      ... |quote=Tōkyō tawā |script-quote=ja:東京タワー |trans-quote=Tokyo Tower ...
    • trans-quote: English translation of the quotation if the source quoted is in a foreign language. Displays in square brackets. Alias: none.{{#if:||
  • quote-page: The number of a single page quoted in |{{SAFESUBST:#if:quote|quote=}}. Use either |{{SAFESUBST:#if:quote-page|quote-page=}} or |{{SAFESUBST:#if:quote-pages|quote-pages=}}, but not both. Should be a subset of the page(s) specified in |{{SAFESUBST:#if:page|page=}}, |{{SAFESUBST:#if:pages|pages=}} or |{{SAFESUBST:#if:at|at=}}. Displays preceded by <syntaxhighlight lang="text" class="" style="" inline="1">p.</syntaxhighlight> unless |{{SAFESUBST:#if:no-pp|no-pp=}}yes. If hyphenated, use {{hyphen}} to indicate this is intentional (e.g. |{{SAFESUBST:#if:quote-page|quote-page=}}3{{hyphen}}12). Alias: none.
  • OR: quote-pages: A list or range of pages quoted in |{{SAFESUBST:#if:quote|quote=}}. Use either |{{SAFESUBST:#if:quote-page|quote-page=}} or |{{SAFESUBST:#if:quote-pages|quote-pages=}}, but not both. Should be a subset of the pages specified in |{{SAFESUBST:#if:pages|pages=}} or |{{SAFESUBST:#if:at|at=}}. Separate using an en dash (–); separate non-sequential pages with a comma (,). Displays preceded by <syntaxhighlight lang="text" class="" style="" inline="1">pp.</syntaxhighlight> unless |{{SAFESUBST:#if:no-pp|no-pp=}}yes is defined. Hyphens are automatically converted to en dashes; if hyphens are appropriate because individual page numbers contain hyphens, for example: pp. 3-1–3-15, use double parentheses to tell the template to display the value of |{{SAFESUBST:#if:quote-pages|quote-pages=}} without processing it, and use {{hyphen}} to indicate to editors that a hyphen is really intended: |{{SAFESUBST:#if:quote-pages|quote-pages=}}((3{{hyphen}}1{{ndash}}3{{hyphen}}15)). Alias: none.}}