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 |
||
Line 2: | Line 2: | ||
<div class="code-block"> | <div class="code-block"> | ||
<htmltag tagname="input" type="hidden" name="text" value="{{urlencode:{{{contents|}}}|}}" /> | <htmltag tagname="input" type="hidden" name="text" value="{{urlencode:{{{contents|}}}|}}" /> | ||
</div> | </div> | ||
{{#ifeq: {{{lines|yes}}} | yes | | {{#ifeq: {{{lines|yes}}} | yes | |