Difference between revisions of "Template:File/doc"

From stoney cloud
Jump to: navigation, search
m (Remove "Template" template)
m (category fix)
Line 26: Line 26:
 
</pre>}}
 
</pre>}}
  
[[Category:Templates]]
+
<includeonly>[[Category:Templates]]</includeonly>

Revision as of 14:08, 27 September 2011

Use this template to show a file box with some content.

Usage

Add this code to the page text:

{{File|filename|some description|
file content
}}
Filefilenamesome description

file content

If you want to preserve the format of the file content, use <pre> ... </pre> tags for pre-formatted text:

{{File|filename|some description|<pre>
file content
  this
    that
</pre>}}
Filefilenamesome description

file content
  this
    that