Template:Italic title/doc
This is a documentation subpage for Template:Italic title. It contains usage information, categories and other content that is not part of the original template page. |
This template uses Lua: |
This template italicizes page titles. Article titles cannot contain wiki-formatting, such as ''
, so article titles cannot be italicized 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 parentheses
()
are fully italicised:Foo
→ FooTalk:Foo
→ Talk:Foo
- Titles which contain parentheses are italicised before the first opening parenthesis:
Foo (bar)
→ Foo (bar)Talk:Foo (bar)
→ Talk:Foo (bar)
- Italicization can be forced on parenthesized text with the
|all=yes
parameter.
This template should only be used in articles that meet the criteria for italic titles given in the Article titles policy.
Parameters[edit source]
A template to italicize article titles
Parameter | Description | Type | Status | |
---|---|---|---|---|
Error options | 1 | If set to "noerror", suppresses error messages. Using this is a last-ditch fix - see the template documentation for other options. | String | optional |
All | all | If set to "yes", italicization is forced on parenthesized text. | String | optional |
String | string | Specify a string in the title to italicize, rather than italicizing the entire title. | String | optional |