Template:Italic title

From Gineipaedia, the Legend of Galactic Heroes wiki

Jump to: navigation, search

The following documentation is transcluded from Template:Italic title/doc:

Description
Shortcut template for italicising page titles. Also provides the ability to dim a title's final bracketed (parenthesised) phrase.
Syntax
{{italic title|[<last word in bracketed phrase>]}}
Sample output
{{italic title}} produces a title similar to: Template:Italic title/doc
{{italic title|game}} here produces a title similar to: Legend of Galactic Heroes (BOTHTEC game)
Notes
This template will be uncommonly used on its own within pages. Instead, it will mostly be transcluded into infobox templates, such as {{infobox game}} and {{infobox film}}. This will allow any page with a proper infobox to automatically have its title rendered in the appropriate style.
In the case of a title that needs dimmed brackets but does not need to be italicised, {{dim brackets}} should be used. (Aside from the names, the syntax is identical.)
The code that determines which bracketed phrase to dim is quite simple — although it should be sufficient for 99% of pages, there may be one or two uniquely worded page titles that break this template. If an edge case such as this is encountered, please contact kine.
Since the code for this template is somewhat complex, a formatted version has been made available at Italic title/formatted. Please follow the instructions there, and make sure the two versions stay in synch.
Acknowledgements
n/a
Personal tools
Namespaces
Variants
Actions
Miscellany
Common
Tool box