Template:File: Difference between revisions

From Alliance Doc
Jump to navigation Jump to search
No edit summary
(Undo revision 162149 by Poq (talk))
Tag: Undo
 
(8 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<includeonly>
<includeonly>
<div style="border: 1px solid #222222; padding: none; margin: .2em .2em; background-color: #DCDCDC;">
<div class="code-file">
afobin {{urlencode:{{{contents|}}}|}}  oinasfb
 
  <html|tag tagname="form" action="/extensions/SyntaxHighlight_GeSHi/download.php" method="post">
  <html|tag tagname="input" type="hidden" name="text" value="{{urlencode:{{{contents|}}}|}}" />
  <html|tag tagname="input" type="hidden" name="filename" value="{{{name|file.txt}}}" />
  <html|tag tagname="input" type="submit" value="" name="submit" class="download_submit" />
  </htmltag>
 
<div class="filename">'''File :''' {{{name|file.txt}}}</div>
<div class="filename">'''File :''' {{{name|file.txt}}}</div>
<div class="download_form">
<htmltag tagname="form" action="/mediawiki/resources/assets/download.php" method="post">
<htmltag tagname="input" type="hidden" name="text" value="{{urlencode:{{{contents|}}}|}}" />
<htmltag tagname="input" type="hidden" name="filename" value="{{{name|file.txt}}}" />
<htmltag tagname="input" type="submit" value="" name="submit" class="download_submit" />
</htmltag>
</div>
{{#ifeq: {{{lines|no}}} | yes |
{{#ifeq: {{{lines|no}}} | 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}}}|line="GESHI_FANCY_LINE_NUMBERS"}}

Latest revision as of 21:17, 9 October 2024