Difference between revisions of "Template:Warning"

From wiki.emacinc.com
Jump to: navigation, search
m (Added icon.)
 
(17 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<br /><div style="margin-left:7%;margin-right:22%;background-color:rgba(240,255,219,0.72);border-color:#c00000;border-style:solid;border-radius:13px;border-width:3px;box-shadow:3px 3px 5px #888;line-height:1.25em;padding:11px;padding-left:20px;padding-right:20px;font-style:oblique;font-size:normal;"><table style="border:none;box-shadow:0 0 0 0;"><tr style="border:none;box-shadow:0 0 0 0;"><td style="border:none;box-shadow:0 0 0 0;">[[File:Imbox deletion.png|frameless|40px|]]</td><td style="border:none;box-shadow:0 0 0 0;">
+
<noinclude>
<b style="font-size:large;font-variant:small-caps;font-style:normal;">Warning:</b></td><td style="border:none;box-shadow:0 0 0 0;"> {{{1}}}</td></tr></table></div><br />
+
Use it like this:
 +
 
 +
<nowiki>{{warning|This is a warning!}}</nowiki>
 +
 
 +
to produce:
 +
 
 +
{{warning|This is a warning!}}
 +
 
 +
</noinclude>
 +
<includeonly>
 +
 
 +
<div class="twarn">
 +
  <table class="twarn_table">
 +
    <tr class="twarn_table_r1">
 +
      <td class="twarn_table_c1"><span class="twarn_header">WARNING!</span></td>
 +
    </tr><tr class="twarn_table_r2">
 +
      <td class="twarn_table_c2"><span class="twarn_content">{{{1}}}</span></td>
 +
    </tr>
 +
  </table>
 +
</div>
 +
 
 +
</includeonly>

Latest revision as of 16:40, 15 July 2015

Use it like this:

{{warning|This is a warning!}}

to produce:



WARNING!
This is a warning!