Changes

Template:File

586 bytes added, 12:55, 26 September 2011
Initial template documentation
<onlyinclude><includeonly><div class="gw-box" style="border: 1px solid #204A87;"><span class="gw-box-title" style="background-color: #204A87;">File</span><span class="gw-box-title" style="background-color: #729fcf;">{{{1}}}</span><span style="padding: .3em; margin-left: .5em; font-weight: bold; color: #204a87;">{{{2}}}</span>{{{3}}}</div></includeonly></onlyinclude> Use this template to show a file box with some content. {{Template}} == Usage ==Add this code to the page text:<pre>{{File|filename|some description|file content}}</pre>{{File|filename|some description|file content}} If you want to preserve the format of the file content, use <nowiki><pre> ... </pre></nowiki> tags for pre-formatted text:<pre>{{File|filename|some description|&lt;pre&gt;file content this that&lt;/pre&gt;}}</pre>{{File|filename|some description|<pre>file content this that</pre>}}
Anonymous user
Astaecker