Template:Code: Difference between revisions

From OpenGL Wiki
Jump to navigation Jump to search
m More presentable code tag.
m More presentable code tag.
Line 3: Line 3:
<nowiki>{{code|some text goes here}}</nowiki> becomes: {{code|some text goes here}}.
<nowiki>{{code|some text goes here}}</nowiki> becomes: {{code|some text goes here}}.


</noinclude><includeonly><span style="font-size: 100%; font-family: monospace; background-color: #f0f0f0;">{{{1}}}​</span><includeonly>
</noinclude><includeonly><span style="font-size: 1em; font-family: monospace; background-color: #f0f0f0;">{{{1}}}​</span><includeonly>

Revision as of 20:43, 28 January 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​.