Wikiquote:Templates
维基媒体布局和使用的软件发生了各种变化。 此页面的建议和推荐旨在呈现创建、格式化和添加维基语录页面的重要选项。 一些以前有效的其他选项不再有效,或者不如这些方法高效。
链接
存在两种标准的从一个维基媒体项目链接到另一个项目的形式。 基本形式使用标准的维基内部链接语法,可以在任何地方使用。 第二种是简化的模板格式,专门用于将一个项目的文章连接到其他项目中的相应文章。
链接到维基百科
从维基语录或其他相同语言的维基媒体项目链接到维基百科的基本格式是
- [[w:名称或主题|名称或主题]]
或者,如果链接名称与链接目标相同,则只需
- [[w:名称或主题|]]
(注意这些链接中的垂直条。) 这应始终用于从维基语录文章、策略页面或讨论页的文本中的引用链接到相应的维基百科文章。(例如,维基语录文章的主题的首次出现,以粗体显示,应包含到维基百科上相应主题的这些链接之一。)
从非英语语言的维基媒体项目链接到英语维基百科的首选格式是
- [[w:en:名称或主题|名称或主题]]
可以在“特殊页面”下的中找到用于链接到其他项目和不同语言的常用前缀,位于左侧边栏的“工具箱”中。
第二种格式通常仅用于维基语录文章的“外部链接”部分,是一种带有简单语法的模板或“框”链接
- {{wikipedia}}
这会在文章的右侧生成一个指向同名文章的链接。 例如,关于威廉·莎士比亚的维基语录文章使用 {{}} 链接到其维基百科文章,如图右所示。
如果维基百科文章的名称不同,可以使用相同的模板,并将维基百科文章的标题作为选项
- {{wikipedia|WP 文章标题}}
例如,关于电视剧萤火虫的维基语录文章使用 {{|Firefly (TV series)}} 链接到维基百科的 萤火虫 (电视剧) 文章,如图右所示。
从其他维基媒体站点链接到维基语录
可以使用相同的两种格式创建从维基百科项目链接到维基语录的链接。 第一种格式使用“q:”前缀来标识维基语录
- [[q:目标名称|链接显示名称]]
这些链接可以在任何地方使用,但应在显示的名称中包含一些指示链接到维基语录的信息,例如“维基语录关于凯特·布什的文章”。 请注意,维基百科和其他项目没有像维基语录链接到维基百科那样,在介绍段落中链接到维基语录的相同做法。
从非英语语言的维基媒体项目链接到英语维基语录的首选格式是
- [[q:en:名称或主题|名称或主题]]
可以在“特殊页面”下的中找到用于链接到其他项目和不同语言的常用前缀,位于左侧边栏的“工具箱”中。
第二种“框链接”格式用于从维基百科或其他维基媒体项目链接到维基语录的是
- {{wikiquote}}
与上述维基百科框链接类似,如果维基百科文章的标题与维基语录标题不同,请将维基语录标题添加到模板链接中
- {{wikiquote|WQ 文章标题}}
旧链接样式
维基语录中使用的旧样式链接[[en:名称或主题]] 现在只是重定向到英语维基语录中的位置,或者如果所指页面与链接具有相同的标题,则已变为非活动链接。
格式为 [[wikipedia:en:名称或主题|名称或主题]] 的链接仍然有效,但这不是首选格式。
在进行其他编辑时,或在专门的转换会话中,应将这些链接更改为新格式,以便它们能够正常工作。
新的分类选项
新的 选项是手动创建列表的替代方案,用于按主题对文章进行分组。
过去,“分类”在这里没有被广泛使用; 我们仍在决定应该使用的名称。 在维基百科中,它们用于所有页面,并且显然提供了许多优势,这可能会使手动创建列表的一些页面过时。
维基语录中仍然存在许多带有过时且现在错误的链接到维基百科的页面,格式为“en:SUBJECT”。 这现在只会创建一个链接到维基百科页面以生成那里的新文章。 只要遇到这些过时的链接,就应将其更改为“w:SUBJECT”格式。
格式化指南
这些是不同类型页面格式化的建议。 一般来说,在大多数页面上,引用的内容应放在“仅归因”的引述之前。 在章节中,引述应尽可能按时间顺序或顺序排列,如果不可能,则按字母顺序排列。
人物语录
注意:此模板现在可用于 Inputbox 在 Wikiquote:Templates/People 使用。
'''[[w:Name|Full Name]]''' (Date of Birth - Date of Death) followed by
a simple brief note on a person's occupations and social roles. In this
and other commentary locations one can optionally provide pertinent links
to other locations within Wikiquote, the Wikipedia, or other Wikimedia projects.
{{people-stub}} (<--- use if only providing a few quotes to start)
== Quotes ==
<!-- sorted chronologically -->
* English Quotation
** Source of the quote. (with a date of source, when known)
** Optional clarifications, notes on context, etc.
* ''Non-English quote.''
** Translation: English Translation
** Source: Chapter xx, sentence xx or Act xx, Scene xx.
** Optional clarifications, notes on context, etc.
=== Quotes from specific Novels/Plays/Works (date published or created)===
''[[Book/Play1]]'' ([http://- Book/Play1])
''[[Book/Play2]]'' ([http://- Book/Play2])
== Quotes about person/work ==
<!-- sorted alphabetically by author -->
== External links==
{{Wikipedia}} (optional)
[http://(address) Site description]
[http://(address) Site description 2]
{{DEFAULTSORT:(Last name, First name)}}
[[Category:(Occupation)]]
[[Category:(Nationality)]]
[[Category:Living people]] (optional, only if the person is living)
电影
注意:此模板现在可用于 Inputbox 在 Wikiquote:Templates/Films 使用。
{{italic title}}
'''''[[w:Title|Title]]''''' is a [[w:YEAR in film|YEAR film]] about (...quick description...).
:''Directed by [[w:Film director|director]]. Written by [[w:Screenwriter|writer]].'' <!-- if present at wikiquote use [[name]] instead of [[w:name|]] -->
{{center/s}}'''Tag line of the movie''' <small>([[#Taglines|taglines]])</small>{{center/e}}
{{film-stub}} <!-- use only if providing a few quotes to start -->
== Character1 ==
* (...quote...)
* (...quote...)
== Character2 ==
* (...quote...)
* (...quote...)
== Other ==
* '''Character4''': (...quote...)
* '''Character5''': (...quote...)
== Dialogue ==
:'''Character2''': (...quote...)
:'''Character4''': (...quote...)
:'''Character2''': (...quote...)
<hr width="50%"/>
:'''Character1''': (...quote...)
:'''Character2''': (...quote...)
:'''Character1''': (...quote...)
:'''Character3''': (...quote...)
== Taglines ==
* (Tag line of the movie)
* (Tag line of the movie2)
== About ==
* (...quote...)
** [[w:Author1|Author1]], source.
* (...quote...)
** [[w:Author2|Author2]], source.
== Cast ==
* [[w:Actor1|Actor1]] — Character1
* [[w:Actor2|Actor2]] — Character2
* [[w:Actor3|Actor3]] — Character3
* …
== External links ==
{{wikipedia}} <!-- add "|WIKIPEDIA ARTICLE NAME" after "wikipedia" if this article's name doesn't match Wikipedia's -->
* {{imdb title|id=IMDB_ID|title=MOVIE TITLE}} <!-- see [[Template:Imdb title]] on how to get IMDB ID -->
* {{rotten-tomatoes|id=RT_ID|title=MOVIE TITLE}} <!-- see [[Template talk:Rotten-tomatoes]] on how to get RT ID -->
* {{amg movie|id=AMG_ID|title=MOVIE TITLE}} <!-- see [[Template talk:Amg movie]] on how to get RT ID -->
* {{metacritic film|id=MC_ID|title=MOVIE TITLE}} <!-- see [[Template talk:Metacritic film]] on how to get MC ID -->
* {{Mojo title|id=MOJO_ID|title=MOVIE TITLE}} <!-- see [[Template talk:Mojo title]] on how to get MOJO ID -->
* {{official|http://site.com}}
[[Category:(DECADEs films)]] <!-- Or for films released after 1959, use [[Category:(YEAR films)]] -->
[[Category:(DIRECTOR films)]]
[[Category:(COUNTRY films)]]
[[Category:(GENRE films)]]
电视剧
请参阅 Wikiquote:Templates/TV shows。
注意:此模板可与 Inputbox 一起使用。
{{italic title}}
'''''[[w:Show Title|Show Title]]''''' (startyear–endyear) followed by a brief explanation of the show's premise and notable facts about it. Don't go overboard, though; those wanting more information can always follow the Wikipedia link provided in the first sentence. In this and other commentary locations one can optionally provide pertinent links to other locations within Wikiquote, Wikipedia, or other Wikimedia projects.
__TOC__
<!-- Replace the above line by __NOTOC__ if you want to create a custom table of contents and the following conditions hold:
1. The show is no longer active.
2. There is a large number of episodes (over 50). -->
== Season n ==
=== ''Episode Name'' [n.m] ===
:''[This is an explanatory note; it gives some context, using a full English sentence.]''
:'''[[w:Character|Character]]''': This is the first time I show up in this episode.
:'''Minor Character Without a Wikipedia Page''': I'm here, too.
:'''Character''': Second time I show up, I don't need a link to Wikipedia.
:'''Unnamed Character''': My attribution uses a brief description with title-casing.
<hr width="50%"/> <!-- Use this to separate quotes within the same episode. -->
:'''Character''': This works well for a long monologue, about life, the universe and everything, too.
=== ''Another Episode'' [n.m+1] ===
:'''[[w:Character|Character]]''': In this episode, my first appearance again calls for a Wikipedia link.
== Unidentified episode ==
:'''Minor Character''': ''[meekly]'' Nobody remembers where this quote is from.
== Cast ==
<!-- Only enter the main cast, not recurring or guest stars -->
* [[w:actor1|actor1]] - character1
* [[w:actor2|actor2]] - character2
* [[w:actor3|actor3]] - character3
* ...
== External links ==
{{wikipedia}} <!-- optional -->
* {{imdb title|IMDB_ID_number|Show Title}}
* {{Tv.com show|TV.COM_ID_number|Show Title}}
* [http://url-to-resource Site description] <!-- The official show website would be a good choice here. -->
* [http://url-to-resource Site description 2]
[[Category:Television shows|*]]
文学作品语录
注意:此模板现在可用于 Inputbox 在 Wikiquote:Templates/Literary works 使用。
'''''[[w:Name of Book or Play|]]''''' (year published or created) ''by [[Author]]'' with short discription.
* "Quote1."
** Source: Chapter xx, sentence xx or Act xx, Scene xx.
** Notes on context, paraphrasing, etc
* "Quote2."
** Source: Chapter xx, sentence xx or Act xx, Scene xx.<
** Paraphrased: paraphrasing (where it is not clear)
** Notes: context, etc
* ''"Non-English quote."''
** English Translation
** Source (optionally with information on Chapter xx, sentence xx or Act xx, Scene xx.)
** Notes on context, paraphrasing, etc
== External links ==
{{wikipedia}}
{{wikisource}}
* [http://sources.wikipedia.org/wiki/title Wikisource - Name of Book or Play]
* [http://internetaddress.org/wiki/internet_address Site description]
[[Category:Literary works|TITLE, The]]
谚语
注意:此模板现在可用于 Inputbox 在 Wikiquote:Templates/Proverbs 使用。
* Proverb. ** Transliteration: (if in non-roman script) ** English equivalent: ''or'' English translation: ** Source citation ** Alternatives: ''or'' Variants: *** Alternative1 *** Alternative2 ** Notes (context, clarifications where needed, etc.) [[Category:Proverbs]]
主题
注意:此模板现在可用于 InputBox 在 Wikiquote:Templates/Themes 使用。
'''[[w:Theme|Theme]]''' is (''a short description of the theme'').
<!-- NOTE: Copying an abbreviated version of the Wikipedia article's intro is recommended.
Be sure to remove redlinks or point them to Wikipedia articles, though. -->
== Quotes ==
<!-- alphabetical list by author -->
* Quote 1.
** [[Author A]], source
* Quote 2.
** [[Author B]], ''[[Name of Book or Play]]'' (year), place within source
* ''Foreign language quote.''
** Translation: English translation
** Author and source
== Attributed ==
<!-- alphabetical list by author -->
* Second-hand quote.
** [[Author]], quoted by Attributor and source
[[Category:Themes]]
紧凑的字母顺序目录
包含此内容用于包含大量引用的页面,例如 英语谚语。
__NOTOC__ [[#A|A]] [[#B|B]] [[#C|C]] [[#D|D]] [[#E|E]] [[#F|F]] [[#G|G]] [[#H|H]] [[#I|I]] [[#J|J]] [[#K|K]] [[#L|L]] [[#M|M]] [[#N|N]] [[#O|O]] [[#P|P]] [[#Q|Q]] [[#R|R]] [[#S|S]] [[#T|T]] [[#U|U]] [[#V|V]] [[#W|W]] [[#X|X]] [[#Y|Y]] [[#Z|Z]]
重定向页面
注意:此模板应由 InputBox 在 Wikiquote:Templates/Redirect 使用
其他格式化选项
除了上述模板中使用的格式之外,还有一些人们有时使用的可选添加项
- 在页眉中的基本信息之后,可以提供进一步的非常简短的评论,以及指向个人或主题相关文章的链接(参见 乔治·华盛顿)。
- 在关于引言或文章的注释中
- 链接到维基百科或其他来源,提供与引言或文章相关的相关信息。
- 为任何年份或日期创建指向维基百科的链接,以提供与其他事件或与此类时间标记相关的学科的参考。
- 另请参阅 模板示例。
注释
- 关于人物文章的以下格式已过时,不推荐使用
== [[w:Name Surname|]] (born 19XX) or (XXXX-XXXX) == ''Occupational information'' === Verified === * blah blah blah
- Category == Verified == 已过时。请使用 == Sourced == 代替。
- 如果没有任何来源引言(即,来源已知的引言),则不要包含 == Sourced == 标题。 同样,如果没有署名引言,则没有必要包含 == Attributed == 标题。
- 仅在引言不是英文时才包含音译和翻译。
- 将非英文引言放在斜体中(但翻译除外)。
- 仅在适用时才包含注释。
- 按时间顺序排列带日期的引言和带日期的部分。
- 按字母顺序排列未带日期的引言,尤其是在数量很多的情况下,这有助于防止重复。
- 将自传中的引言放在人物页面上,而不是放在书籍的单独页面上。
Wikiquote维护
参见 分类:Wikiquote维护。(例如,分类:电影小作品)
