Template:Wikiquote/doc

From Ikwipedia
Jump to navigation Jump to search

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]

File:Sister link template columns problem.jpg
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[edit source]

This is the TemplateData for this template used by TemplateWizard, VisualEditor and other tools. See a monthly parameter usage report for Template:Wikiquote in articles based on its TemplateData.

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]