Template:Box File: Difference between revisions

From OLPC
Jump to navigation Jump to search
(Box file template)
 
m (syntax adjustments)
 
(4 intermediate revisions by 2 users not shown)
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>
|}<noinclude>
|}</includeonly><noinclude>'''Usage:''' <nowiki>{{Box File|FileName|FileContent}}</nowiki></noinclude>

== Usage ==

<pre>
{{Box File|FileName|FileContent}}
</pre>

== Sample ==

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

Latest revision as of 10:49, 28 January 2008

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

Usage

{{Box File|FileName|FileContent}}

Sample

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