Template:Code: Difference between revisions

From OpenGL Wiki
Jump to navigation Jump to search
m More presentable code tag.
No edit summary
 
(7 intermediate revisions by 2 users not shown)
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><span style="font-size: 100%; font-family: monospace; background-color: #f0f0f0;">{{{1}}}</span><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.