User:Cologne Blue/templates/Plink/doc
Appearance
This is a documentation subpage for User:Cologne Blue/templates/Plink. It may contain usage information, categories and other content that is not part of the original user template page. |
NOTE: i did not make this template, it is copied from [1]
Usage
[edit]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:
- {{User:Cologne Blue/templates/Plink|Wikipedia:Sandbox|foo|a tooltip!}} → foo
- {{User:Cologne Blue/templates/Plink|Wikipedia:Sandbox|3=hey look no second parameter!}} → Wikipedia:Sandbox
- {{User:Cologne Blue/templates/Plink|Main page|foo|bar|highlight=yes}} → foo?
- {{User:Cologne Blue/templates/Plink|Main Page|bar|3=If the tooltip has an = sign in it, you have to start the parameter with 3=}} bar
- {{User:Cologne Blue/templates/Plink|Wikipedia: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.