Template:Fichier: Difference between revisions

From Alliance Doc
Jump to navigation Jump to search
(Created page with "<includeonly> <div style="border: 1px solid #222222; padding: none; margin: .2em .2em; background-color: #DCDCDC;"> <div class="filename">'''Fichier :''' {{{nom|fichier.txt}}}...")
 
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">'''Fichier :''' {{{nom|fichier.txt}}}</div>
<div class="filename">'''Fichier :''' {{{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|{{{contenu|}}}|lang={{{lang|bash}}}|name={{{nom|fichier.txt}}}|line=GESHI_NORMAL_LINE_NUMBERS}}
{{#tag:syntaxhighlight|{{{contents|}}}|lang={{{lang|bash}}}|name={{{name|file.txt}}}|line="GESHI_FANCY_LINE_NUMBERS"}}
|
|
{{#tag:syntaxhighlight|{{{contenu|}}}|lang={{{lang|bash}}}|name={{{nom|fichier.txt}}}}}
{{#tag:syntaxhighlight|{{{contents|}}}|lang={{{lang|bash}}}|name={{{name|file.txt}}}}}
}}
}}
</div>
</div>
</includeonly>
</includeonly>
<noinclude>[[Inclure un fichier source dans le wiki]]</noinclude>
<noinclude>[[Including a source code file within the wiki]]</noinclude>

Latest revision as of 17:13, 23 March 2016