codecomment – Template

From Bohemia Interactive Community
Jump to navigation Jump to search

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 */