Template:Warning: Difference between revisions

From Peters wiki
Jump to navigation Jump to search
Created page with "<noinclude>{{Template}} '''A 'Warning' box used to report potential danger. ====Usage==== {{Ic|1=<nowiki>{{Warning|This text should be heeded.}}</nowiki>}} ====Example====..."
 
mNo edit summary
 
(17 intermediate revisions by the same user not shown)
Line 1: Line 1:
<noinclude>{{Template}}
<noinclude>
{{Template}}
This is the "Warning" template.
It should be called in the following format:
<pre>
{{Warning|Body Text}}
</pre>
Result:
{{Warning|Body Text}}


'''A 'Warning' box used to report potential danger.
Edit the page to see the template text.
 
</noinclude><includeonly>
====Usage====
<div style="min-height: 85px;">
 
<div style="background-color: #fdd;
{{Ic|1=<nowiki>{{Warning|This text should be heeded.}}</nowiki>}}
  margin: auto;
 
  margin-left: auto;
====Example====
  margin-right: auto;
 
  width: 70% !important;
{{Warning|This text should be heeded.}}</noinclude><includeonly>{{Box RED|Warning:|{{{1}}}}}</includeonly>
  min-height: 40px;
  clear: both;
  text-align: left;
  vertical-align: middle;
  border-collapse: collapse;
  padding: 15px 20px 25px 10px;
  -moz-border-radius: 20px;
  -khtml-border-radius: 20px;
  border-radius: 20px;
  font-weight:bold;
">[[File:Warning.svg|60px|left]] Varning: {{{1}}}<nowiki/>
</div>
</div>
</includeonly>

Latest revision as of 15:08, 25 April 2016

This page is a template. It contains no information, but should be used as part of other articles. For more information, read Help:Template.

Please do not experiment with this template; you could ruin all pages using this template. If you want to edit this template, copy the text to Template:Sandbox, edit and test it there, and copy it back when it works.

Feel free to voice your opinion regarding this template.

This is the "Warning" template. It should be called in the following format:

{{Warning|Body Text}}

Result:

Varning: Body Text


Edit the page to see the template text.