Template:inlinecontentwarning

From Homestar Runner Wiki

(Difference between revisions)
Jump to: navigation, search
(Used a different example (Loreum Ipsum instead of the NASA link) and further explained it.)
(Corrected the location of Wikipedia link for "tooltip")
Line 7: Line 7:
:''Both parameters are optional.''
:''Both parameters are optional.''
-
When someone rolls over this template, a 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 [[Wikipedia:Tooltip|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
'''Example:'''<br />
'''Example:'''<br />

Revision as of 04:32, 16 November 2008

The external website linked here contains offensive language and/or content. content warning


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:Loreum Ipsum|Loreum Ipsum]] {{inlinecontentwarning|sample warning message|This is an example content warning.}}

Yields:
Loreum Ipsum This is an example content warning. sample warning message

In most cases, be sure to place the warning template before the link in question, especially in running text.

Personal tools