Template:HiddenSourceFile: Difference between revisions

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


{{hiddenSourceFile|/path/to/my/|file.sh|<source lang="bash" class="file.sh">
{{hiddenSourceFile|/path/to/my/|file.sh|<source lang="bash" class="file.sh">

Revision as of 16:27, 16 November 2009

Example of use:

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