Difference between revisions of "Template:Code"

From Timelines
Jump to: navigation, search
m
(Update from sandbox)
 
(32 intermediate revisions by 9 users not shown)
Line 1: Line 1:
<div style="display:block;border:1px dashed darkblue;padding:.8em;margin-top:.5em;margin-bottom:.5em;background:#fafafa;{{ #ifeq: {{{2}}} | scroll |height:10em;overflow-y:auto; }}"><includeonly>{{{1}}}</includeonly><noinclude>{{Lorem Ipsum}}</noinclude></div><noinclude>
+
{{#tag:syntaxhighlight|{{{code|{{{1}}}}}}|lang={{{lang|{{{2|text}}}}}}|class={{{class|}}}|id={{{id|}}}|style={{{style|}}}|inline=1}}<noinclude>
 
{{documentation}}
 
{{documentation}}
 
</noinclude>
 
</noinclude>

Latest revision as of 07:37, 8 April 2016

<syntaxhighlight lang="text" class="" id="" style="" inline="1">{{{1}}}</syntaxhighlight>

Template documentation[create]