Template:Note: Difference between revisions

From Octave
Jump to navigation Jump to search
m (remove copy on top as example)
(remove limitation of width box to 65%)
Line 1: Line 1:
<includeonly><div style="padding: .2em .3em; margin: .2em .2em; background-color: #c1ffc1; border: solid 1px #00B000; font-size: 92%; width: 65%;">'''Note:''' {{{1}}}</div></includeonly><noinclude>{{TemplateDoc}}[[Category:Templates]]</noinclude>
<includeonly><div style="padding: .2em .3em; margin: .2em .2em; background-color: #c1ffc1; border: solid 1px #00B000; font-size: 92%;">'''Note:''' {{{1}}}</div></includeonly><noinclude>{{TemplateDoc}}[[Category:Templates]]</noinclude>

Revision as of 19:35, 17 July 2012

[edit]

Template-info.png Template Documentation

This template is for items which should be noted by the user, but are not important enough to be a Warning.

Example:

{{Note|Methods of a class can be documented but the only way to access their help text is by specifying the class as in {{Codeline|help @class/method}}.}}

Will produce:

Note: Methods of a class can be documented but the only way to access their help text is by specifying the class as in help @class/method.