Template:Quote: Difference between revisions

From PZwiki
(update)
m (use Template:sup)
Line 5: Line 5:
==Usage==
==Usage==
===Parameters===
===Parameters===
;<code>text</code> <sup>(required)</sup>
;<code>text</code> {{sup|required}}
:The text of the quote.
:The text of the quote.
;<code>author</code>
;<code>author</code>

Revision as of 04:49, 8 January 2024

Notebook.pngTemplate Documentation

This template is used to provide a pre-made style for quotes.

Usage

Parameters

text Required
The text of the quote.
author
The author of the quote.

Examples

  • {{Quote|text=This is a quote}}
This is a quote
  • {{Quote|text=This is a quote|author=Author}}
This is a quote
— Author

How to translate

This template doesn't need to/shouldn't be translated, but you can translate the documentation of this template with the following steps:

  1. Create a subpage of this template with the language code of the language you want to translate to.
  2. Copy the code wrapped in the <noinclude> tag in this template into the page you created.
    {{Translation guide}} template should be removed from the translated documentation.
  3. Translate the page according to the translation requirements of normal pages.

See also

Editors can experiment in this template's sandbox.