codecomment – Template

From Bohemia Interactive Community
Jump to navigation Jump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

Displays a colour-coded code comment. See {{cc}} for single-line comments. It also adds the page to the codecomment template usage error category on usage error.

This template is used on these pages.

Usage

{{codecomment}}


Examples
Code Result
{{codecomment}} -no comment defined-
{{codecomment|example comment}} example comment
{{codecomment|/* example comment <nowiki/>*/}}

/* example comment */