mozilla

Revision 429821 of TemplateTests

  • Revision slug: User:Sheppy/TemplateTests
  • Revision title: TemplateTests
  • Revision id: 429821
  • Created:
  • Creator: Sheppy
  • Is current revision? No
  • Comment

Revision Content

Notes

Some examples of note boxes:

Note: This is a note. It's useful or important information but not critical.

Notes may include other stuff too:

Note: If you have trouble with this, you may need to do the following

foo.doStuff();
if (bar) {
  baz();
}

Warnings

Warnings present information that needs to be considered or bad things may happen:

Warning: If you don't do this right, the Universe will explode. See Some page or other for details.

These, too, may include other stuff like code samples or tables.

More details

We don't actually have this yet. This is something that we need to define. The idea is for this to be an expandable or togglable box that contains information that most readers won't need but might be of interest to specific users. We're really open to how this should look and work.

Revision Source

<h2>Notes</h2>
<p>Some examples of note boxes:</p>
<div class="note">
  <p><strong>Note:</strong> This is a note. It's useful or important information but not critical.</p>
</div>
<p>Notes may include other stuff too:</p>
<div class="note">
  <p><strong>Note:</strong> If you have trouble with this, you may need to do the following</p>
  <pre class="brush: js">
foo.doStuff();
if (bar) {
  baz();
}
</pre>
</div>
<h2>Warnings</h2>
<p>Warnings present information that needs to be considered or bad things may happen:</p>
<div class="warning">
  <p><strong>Warning:</strong> If you don't do this right, the Universe will explode. See <a href="/en-US/docs/" title="/en-US/docs/">Some page or other</a> for details.</p>
</div>
<p>These, too, may include other stuff like code samples or tables.</p>
<h2>More details</h2>
<p>We don't actually have this yet. This is something that we need to define. The idea is for this to be an expandable or togglable box that contains information that most readers won't need but might be of interest to specific users. We're really open to how this should look and work.</p>
Revert to this revision