Template:inlinecontentwarning: Difference between revisions
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: | ||
<!-- | <!-- 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> | |||
<div class="visualClear"></div> | |||
</html> | |||
Latest revision as of 21:00, 18 July 2026
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.
sample warning message
In most cases, be sure to place the warning template before the link in question, especially in running text.