Template:Code: Difference between revisions

From OpenGL Wiki
Jump to navigation Jump to search
m More presentable code tag.
Code background color is lighter.
Line 1: Line 1:
<noinclude>This template is used for inline code demarcation. This should be used for things like enumerators and the like.
<noinclude>This template is used for inline code demarcation. This should be used for things like enumerators and the like.


<nowiki>{{code|some text goes here}}</nowiki> 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: #f0f0f0;">{{{1}}}​</tt><includeonly>
</noinclude><includeonly><tt style="background-color: #f8f8f8;">{{{1}}}​</tt><includeonly>

Revision as of 23:24, 4 October 2012

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​.