Work in progress — This wiki is an active migration / mirror of Homestar Runner Wiki and is not finished yet. Account registration and public editing are turned off until the migration is further along. For status updates, see the migration thread on the forums.

Template:inlinecontentwarning: Difference between revisions

From HR Wiki Twice
Jump to navigationJump to search
imported>HRWikiMirrorBot
Reimported from hrwiki.org Wayback HTML→wikitext (full reconvert)
 
imported>HRWikiMirrorBot
Reimported from hrwiki.org Wayback HTML→wikitext (full reconvert)
 
Line 1: Line 1:
<!-- Mirrored from Homestar Runner Wiki (hrwiki.org) via Wayback Machine -->
<!-- Wayback HTML body (hrwiki.org); RawHtml -->
https://web.archive.org/web/20211001000000im_/http://www.hrwiki.org/w/images/thumb/5/53/Exclamation_Mark.png/12px-Exclamation_Mark.png content warning
<html>
<p><span style="background-color: #DEF; border: 1px solid #69C; padding:2px;font-size:x-small;white-space:nowrap;" title="The external website linked here contains offensive language and/or content."><a class="image" href="/index.php?title=File:Exclamation_Mark.png" title="The external website linked here contains offensive language and/or content."><img alt="The external website linked here contains offensive language and/or content." border="0" height="11" src="https://web.archive.org/web/20211001000000im_/http://www.hrwiki.org/w/images/thumb/5/53/Exclamation_Mark.png/12px-Exclamation_Mark.png" width="12"/></a> content warning</span>
</p>
<hr/>
<p>This template is used to indicate readers of objectionable material.
</p><p><b>Usage:</b><br/>
<code>{{inlinecontentwarning|warning message|tooltip to display}}</code>
</p>
<dl><dd><i>Both parameters are optional.</i>
</dd></dl>
<p>When someone rolls over this template, a <a class="extiw" href="/index.php?title=Tooltip" title="wikipedia:Tooltip">tooltip</a> will be displayed containing what you entered for the second parameter.
</p><p>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.
</p><p><b>Example:</b><br/>
<code>[http://www.nasa.gov Read me.] {{inlinecontentwarning|sample warning message|This is an example content warning.}}</code>
</p><p>Yields:<br/>
<a class="external text" href="http://www.nasa.gov" rel="nofollow" title="http://www.nasa.gov">Read me.</a> <span style="background-color: #DEF; border: 1px solid #69C; padding:2px;font-size:x-small;white-space:nowrap;" title="This is an example content warning."><a class="image" href="/index.php?title=File:Exclamation_Mark.png" title="This is an example content warning."><img alt="This is an example content warning." border="0" height="11" src="https://web.archive.org/web/20211001000000im_/http://www.hrwiki.org/w/images/thumb/5/53/Exclamation_Mark.png/12px-Exclamation_Mark.png" width="12"/></a> sample warning message</span>
</p><p>In most cases, be sure to place the warning template <i>before</i> the link in question, especially in running text.
</p>


----


This template is used to indicate readers of objectionable material.


'''Usage:'''<br />
{{inlinecontentwarning|warning message|tooltip to display}}
<div class="visualClear"></div>
 
</html>
''Both parameters are optional.''
 
When someone rolls over this template, a [[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. 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 />
[http://www.nasa.gov Read me.] {{inlinecontentwarning|sample warning message|This is an example content warning.}}
 
Yields:<br />
[http://www.nasa.gov Read me.] https://web.archive.org/web/20211001000000im_/http://www.hrwiki.org/w/images/thumb/5/53/Exclamation_Mark.png/12px-Exclamation_Mark.png sample warning message
 
In most cases, be sure to place the warning template ''before'' the link in question, especially in running text.
[[Category:Content and Language Warnings]]



Latest revision as of 21:00, 18 July 2026

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


This template is used to indicate readers of objectionable material.

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. 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.