Template:Syntaxhighlight: Difference between revisions

From Zoophilia Wiki
Jump to navigationJump to search
meta>Amalthea
A wrapper for a non-enclosed source tag, enclosing it in a white-space wrapping div, similar in style to a <pre> tag. Useful for inline use on talk pages, where a plain source tag breaks indentation.
 
Ookami (talk | contribs)
m 20 revisions imported
 
(19 intermediate revisions by 9 users not shown)
Line 1: Line 1:
<div class="source" style="border:1px dashed #2F6FAB;font-family:monospace,sans-serif;padding:1em;margin-left:1em;">{{#tag:source|{{{1}}}|lang="{{{lang<noinclude>|html4strict</noinclude>}}}"|enclose="none"}}</div><noinclude>
{{#tag:syntaxhighlight|{{{code|{{{1}}}}}}|lang="{{{lang|{{{2|text}}}}}}"|{{#ifeq:{{{border|}}}|no|style="border: none !important"}}}}<noinclude>
 
{{documentation}}
{{Documentation}}
</noinclude>
</noinclude>

Latest revision as of 14:13, 3 September 2020

<syntaxhighlight lang="text">{{{1}}}</syntaxhighlight>