Template:inlinecontentwarning
From Homestar Runner Wiki
(Corrected the location of Wikipedia link for "tooltip") |
Defender1031 (Talk | contribs) (i don't see any reason it needed to be changed, but if it's gonna be, at least spell your nonsense words correctly!) |
||
Line 12: | Line 12: | ||
'''Example:'''<br /> | '''Example:'''<br /> | ||
- | <code><nowiki>[[Wikipedia: | + | <code><nowiki>[[Wikipedia:Lorem Ipsum|Lorem Ipsum]] {{inlinecontentwarning|sample warning message|This is an example content warning.}}</nowiki></code> |
Yields:<br /> | Yields:<br /> | ||
- | [[Wikipedia: | + | [[Wikipedia:Lorem Ipsum|Lorem Ipsum]] {{inlinecontentwarning|sample warning message|This is an example content warning.}} |
In most cases, be sure to place the warning template ''before'' the link in question, especially in running text. | In most cases, be sure to place the warning template ''before'' the link in question, especially in running text. | ||
[[Category:Content and Language Warnings|{{PAGENAME}}]]</noinclude> | [[Category:Content and Language Warnings|{{PAGENAME}}]]</noinclude> |
Revision as of 04:32, 16 November 2008
This template is used to indicate readers of objectionable material found in external links.
Usage:
{{inlinecontentwarning|warning message|tooltip to display}}
- Both parameters are optional.
When someone rolls over this template, a tooltip will be displayed containing what you entered for the second parameter.
The tooltip should be a brief message further explaining the warning. It should be checked to see if the tooltip appears completely, because after a certain length they will be cut off by the browser
Example:
[[Wikipedia:Lorem Ipsum|Lorem Ipsum]] {{inlinecontentwarning|sample warning message|This is an example content warning.}}
Yields:
Lorem Ipsum sample warning message
In most cases, be sure to place the warning template before the link in question, especially in running text.