Difference between revisions of "Template:Warning"

From wiki.emacinc.com
Jump to: navigation, search
m (tweaked)
 
(19 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<br /><div style="margin-left:7%;margin-right:22%;background-color:rgba(129,240,99,0.11);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;"><b style="font-size:large;font-variant:small-caps;font-style:normal;">Warning:</b> {{{1}}}</div><br />
+
<noinclude>
 +
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!