Difference between revisions of "Template:Code"

From RogueBasin
Jump to navigation Jump to search
m
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
<includeonly>
<includeonly>


'''{{{1}}} {{{2}}}'''
<div style="font-size:1.5em;">{{#tag:source|lang={{{1|c}}}|{{{2|/* No code given! See Template:Code for more information. */}}}}}</div></includeonly><noinclude>
 
<div style="font-size:1.5em;">{{#tag:source|lang={{{1|c}}}|{{{2|/* No code given! See Template:Code for more information. */}}}}}</source></div></includeonly><noinclude>
Usage:
Usage:
<pre>{{code|(language)|(code)}}</pre>
<pre>{{code|(language)|(code)}}</pre>
{{code|python|a{{=}}5}}
{{code|python|a{{=}}5}}


[[Category:Templates]]
</noinclude>
</noinclude>

Latest revision as of 13:07, 3 December 2018

Usage:

{{code|(language)|(code)}}


lang=python