Template:Code: Difference between revisions

From SD4H wiki
Jump to navigation Jump to search
No edit summary
No edit summary
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly>
<includeonly>
<div class="code-block">
<div class="code-block">
<htmltag tagname="input" type="hidden" name="text" value="{{urlencode:{{{contents|}}}|}}" />
</div>
</div>
{{#ifeq: {{{lines|yes}}} | yes |
{{#ifeq: {{{lines|yes}}} | yes |
Line 8: Line 7:
{{#tag:syntaxhighlight|{{{contents|}}}|lang={{{lang|bash}}}|name={{{name|file.txt}}}}}
{{#tag:syntaxhighlight|{{{contents|}}}|lang={{{lang|bash}}}|name={{{name|file.txt}}}}}
}}
}}
</div>
</includeonly>
</includeonly>
<noinclude>[[Including a source code file within the wiki]]</noinclude>

Latest revision as of 20:13, 8 November 2024