Template:Italic title

维基百科,自由的百科全书
跳转至: 导航搜索
Documentation icon 模板文档[查看] [编辑] [历史] [刷新]

此模板会将页面标题显示为斜体。只应用于那些满足条目名称规则可以斜体命名的条目,中文条目名称通常不需要使用斜体显示。

通常此模板应放置在文章的顶部。

如果不能工作: Try putting the template after the infobox. If it still doesn't work, use DISPLAYTITLE instead of this template; again, this may need to go after the infobox.

用法[编辑]

Article titles cannot contain wiki-formatting, such as '', so cannot be made italic in the normal way. Instead, place this template in the article, normally at the very top. It will then have the following effect:

  • Titles with no brackets () are fully italicised:
    • FooFoo
    • Talk:FooTalk:Foo
  • Titles which contain parentheses are italicised before the first opening parenthesis:
    • Foo (bar)Foo (bar)
    • Talk:Foo (bar)Talk:Foo (bar)

Some infoboxes automatically attempt to italicise the title of the article in which they are included. When this works correctly, this template is not needed. When it doesn't work correctly, try putting the {{Italic title}} after the infobox.

参见[编辑]

Template Involves Correct name Technical name
{{Italic title}} Title in italics Batman (1989 film) Batman (1989 film)
{{Lowercase title}} Lowercase first character eBay EBay
{{Correct title|reason=bracket}} < > [ ] { } Benzo[a]pyrene Benzo(a)pyrene
{{Correct title|reason=#}} # Pilot #5 Pilot No. 5
{{Correct title|reason=:}} / : DK: King of Swing DK King of Swing
{{DISPLAYTITLE}} Various

Templates which use this template should display the following notice:

{{#ifeq:Italic title|Sidebar with collapsible lists|