Template:Box File: Difference between revisions

From OLPC
Jump to navigation Jump to search
m (categroization & sample)
(tweaking fonts & centering)
Line 1: Line 1:
<includeonly>{| WIDTH="75%" cellpadding=0 cellspacing=0 style="background-color: #fff2f2; border: solid 1px #ffbfbf;"
{| align=center width="75%" cellpadding=0 cellspacing=0 style="background-color: #fff2f2; border: solid 1px #ffbfbf; font-family:fixed; "
| style="background-color: #ffafaf; border-bottom: 1px solid #888;" | <font size="-1">'''File:''' {{{1}}}</font>
| style="background-color: #ffafaf; " | '''&nbsp;File:''' {{{1|some/file}}}
|-
|-
| style="padding:5px; " |
|
<div class="scroll">{{{2}}}</div>
<div class="scroll">{{{2|''...sample contents of file...''}}}</div>
|}</includeonly><noinclude>
|}<noinclude>


== Usage ==
== Usage ==

Revision as of 18:41, 7 September 2007

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

Usage

{{Box File|FileName|FileContent}}

Sample

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