Notice: this Wiki will be going read only early in 2024 and edits will no longer be possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.
Difference between revisions of "Template:Codeblock"
(New page: <noinclude>Category:Templates Displays a block of code inside a small table cell instead of a full-width cell. ===Usage=== ; <nowiki>{{codeblock|some code}} -></nowiki> <table><tr><td>...) |
m |
||
Line 3: | Line 3: | ||
===Usage=== | ===Usage=== | ||
; <nowiki>{{codeblock|some code}} -></nowiki> | ; <nowiki>{{codeblock|some code}} -></nowiki> | ||
− | <table><tr><td> | + | : <table><tr><td> |
some code | some code | ||
</td></tr></table></noinclude> | </td></tr></table></noinclude> | ||
− | <includeonly><table><tr><td> | + | <includeonly>: <table><tr><td> |
{{{1}}} | {{{1}}} | ||
</td></tr></table></includeonly> | </td></tr></table></includeonly> |
Revision as of 18:56, 28 November 2007
Displays a block of code inside a small table cell instead of a full-width cell.
Usage
- {{codeblock|some code}} ->
-
some code