查看“模板:Italic title/doc”的源代码
←
模板:Italic title/doc
跳转至:
导航
、
搜索
因为以下原因,您没有权限编辑本页:
您所请求的操作仅限于该用户组的用户使用:
用户
您可以查看与复制此页面的源代码。
{{Documentation subpage}} <!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE --> {{high-risk}} This template can be used to italicise page titles. It should only be used in articles that meet the criteria for italic titles given in the [[Wikipedia:Article titles#Italics and other formatting|Article titles]] policy. '''''IF IT DOESN'T WORK:''''' ''Try putting the template after the infobox. If it still doesn't work, use [[WP:DISPLAYTITLE|DISPLAYTITLE]] instead of this template; again, this may need to go after the infobox.'' ===Usage=== *<tt><nowiki>{{Italic title}}</nowiki></tt> italicises the title automatically under certain circumstances. If the title is less than 50 characters in length, italicisation is always performed automatically: **Titles with no brackets <tt>()</tt> are fully italicised: ***{{Nowrap|<tt>Foo</tt>}} → {{Nowrap|'''''Foo'''''}} ***{{Nowrap|<tt>Talk:Foo</tt>}} → {{Nowrap|'''Talk:''Foo'''''}} **Titles which contain brackets are italicised before the first open bracket: ***{{Nowrap|<tt>Foo (bar)</tt>}} → {{Nowrap|'''''Foo'' (bar)'''}} ***{{Nowrap|<tt>Talk:Foo (bar)</tt>}} → {{Nowrap|'''Talk:''Foo'' (bar)'''}} *Titles longer than 50 characters are not automatically italicised. However, you can pass parameters for the template to test the title against: if a match is found, italicisation is performed: **{{Nowrap|<tt><nowiki>{{Italic title| name | bracket1 | bracket2 | ... }}</nowiki></tt>}}, where "name" is the first part of the title (before any brackets) and the "bracket#" are a list of up to five possible brackets:{{Break}}{{Nowrap|<tt><nowiki>{{Italic title| Foo | bar | baz }}</nowiki></tt>}} will italicise as follows: ***{{Nowrap|<tt>Foo</tt>}} → {{Nowrap|'''''Foo'''''}} ***{{Nowrap|<tt>Foo (bar)</tt>}} → {{Nowrap|'''''Foo'' (bar)'''}} ***{{Nowrap|<tt>Foo (baz)</tt>}} → {{Nowrap|'''''Foo'' (baz)'''}} ***{{Nowrap|<tt>Foo (quok)</tt>}} → {{Nowrap|'''Foo (quok)'''}} *<tt><nowiki>{{Italic title|force=true}}</nowiki></tt> italicises the entire title including brackets, and will also italicise titles with more than 50 characters. *If an infobox is used that has an italic-title autofunction, then the <tt><nowiki>{{Italic title}}</nowiki></tt> template must be positioned ''after'' the infobox. ===See also=== *[[WP:ITALICTITLE]] *{{Tlx|Italic title prefixed}} {{WrongTitleExamples}} Templates which use this template should display one the following notices: *{{Tl|Auto italic title}} *{{Tl|Auto italic title 2}} *{{Tl|Auto italic title 3}} <includeonly> <!-- CATEGORIES AND INTERWIKIS HERE, THANKS --> [[Category:Correct title templates|{{PAGENAME}}]] [[bn:টেমপ্লেট:বাঁকা শিরোনাম]] [[cy:Nodyn:Italic title]] [[es:Plantilla:Título en cursiva]] [[eo:Ŝablono:Kursiva titolo]] [[fa:الگو:عنوان مورب]] [[hr:Predložak:Naslov u kurzivu]] [[id:Templat:Italic title]] [[ka:თარგი:კურსივისახელი]] [[ko:틀:이탤릭체]] [[mk:Шаблон:Закосен наслов]] [[ms:Templat:Tajuk condong]] [[no:Mal:Kursiv tittel]] [[pt:Predefinição:Título em itálico]] [[ro:Format:Titlu cursiv]] [[si:සැකිල්ල:ඇලකුරු ශීර්ෂකය]] [[simple:Template:Italic title]] [[sr:Шаблон:Курзивни наслов]] [[sq:Stampa:Titull i pjerrët]] [[th:แม่แบบ:ชื่อเอียง]] [[tr:Şablon:İtalik başlık]] [[zh:Template:Italic title]] </includeonly>
该页面使用的模板:
模板:=
(
查看源代码
)
模板:Break
(
查看源代码
)
模板:Correct title examples
(
查看源代码
)
模板:Documentation subpage
(
查看源代码
)
模板:High-risk
(
查看源代码
)
模板:Main other
(
查看源代码
)
模板:Mbox
(
查看源代码
)
模板:Namespace detect
(
查看源代码
)
模板:Nowrap
(
查看源代码
)
模板:Ombox
(
查看源代码
)
模板:Ombox/core
(
查看源代码
)
模板:Tl
(
查看源代码
)
模板:Tlp
(
查看源代码
)
模板:Tlx
(
查看源代码
)
模板:WrongTitleExamples
(
查看源代码
)
返回至
模板:Italic title/doc
。
导航菜单
个人工具
登录
命名空间
模板
讨论
变种
视图
阅读
查看源代码
查看历史
更多
搜索
导航
首页
最近更改
随机页面
帮助
工具
链入页面
相关更改
特殊页面
页面信息