Template:Note: Difference between revisions

From Octave
Jump to navigation Jump to search
(change display to inline-block so the padding does not make the box overlap the text above and below)
(Less striking color green to blue.)
Line 1: Line 1:
<includeonly><span style="background-color: #c1ffc1; padding: 1em; border-radius: 1em; border:.1em solid #00B000; display:inline-block">'''Note:''' {{{1}}}</span></includeonly><noinclude>{{TemplateDoc}}[[Category:Templates]]</noinclude>
<includeonly><span style="background-color: #b0c4de; padding: 1em; border-radius: 1em; border:.1em solid #4682b4; display:inline-block">'''Note:''' {{{1}}}</span></includeonly><noinclude>{{TemplateDoc}}[[Category:Templates]]</noinclude>

Revision as of 09:16, 11 June 2019

[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.