Template:File
This page is a template. It contains no Cherimoya-related information, but should be used as part of other articles. For more information, read Help:Template.
Please do not experiment with this template; you could ruin all pages using this template. If you want to edit this template, copy the text to Template:Sandbox, edit and test it there, and copy it back when it works.
Feel free to voice your opinion regarding this template.A 'File' box used to display file contents.
Usage
{{File|name=file_name|content=Content of file_name}}
Note: If the equal sign ( = ) is used inside the name or content parameters, MediaWiki will break the template's output. You need to enclose the equal sign (or the entire block of text) in <nowiki> tags and/or use named parameters like so:
{{File|name=/tmp/bk==g.tmp|content=<nowiki>Content of /tmp/bk==g.tmp with [[wiki markup]] and '''other''' {{weirdness}}</nowiki>}}
File: /tmp/bk==g.tmp
<pre<noinclude></noinclude> style="white-space: pre-wrap; overflow-x: auto; padding: 0.25em; margin: 0 0 0.50em 0; background-color: #F7F7F7; border: thin dashed #7F7F7F; border-top: none">Content of /tmp/bk==g.tmp with [[wiki markup]] and '''other''' {{weirdness}}</pre<noinclude></noinclude>>
Example
{{File|/etc/passwd|<nowiki>root:x:0:0:root:/root:/bin/bash
bin:x:1:1:bin:/bin:/bin/false
daemon:x:2:2:daemon:/sbin:/bin/false</nowiki>}}
File: /etc/passwd
<pre<noinclude></noinclude> style="white-space: pre-wrap; overflow-x: auto; padding: 0.25em; margin: 0 0 0.50em 0; background-color: #F7F7F7; border: thin dashed #7F7F7F; border-top: none">root:x:0:0:root:/root:/bin/bash
bin:x:1:1:bin:/bin:/bin/false
daemon:x:2:2:daemon:/sbin:/bin/false</pre<noinclude></noinclude>>