Difference between revisions of "Template:Warning"

From wiki.emacinc.com
Jump to: navigation, search
(Created)
 
 
(29 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<br /><div style="margin-left:7%;margin-right:22%;background-color:#ffa0a0;border-radius:13px;line-height:1.25em;padding:11px;padding-left:20px;padding-right:20px;"><b>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!