Changes

Template:File

621 bytes removed, 08:25, 22 August 2014
15 revisions from [[:gentoo-wiki:Template:File]]: import from wiki.gentoo.org
<onlyinclude><includeonly><div class="gw-box" style="border: 1px solid {{#204A87;"><span class="gw-box-title" style="background-colorif: #204A87;">File</span><span class="gw-box-title" style="background-color: #729fcf;">{{{1|}}}</span><span style="padding|{{#if: .3em; margin-left: .5em; font-weight: bold; color: #204a87;">{{{23|}}}</span> |{{ContentBox|File|{{{3}}}</div></includeonly></onlyinclude> Use this template to show a file box with some content. |subtitle={{{Template1}} }|description={{{2}}}|lang= Usage ==Add this code to the page text:<pre>{{File{lang|filenametext}}}|some descriptioncolor=#204A87|file contentcolor2=#729fcf}}</pre> |{{Error|File|filename|some description|file content3. unnamed}} }} If you want to preserve the format of the file content, use <nowiki><pre> ... </pre></nowiki> tags for pre-formatted text:<pre>|{{Error|File|filename|some description|&lt;pre&gt;1. unnamed}}file content this that&lt;/pre&gt;}}</preincludeonly><noinclude>{{File|filename|some description|<pre>file content this thatDocumentation}}</prenoinclude>}}
Bureaucrat, administrator
425
edits