codecomment – Template

From Bohemia Interactive Community
Revision as of 16:43, 30 June 2022 by Lou Montana (talk | contribs) (Some wiki formatting)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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 */