{{Template}} '''A 'File' box used to display file contents.''' ====Usage==== {{Codeline|1={{File|name=file_name|content=Content of file_name}}}} {{Note|1=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|name=/tmp/bk==g.tmp|content=Content of /tmp/bk==g.tmp with [[wiki markup]] and '''other''' {{weirdness}}}}}} ====Example==== {{Codeline|1={{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|root:x:0:0:root:/root:/bin/bash bin:x:1:1:bin:/bin:/bin/false daemon:x:2:2:daemon:/sbin:/bin/false}}
File: {{{name|{{{1|undefined}}}}}}
{{{content|{{{2|undefined}}}}}}