Difference between revisions of "Template:File/doc"

From stoney cloud
Jump to: navigation, search
m (Created page with "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> ...")
 
m (Remove "Template" template)
Line 1: Line 1:
 
Use this template to show a file box with some content.
 
Use this template to show a file box with some content.
 
{{Template}}
 
  
 
== Usage ==
 
== Usage ==

Revision as of 12:01, 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