Template:Note: Difference between revisions

From Octave
Jump to navigation Jump to search
m (A bit more vertical spacing.)
(Remove "'''Note:''' ".)
Line 1: Line 1:
<includeonly><div style="background-color: #b7e5f4; padding: 0.5em; border-radius: 0.5em; border:.1em solid #4682b4; margin-top: 1em; margin-bottom: 1em; display: inline-block;"><div style="float: left; width: 30px;">[[File:Info_icon.svg|30px]]</div><div style="padding-left: 3em; padding-right: 1em; margin-bottom: 0.5em;">'''Note:''' {{{1}}}</div></div></includeonly><noinclude>{{TemplateDoc}}[[Category:Templates]]</noinclude>
<includeonly><div style="background-color: #b7e5f4; padding: 0.5em; border-radius: 0.5em; border:.1em solid #4682b4; margin-top: 1em; margin-bottom: 1em; display: inline-block;"><div style="float: left; width: 30px;">[[File:Info_icon.svg|30px]]</div><div style="padding-left: 3em; padding-right: 1em; margin-bottom: 0.5em;">{{{1}}}</div></div></includeonly><noinclude>{{TemplateDoc}}[[Category:Templates]]</noinclude>

Revision as of 14:04, 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:

Info icon.svg
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.