cc – Template

From Bohemia Interactive Community
Revision as of 16:59, 14 March 2022 by Lou Montana (talk | contribs) (Add .code-comment class usage)
Jump to navigation Jump to search

Displays a one-lined code comment. See {{codecomment}} for multi-lines comments.

This template is used on these pages.

Usage

{{cc|message}}

  • message: comment to display
Examples
Code Result
{{cc}} // -no comment defined-
{{cc|this code is wonderful}} // this code is wonderful
{{cc|this code is wonderful}}
// this

code is wonderful