Jump to content

Module:Format title/doc: Difference between revisions

From Wikipedia, the free encyclopedia
Content deleted Content added
Usage: remove reference to {{see section}}
No edit summary
Line 3: Line 3:
Used by templates {{tl|fti}} and {{tl|ftq}} to link and format page titles for presentation on [[Wikipedia:Disambiguation|disambiguation]] or other pages.
Used by templates {{tl|fti}} and {{tl|ftq}} to link and format page titles for presentation on [[Wikipedia:Disambiguation|disambiguation]] or other pages.


*Function '''p._italic''' italicizes the non-parenthetical portion of its argument (typically a page name).
*Function '''p._italic''' italicizes the non-parenthetical portion (or, optionally, ''only'' the parenthetical portion) of its argument (typically a page name).
*Function '''p._quotes''' encloses the non-parenthetical portion of its argument (typically a page name) in quotation marks.
*Function '''p._quotes''' encloses the non-parenthetical portion (or, optionally, ''only'' the parenthetical portion) of its argument (typically a page name) in quotation marks.


<nowiki>{{</nowiki>#invoke:{{BASEPAGENAME}}|''function_name''|''article_title''}}
<nowiki>{{</nowiki>#invoke:{{BASEPAGENAME}}|''function_name''|''article_title''}}

Revision as of 13:03, 13 August 2018

§

Usage

Used by templates {{fti}} and {{ftq}} to link and format page titles for presentation on disambiguation or other pages.

  • Function p._italic italicizes the non-parenthetical portion (or, optionally, only the parenthetical portion) of its argument (typically a page name).
  • Function p._quotes encloses the non-parenthetical portion (or, optionally, only the parenthetical portion) of its argument (typically a page name) in quotation marks.
{{#invoke:Format title|function_name|article_title}}