Template:inlinecontentwarning
From Homestar Runner Wiki
(Difference between revisions)
(adding usage information; i think this would be helpful) |
m (forgot br, added default usage, made prettier?) |
||
| Line 6: | Line 6: | ||
<code><nowiki>{{inlinecontentwarning|warning message|exclamation image caption message}}</nowiki></code> | <code><nowiki>{{inlinecontentwarning|warning message|exclamation image caption message}}</nowiki></code> | ||
| - | Both parameters are optional. | + | <code><nowiki>{{inlinecontentwarning}}</nowiki></code> |
| + | :''Both parameters are optional.'' | ||
'''Example:'''<br /> | '''Example:'''<br /> | ||
<code><nowiki>{{inlinecontentwarning|sample warning message|This is an example content warning.}} [http://www.nasa.gov Read me.]</nowiki></code> | <code><nowiki>{{inlinecontentwarning|sample warning message|This is an example content warning.}} [http://www.nasa.gov Read me.]</nowiki></code> | ||
| - | Yields: | + | Yields:<br /> |
{{inlinecontentwarning|sample warning message|This is an example content warning.}} [http://www.nasa.gov Read me.] | {{inlinecontentwarning|sample warning message|This is an example content warning.}} [http://www.nasa.gov Read me.] | ||
Place the warning template ''before'' the link in question. | Place the warning template ''before'' the link in question. | ||
[[Category:Content and Language Warnings|{{PAGENAME}}]]</noinclude> | [[Category:Content and Language Warnings|{{PAGENAME}}]]</noinclude> | ||
Revision as of 03:07, 14 March 2007
This template is used to indicate readers of objectionable material found in external links.
Usage:
{{inlinecontentwarning|warning message|exclamation image caption message}}
{{inlinecontentwarning}}
- Both parameters are optional.
Example:
{{inlinecontentwarning|sample warning message|This is an example content warning.}} [http://www.nasa.gov Read me.]
Yields:
sample warning message Read me.
Place the warning template before the link in question.
