cc – Template
Jump to navigation
Jump to search
Displays a code comment.
Usage
spaced /*
test1 test2 test3 */ |
spaced + line return /*
test1 test2 test3 */ |
code tag
|
code tag + line return
|
{{cc|message}}
- message: comment to display
Code | Result |
---|---|
{{cc}} | // -no comment defined- |
{{cc|this code is wonderful}} | // this code is wonderful |
<code>{{cc|this code is wonderful}}</code> |
/*
this code is wonderful */ |
<code>{{cc| this code is wonderful }}</code> |
/*
this code is wonderful */ |
Source
<span style="color: #00F; font-style: italic"><nowiki>//</nowiki> {{Trim|{{{1|-no comment defined-}}}}}</span>