Template:File: Difference between revisions

no edit summary
No edit summary
No edit summary
Line 1: Line 1:
<includeonly>
<includeonly>
<div style="border: 1px solid #222222; padding: none; margin: .2em .2em; background-color: #DCDCDC;">
<div style="border: 1px solid #222222; padding: none; margin: .2em .2em; background-color: #DCDCDC;">
<div class="filename">'''File :''' {{{name|file.txt}}}</div>
<div class="download_form">
<div class="download_form">
<htmltag tagname="form" action="resources/assets/download.php" method="post">
<htmltag tagname="form" action="/resources/assets/download.php" method="post">
<htmltag tagname="input" type="hidden" name="text" value="{{urlencode:{{{contents|}}}|}}" />
<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="hidden" name="filename" value="{{{name|file.txt}}}" />
Line 8: Line 9:
</htmltag>
</htmltag>
</div>
</div>
<div class="filename">'''File :''' {{{name|file.txt}}}</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"}}
Bureaucrats, cc_docs_admin, cc_staff, rsnt_translations
2,837

edits