Template:Code: Difference between revisions

From Zoophilia Wiki
Jump to navigationJump to search
meta>Emil76~enwiki
(add optional scroll parameter for displaying longer code samples)
m (45 revisions imported)
 
(35 intermediate revisions by 10 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}}
<!-- Add categories to the /doc subpage, interwikis to Wikidata, not here -->
</noinclude>
</noinclude>

Latest revision as of 00:58, 3 September 2020

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