Template:Code: Difference between revisions
Jump to navigation
Jump to search
(Created page with "<includeonly> <div class="code-block"> <htmltag tagname="input" type="hidden" name="text" value="{{urlencode:{{{contents|}}}|}}" /> </htmltag> </div> {{#ifeq: {{{lines|yes}}} | yes | {{#tag:syntaxhighlight|{{{contents|}}}|lang={{{lang|bash}}}|name={{{name|file.txt}}}|line="GESHI_FANCY_LINE_NUMBERS"}} | {{#tag:syntaxhighlight|{{{contents|}}}|lang={{{lang|bash}}}|name={{{name|file.txt}}}}} }} </div> </includeonly> <noinclude>Including a source code file within the wiki...") |
No edit summary |
||
(3 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<includeonly> | <includeonly> | ||
<div class="code-block"> | <div class="code-block"> | ||
</div> | </div> | ||
{{#ifeq: {{{lines|yes}}} | yes | | {{#ifeq: {{{lines|yes}}} | yes | | ||
Line 9: | Line 7: | ||
{{#tag:syntaxhighlight|{{{contents|}}}|lang={{{lang|bash}}}|name={{{name|file.txt}}}}} | {{#tag:syntaxhighlight|{{{contents|}}}|lang={{{lang|bash}}}|name={{{name|file.txt}}}}} | ||
}} | }} | ||
</includeonly> | </includeonly> | ||