Template:Code: Difference between revisions

From OpenGL Wiki
Jump to navigation Jump to search
Code background color is lighter.
No edit summary
 
(4 intermediate revisions by 2 users not shown)
Line 3: Line 3:
<code><nowiki>{{code|some text goes here}}</nowiki></code> becomes: {{code|some text goes here}}.
<code><nowiki>{{code|some text goes here}}</nowiki></code> becomes: {{code|some text goes here}}.


</noinclude><includeonly><tt style="background-color: #f8f8f8;">{{{1}}}</tt><includeonly>
[[Category:Inline Formatting Templates]]
</noinclude><includeonly><span class{{=}}"tpl-code">{{{1}}}</span></includeonly>

Latest revision as of 22:03, 22 November 2017

This template is used for inline code demarcation. This should be used for things like enumerators and the like.

{{code|some text goes here}} becomes: some text goes here.