Template:Plink
[[{{{1}}}|{{{1}}}]]
[edit] Template documentation
This template is used on over 2.6 million pages. Changes to this template may cause some server load, and mistakes will be visible on many pages. Please carefully test any edits before making them, and avoid making unnecessary edits. |
Usage
This creates a link with a tooltip. Warning: many people never notice tooltips, so do not use them for critical information.
- First parameter is page to link to (this takes internal links)
- 2nd parameter is text to link. (defaults to first param)
- 3rd is the tooltip (title in html attribute speak).
Examples:
- {{plink|Wikinews:Sandbox|foo|a tootip!}} → foo
- {{plink|Wikinews:Sandbox|3=hey look no second parameter!}} → Wikinews:Sandbox
- {{plink|Main page|The News|You should be reading if you aren't writing!|highlight=yes}} → The News?
- {{plink|Main Page|bar|3=If the tooltip has an = sign in it, you have to start the parameter with 3=}} bar
- {{plink|Wikinews:Sandbox|2=you also have to start the wikitext with 2= if it has an = sign in it.|another tootip!}} → you also have to start the wikitext with 2=, and the tooltip with 3= if the wikitext has an = sign in it.
See also
- {{tooltip}}