Template:Wikiquote/doc
File:Edit-copy green.svg | This is a documentation subpage for Template:Wikiquote. It may contain usage information, categories and other content that is not part of the original template page. |
Warning | This template is used on approximately 40,000 pages and changes may be widely noticed. Test changes in the template's /sandbox or /testcases subpages, or in your own user subpage. Consider discussing changes on the talk page before implementing them. |
Usage[edit source]
<syntaxhighlight lang="wikitext">
</syntaxhighlight>
<syntaxhighlight lang="wikitext">
</syntaxhighlight>
<syntaxhighlight lang="wikitext">
</syntaxhighlight>
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[edit source]
☒ Do not place this template in a section all by itself.
☒ 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[edit source]
TemplateData for Wikiquote
<templatedata>{ "description": "Creates a small box with a links to a page on Wikiquote.", "params": {
"1": { "label": "Pagename", "description": "The page name on Wikiquote. The article's page name is used as a default.", "type": "string", "required": false }, "2": { "label": "Showname", "description": "Optional displayed link text.", "type": "string", "required": false }, "3": { "label": "Customtext", "description": "Optional displayed message text.", "type": "string", "required": false }
}}</templatedata>
See also[edit source]
- Template:Wikiquote inline(edit talk links history)
- Template:Wikiquote redirect(edit talk links history)
- Template:Wikiquote lang(edit talk links history) to link to a Wikiquote project for another language
- Wikipedia:Manual of Style/Layout § External links
- {{Commons}}—shows Commons box
- {{Commons-inline}}—shows Commons gallery inline
- {{Commons category}}—shows Commons category box
- {{Commons category-inline}}—shows Commons category inline
- {{Commons category multi}}—to list up to six categories
- {{Commons and category}}—shows Commons box with both gallery and category
- {{Commons and category inline}}—shows Commons gallery and category inline
- {{Copy to Wikimedia Commons}}
- {{Wikimedia Commons redirect}}—specialized soft redirect template for Commons
- {{Wiki category}}—to link to a gallery hosted on Wikipedia
- mw:Manual:Pywikibot/commonscat.py
- {{Sister project links}}—to link all Wikinews, Wikisource, etc.
- {{Wikibooks}} / {{Wikibooks inline}}
- {{Wikinews}} / {{Wikinews inline}}
- {{Wikiquote}} / {{Wikiquote-inline}}
- {{Wikisource}} / {{Wikisource-inline}}
- {{Wikispecies}} / {{Wikispecies-inline}}
- {{Wikiversity}} / {{Wikiversity inline}}
- {{Wikivoyage}} / {{Wikivoyage inline}}
- {{Wiktionary}} / {{Wiktionary-inline}}