模板:Selected quote
外观
“ | text of quote | ” |
— [[]] |
此模板的文档不存在、不全面或不能详细描述其功能及/或其代码中的参数。请帮助扩充并改进其文档。 |
本模板含有复杂而精密的扩展语法。 编辑本模板前,建议您先熟悉解析器函数与本模板的设计思路、运作原理等。若您的编辑引发了意外的问题,请尽快撤销编辑,因为本模板可能被大量页面使用。 您所作的编辑可先在模板沙盒或您的个人页面中进行测试。 |
This template is used to configure the articles found in the Selected quote section found on most Wikipedia Portal main pages. Used it on the article pages that are linked to the Selected quote sub-page, e.g. Portal:Foo/Selected quote/1. For the quickest and easiest way to create the Portal:Foo/Selected bar sub-page and related article links, use one of the {{Numbered subpages}} templates.
模板输出
[编辑]{{Selected quote | quote = <!--- Required ---> | quoted = <!--- Required ---> | omit_quoted = | comment = | dates = | source = | section = | archive = }}
用途
[编辑]It is unnecessary to include braces, quotation marks or other wiki-markup in the template. The |comment= field does allow the use of wiki-markup at the contributor's discretion.
- quote - is the quote verbiage, no quotation marks needed.
- quoted - is name of the person who is being quoted, it will automatically Wikilink.
- omit quoted - Remove the linked quoted person. Use this in the rare case there is not an article on the individual on WP, set it to yes. If this is the case, use the |comment= field for the quoted person's name.
- comment - A brief, non-linked comment after the quoted individual's name.
- dates - The author's date of birth and death, no parenthesis needed.
- source - The work the quote is coming from, it will automatically Wikilink.
- section - is the section in the work the quote appears.
- archive - Using this field with a value of no will remove the More selected quotes link in the lower left corner. Use this field if you are using the |footer= parameter in the {{random box-header subpage}} template on the main portal page.
示例
[编辑]The following example:
{{Selected quote | quote = Good wine is a good familiar creature if it be well used. | quoted = William Shakespeare | dates = 1564-1616 | comment = Dead English guy | source = Othello | section = II. iii. (315) }}
will produce:
“ | Good wine is a good familiar creature if it be well used. | ” |
— William Shakespeare (1564-1616) Othello II. iii. (315) Dead English guy |
参见
[编辑]主题内容模板
- {{Box portal skeleton}}—用于创建专题页面的主页面。
- 在主题首页展示“精选内容”
- {{Transclude list item excerpts as random slideshow}}—transcludes excerpts from recognized content lists, which are populated by a bot.
- {{Transclude random subpage}}—transcludes random portal subpage.
- {{Random portal component}}—transcludes random portal subpage.
- {{Random portal component with nominate}}—Used on the portal main page to randomly display articles from the portal sub-pages, adding the option to nominate other Featured foo articles.
- {{Random subpage}}—transcludes random portal subpages.
- {{Portal pictures}}—transcludes a slideshow of pictures, utilizing a single-page gallery.
- To organize "selected content" on subpages
- {{Subpage}}—Used to output a box containing a link to subpage.
- {{Numbered subpages}}—outputs an automatic index, transcluding numbered subpages.
- {{Portal subpage}}—outputs a box linking to and transcluding a single subpage.
- {{Portal subpage inline}}—outputs an unordered list item linking to and transcluding a single subpage.
主题页面格式模板
- {{Box-header}}
- {{Box-header-plain}}
- {{Box-header-round}}
- {{Box-header-square}}
- {{Box-header-watch}}
- {{Box-footer}}
设置连结的模板
- {{Portal}}
- {{Portal bar}}
- {{Portal-inline}}
- {{Portals}}
- {{Portal-image}}
- {{Portals browsebar}}
- {{Related portals}}
- {{Related portals2}}
- {{Wikimedia for portals}}
所选页面模板,用于较旧门户的子页面
- {{Selected article}}
- {{Selected biography}}
- {{Selected business}}
- {{Selected DYK}}
- {{Selected ingredient}}
- {{Selected location}}
- {{Selected picture}}
- {{Selected product}}
- {{Selected publication}}
- {{Selected quote}}
- {{Selected recipe}}
- {{Selected X}}
相关模板
- {{Project template list}}
- {{Random box-header subpage}}—randomized selection from {{Box-header/1}} to {{Box-header/42}}.