Template:Italic title

From WDCL Wiki
Revision as of 19:11, 9 December 2013 by Apmccumiskey (talk | contribs) (Created page with "{{Documentation subpage}} <!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE --> {{high-risk|500,000+}} {{lua|Module:Italic title}} This template can be us...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search


Template:High-risk Template:Lua

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 Article titles policy.

Normally the template is placed at the top of the article.

IF IT DOESN'T WORK: 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.

Usage

Basic usage
{{italic title}}
All italicized
{{italic title|all=yes}}

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:

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.

TemplateData

Template:TemplateDataHeader <templatedata> {

       "description": "A template to italicize article titles",
       "params": {
               "yes": {
                       "label": "All",
                       "description": "Italicization forced on parenthesized text",
                       "type": "string",
                       "required": false
               }
       }

} </templatedata>

See also

Template:WrongTitleExamples Templates which use this template should display the following notice:

Template:Basepage subpage