Template:Note/Doc: Difference between revisions
Jump to navigation
Jump to search
Carandraug (talk | contribs) m (fixing text) |
Carandraug (talk | contribs) m (fix again) |
||
Line 5: | Line 5: | ||
Will produce: | Will produce: | ||
{{Note|methods of a class can be documented. The help for the constructor itself can be obtained with the constructor name, that is for the polynomial constructor {{Codeline|help polynomial}} will return the help string. Also the help can be obtained by restricting the search for the help to a particular class, for example {{Codeline|help @polynomial/polynomial}}. This second method is the only means of getting help for the overloaded methods and functions of the class.}} | |||
<noinclude>[[Category:Template Documentation]]</noinclude> | <noinclude>[[Category:Template Documentation]]</noinclude> |
Revision as of 23:16, 11 December 2011
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. The help for the constructor itself can be obtained with the constructor name, that is for the polynomial constructor {{Codeline|help polynomial}} will return the help string. Also the help can be obtained by restricting the search for the help to a particular class, for example {{Codeline|help @polynomial/polynomial}}. This second method is the only means of getting help for the overloaded methods and functions of the class.}}
Will produce:
methods of a class can be documented. The help for the constructor itself can be obtained with the constructor name, that is for the polynomial constructor
help polynomial
will return the help string. Also the help can be obtained by restricting the search for the help to a particular class, for example help @polynomial/polynomial
. This second method is the only means of getting help for the overloaded methods and functions of the class.