Template:HiddenSourceFile: Difference between revisions

From miki
Jump to navigation Jump to search
mNo edit summary
No edit summary
Line 1: Line 1:
{{pl2|
{{pl2|
{{hidden|<tt>{{{1}}}{{{2}}}</tt> ([{{#filelink: {{{2}}}}} download])|{{#fileanchor: {{{2}}}}}
{{hidden|<tt>{{{1}}}{{{2}}}</tt> ([{{#filelink: {{{2}}}}} download])|{{#fileanchor: {{{2}}}}} {{{3}}}|headerstyle=background:#ccccff;text-align:left;}} }}<noinclude>
<source lang={{{3}}}>{{{4}}}</source>|headerstyle=background:#ccccff;text-align:left;}} }}<noinclude>
Example of use:
Example of use:
<pre>
<pre>
{{hiddenSourceFile|/path/to/my/|file.sh|bash|
{{hiddenSourceFile|/path/to/my/|file.sh|<source lang="bash">
#! /bin/bash
#! /bin/bash
echo Hello, World
echo Hello, World
</source>
}}
}}
</pre>
</pre>


{{hiddenSourceFile|/path/to/my/|file.sh|bash|
{{hiddenSourceFile|/path/to/my/|file.sh|<source lang="bash">
#! /bin/bash
#! /bin/bash
echo Hello, World
echo Hello, World
</source>
}}
}}
</noinclude>
</noinclude>

Revision as of 10:58, 28 October 2009

Example of use:

{{hiddenSourceFile|/path/to/my/|file.sh|<source lang="bash">
#! /bin/bash
echo Hello, World
</source>
}}