Jump to content

Module:Format title/doc: Difference between revisions

From Wikipedia, the free encyclopedia
Content deleted Content added
Info on use.
No edit summary
Line 2: Line 2:
== Usage ==
== Usage ==
Used by templates {{tl|fti}}, {{tl|ftq}}, and {{tl|see section}} to link and format page titles for presentation on [[Wikipedia:Disambiguation|disambiguation]] or other pages.
Used by templates {{tl|fti}}, {{tl|ftq}}, and {{tl|see section}} 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._quotes''' encloses the non-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 12:40, 30 August 2016

§

Usage

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

  • Function p._italic italicizes the non-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.
{{#invoke:Format title|function_name|article_title}}