Difference between revisions of "Category:Admonition Templates"

From Eclipsepedia

Jump to: navigation, search
(New page: = Admonitions = There are five types of admonitions: caution, important, note, tip, and warning. All of the admonitions have the same structure: an optional title followed by paragraph-le...)
 
Line 7: Line 7:
 
|-
 
|-
 
||<pre>
 
||<pre>
{{note|A title|Here is more information about
+
{{note|A title|Here is more information about this tip.}}
this tip, with information that provides more insight
+
into the informative title of the initial paragraph.}}
+
 
</pre>
 
</pre>
||{{note|A title|Here is more information about this tip, with information that
+
||{{note|A title|Here is more information about this tip.}}
provides more insight into the informative title of the initial paragraph.}}
+
 
|}
 
|}
  

Revision as of 20:06, 11 August 2009

Admonitions

There are five types of admonitions: caution, important, note, tip, and warning. All of the admonitions have the same structure: an optional title followed by paragraph-level elements. To make a paragraph into an admonition, use the special admonition template. A short title and a longer descriptive paragraph are recommended!

What you type What you see
{{note|A title|Here is more information about this tip.}}
Note.png
A title
Here is more information about this tip.

Indent the initial and second paragraph by one space, to ensure that the box aligns correctly.

These are the standard types of admonition:

What you type What you see
{{note|This is a note|Informational paragraph
that tells more about what is going on.}}
Note.png
This is a note
Informational paragraph that tells more about what is going on.
{{tip|This is a tip|Informational paragraph
that tells more about what is going on.}}
Idea.png
This is a tip
Informational paragraph that tells more about what is going on.
{{important|This is important|Informational paragraph
that tells more about what is going on.}}
Important.png
This is important
Informational paragraph that tells more about what is going on.
{{caution|This is a caution|Informational paragraph
that tells more about what is going on.}}
Stop.png
This is a caution
Informational paragraph that tells more about what is going on.
{{warning|This is a warning|Informational paragraph
that tells more about what is going on.}}
Warning2.png
This is a warning
Informational paragraph that tells more about what is going on.

Pages in category "Admonition Templates"

The following 5 pages are in this category, out of 5 total.