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
Imported from hrwiki.org via Wayback Machine (HTML→wikitext)
 
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; HTML converted to wikitext. Formatting may be imperfect. -->
<!-- Mirrored from Homestar Runner Wiki (hrwiki.org) via Wayback Machine -->
<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.">[[File:Exclamation Mark.png|[[File:Exclamation_Mark.png|12px|thumb|The external website linked here contains offensive language and/or content.]]]] content warning</span>
https://web.archive.org/web/20211001000000im_/http://www.hrwiki.org/w/images/thumb/5/53/Exclamation_Mark.png/12px-Exclamation_Mark.png content warning


-----
----


This template is used to indicate readers of objectionable material.
This template is used to indicate readers of objectionable material.


'''Usage:'''<br />
'''Usage:'''<br />
<code>{{inlinecontentwarning|warning message|tooltip to display}}</code>
{{inlinecontentwarning|warning message|tooltip to display}}


''Both parameters are optional.''
''Both parameters are optional.''
Line 16: Line 16:


'''Example:'''<br />
'''Example:'''<br />
<code>[http://www.nasa.gov Read me.] {{inlinecontentwarning|sample warning message|This is an example content warning.}}</code>
[http://www.nasa.gov Read me.] {{inlinecontentwarning|sample warning message|This is an example content warning.}}


Yields:<br />
Yields:<br />
[http://www.nasa.gov Read me.] <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.">[[File:Exclamation Mark.png|[[File:Exclamation_Mark.png|12px|thumb|This is an example content warning.]]]] sample warning message</span>
[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.
In most cases, be sure to place the warning template ''before'' the link in question, especially in running text.
 
[[Category:Content and Language Warnings]]
<div id="catlinks" class="catlinks">
 
<div id="mw-normal-catlinks">
 
[/wiki/Special:Categories Category]: <span dir="ltr">[[Category:Content and Language Warnings|Content and Language Warnings]]</span>
 
</div>
 
</div>



Latest revision as of 14:24, 14 July 2026

12px-Exclamation_Mark.png content warning


This template is used to indicate readers of objectionable material.

Usage:
Template:Inlinecontentwarning

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:
Read me. Template:Inlinecontentwarning

Yields:
Read me. 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.