Template:inlinecontentwarning

From Homestar Runner Wiki

(Difference between revisions)
Jump to: navigation, search
(Corrected the location of Wikipedia link for "tooltip")
(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:Loreum Ipsum|Loreum Ipsum]] {{inlinecontentwarning|sample warning message|This is an example content warning.}}</nowiki></code>
+
<code><nowiki>[[Wikipedia:Lorem Ipsum|Lorem Ipsum]] {{inlinecontentwarning|sample warning message|This is an example content warning.}}</nowiki></code>
Yields:<br />
Yields:<br />
-
[[Wikipedia:Loreum Ipsum|Loreum Ipsum]] {{inlinecontentwarning|sample warning message|This is an example content warning.}}
+
[[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

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

Yields:
Lorem 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