Jump to content

Module:Format title/doc: Difference between revisions

From Wikipedia, the free encyclopedia
Content deleted Content added
No edit summary
No edit summary
Line 1: Line 1:
§{{Module rating |b}}
§{{Module rating |b}}
== Usage ==
== Usage ==
Used by templates {{tl|fti}} and {{tl|ftq}} to link and format page titles for presentation on [[Wikipedia:Disambiguation|disambiguation]] or other pages.
Links and formats article titles in body text for use on [[Wikipedia:Disambiguation|disambiguation]] or other pages. Used by templates {{tl|fti}} and {{tl|ftq}}.


*Function '''p._italic''' italicizes the non-parenthetical portion (or, optionally, ''only'' the 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).

Revision as of 20:17, 10 January 2019

§

Usage

Links and formats article titles in body text for use on disambiguation or other pages. Used by templates {{fti}} and {{ftq}}.

  • 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}}