Editing
Template:Warning/en
Jump to navigation
Jump to search
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
<languages/> <onlyinclude>{{#if: {{{msg|{{{1|}}}}}}|<table class="warning-message" cellspacing="0" cellpadding="0" border="0" style="box-sizing:border-box; border:1px #d33 solid; background: transparent; margin:0.5em 0;padding:0.5em;background-color: #fee7e6"><tr><td nowrap="nowrap" valign="top">}}<span style="position: relative; top: -2px;">[[File:OOjs_UI_icon_notice-destructive.svg|18px|alt=Warning|link=]]</span> '''Warning:''' {{#if: {{{msg|{{{1|}}}}}}|</td><td valign="top" style="padding-{{dir|{{pagelang}}|right|left}}:0.5em;">{{{msg|{{{1|}}}}}}</td></tr></table>}}</onlyinclude> {{Documentation|content= == Usage == This template has two possible usages: # Will have the text flow below when the warning text is too long # Uses a table to indent the text. === Method 1 === The following displays the warning icon and the word "Warning:". You can follow this with whatever text/images/markup you like. Wiki Code: <nowiki>{{warning}}</nowiki> Don't do that! {{warning}} Don't do that! === Method 2 === The following includes the text passed to the template, and uses a table to stop the text flowing round the icon. Wiki Code: <nowiki>{{warning|1=</nowiki>Here is a long warning, which is sufficiently wordy to run onto a second line (unless you have a really large screen!), which would normally cause it to wrap round the icon, but because we passed it as a parameter it keeps its left alignment straight.<nowiki>}}</nowiki> {{warning|1=Here is a long warning, which is sufficiently wordy to run onto a second line (unless you have a really large screen!), which would normally cause it to wrap round the icon, but because we passed it as a parameter it keeps its left alignment straight.}} }} [[Category:Warning templates{{#translation:}}|{{PAGENAME}}]]
Summary:
Please note that all contributions to NodeSpace Wiki may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see
NodeSpace Wiki:Copyrights
for details).
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)
Templates used on this page:
Template:Dir
(
edit
)
Template:Documentation
(
edit
)
Template:Pagelang
(
edit
)
Template:Warning
(
edit
)
Module:Arguments
(
edit
)
Module:Documentation
(
edit
)
Module:Documentation/config
(
edit
)
Module:Message box
(
edit
)
Module:No globals
(
edit
)
Module:TNT
(
edit
)
Module:Template translation
(
edit
)
Module:Yesno
(
edit
)
Navigation menu
Personal tools
Not logged in
Talk
Contributions
Create account
Log in
Namespaces
Template
Discussion
English
Views
Read
Edit source
View history
More
Navigation
Main page
Recent changes
Random page
Official Support
Submit Ticket
Knowledge Base
Documentation
Knowledge Spotlight
Tools
Tools
What links here
Related changes
Special pages
Page information