Template:Box File: Difference between revisions

From OLPC
Jump to navigation Jump to search
(preformatted file contents)
(reverted; Undo revision 102532 by Ace NoOne (Talk))
Line 3: Line 3:
|-
|-
| style="padding:5px; " |
| style="padding:5px; " |
<pre style="margin: 5px; border: none; padding: 0; background: none;">{{{2|sample file contents}}}</pre>
<div class="scroll">{{{2|''...sample contents of file...''}}}</div>
|}<noinclude>
|}<noinclude>


== Usage ==
== Usage ==


:<tt><nowiki>{{Box File|FileName|FileContent}}</nowiki></tt>
<pre>
{{Box File|FileName|FileContent}}
</pre>


== Sample ==
== Sample ==


:<tt><nowiki>{{Box File|foo|bar}}</nowiki></tt>
<pre>
{{Box File|foo|bar}}
</pre>
{{Box File|foo|bar}}
{{Box File|foo|bar}}
[[Category:Template]]</noinclude>
[[Category:Template]]</noinclude>

Revision as of 10:47, 28 January 2008

 File: some/file
...sample contents of file...

Usage

{{Box File|FileName|FileContent}}

Sample

{{Box File|foo|bar}}
 File: foo
bar