Template inlinecontentwarning: Difference between revisions
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 | <!-- Mirrored from Homestar Runner Wiki (hrwiki.org) via Wayback Machine --> | ||
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 /> | ||
{{inlinecontentwarning|warning message|tooltip to display}} | |||
''Both parameters are optional.'' | ''Both parameters are optional.'' | ||
| Line 16: | Line 16: | ||
'''Example:'''<br /> | '''Example:'''<br /> | ||
[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.] | [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]] | |||
Latest revision as of 14:24, 14 July 2026
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.
sample warning message
In most cases, be sure to place the warning template before the link in question, especially in running text.