Template:Linktitle/doc

From Wikipedia, the free encyclopedia

Usage[edit]

This template makes the rollover tooltip text display the specified text.

Full Capability Usage: {{linktitle|(url|wiki)=|text=|plain=}}

Only the bolded letters are necessary for the template to function properly.

Parameter Definitions[edit]

Parameter Required Notes
url See notes Use url for external links. (i.e., non-wiki namespace)
If url is omitted, the url must be the first parameter.
wiki Yes Use wiki for internal links.
text No Defines the text displayed in the tooltip box.
Always enclose text in quotes (").
plain No Defines the text to click on.

Examples[edit]

Input Output
{{linktitle|url=http://www.google.com/}} http://www.google.com/
{{linktitle|url=http://www.google.com/|text="A search engine"}} http://www.google.com/
{{linktitle|url=http://www.google.com/|plain=Google Search}} Google Search
{{linktitle|url=http://www.google.com/|text="A search engine"|plain=Google Search}} Google Search
{{linktitle|wiki=WP:POL}} WP:POL
{{linktitle|wiki=WP:POL|text="Wikipedia Policies and Guidelines"}} WP:POL
GOOD: {{linktitle|wiki=Wikipedia:Policies and guidelines|plain=WP:POL}} WP:POL
BAD: {{linktitle|wiki=Wikipedia:Policies_and_guidelines|plain=WP:POL}} WP:POL
BAD: {{linktitle|wiki=Wikipedia:Policies and guidelines|plain=WP:POL}} and guidelinesWP:POL
{{linktitle|wiki=Wikipedia:Policies_and_guidelines|text="poli and guide"|plain=WP:POL}} WP:POL