Template:inlinecontentwarning
From Homestar Runner Wiki
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!) |
m (Went back to the NASA link (it's was an interesting website choice...why did I change it) and also mentioned how tooltips are known to fade-away.) |
||
Line 9: | Line 9: | ||
When someone rolls over this template, a [[Wikipedia:Tooltip|tooltip]] will be displayed containing what you entered for the second parameter. | When someone rolls over this template, a [[Wikipedia:Tooltip|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 | + | 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. They will also disappear after a few seconds, requiring a user to take their cursor off of the warning and back on it again to see it again. |
'''Example:'''<br /> | '''Example:'''<br /> | ||
- | <code><nowiki>[ | + | <code><nowiki>[http://www.nasa.gov Read me.] {{inlinecontentwarning|sample warning message|This is an example content warning.}}</nowiki></code> |
Yields:<br /> | Yields:<br /> | ||
- | [ | + | [http://www.nasa.gov Read me.] {{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 22:41, 6 September 2009
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. They will also disappear after a few seconds, requiring a user to take their cursor off of the warning and back on it again to see it again.
Example:
[http://www.nasa.gov Read me.] {{inlinecontentwarning|sample warning message|This is an example content warning.}}
Yields:
Read me. sample warning message
In most cases, be sure to place the warning template before the link in question, especially in running text.