Template:Wikiquote/doc

From Safer nicotine wiki
Jump to navigation Jump to search

Usage

{{Wikiquote|PAGENAME}}
{{Wikiquote|PAGENAME|DISPLAYTEXT}}
{{Wikiquote|PAGENAME|DISPLAYTEXT|CUSTOMTEXT}}

PAGENAME is the name of the page on Wikiquote. Optionally, DISPLAYTEXT can be specified to show a different link title from the PAGENAME. Also optionally, CUSTOMTEXT can replace the default text "quotations related to" in the middle of the message – this must be the third parameter.

Location

If using a large, graphical template produces odd layout problems, like the excessive white space shown on the right of this screenshot, then switch to a different sister template.

☒N Do not place this template in a section all by itself.

☒N Do not place this template in a section containing columns.

This template should normally be placed at the top of the ==External links== section at the end of an article, if the article has a section for external links. If no such section exists, then please place it at the top of the last section in the article.

On disambiguation pages, this template should be listed above other text, but below any cleanup templates, images, infoboxes or navboxes.

See Wikipedia:Wikimedia sister projects#Where_to_place_links for more information and alternatives.

TemplateData

This is the TemplateData documentation for this template used by VisualEditor and other tools.

Wikiquote

Creates a small box with a links to a page on Wikiquote.

Template parameters

ParameterDescriptionTypeStatus
Pagename1

The page name on Wikiquote. The article's page name is used as a default.

Stringoptional
Showname2

Optional displayed link text.

Stringoptional
Customtext3

Optional displayed message text.

Stringoptional

See also