Template:Box File: Difference between revisions

From OLPC
Jump to navigation Jump to search
(tweaking fonts & centering)
(preformatted file contents)
Line 3: Line 3:
|-
|-
| style="padding:5px; " |
| style="padding:5px; " |
<div class="scroll">{{{2|''...sample contents of file...''}}}</div>
<pre style="margin: 5px; border: none; padding: 0; background: none;">{{{2|sample file contents}}}</pre>
|}<noinclude>
|}<noinclude>


== Usage ==
== Usage ==


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


== Sample ==
== Sample ==


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

Revision as of 10:46, 28 January 2008

 File: some/file
{{{2|sample file contents}}}

Usage

{{Box File|FileName|FileContent}}

Sample

{{Box File|foo|bar}}
 File: foo
{{{2|sample file contents}}}