Template:HiddenSourceFile: Difference between revisions
Jump to navigation
Jump to search
(Removed template pl2) |
(Use the new syntax of RawFile to avoid duplicating the file name) |
||
Line 1: | Line 1: | ||
{{hidden|<tt>{{{1}}}{{{2}}}</tt> ( |
{{hidden|<tt>{{{1}}}{{{2}}}</tt> (<file name="{{{2}}}" tag="source">download</file>)|{{{3}}}|headerstyle=background:#ccccff;text-align:left;}}<noinclude> |
||
Example of use: |
Example of use: |
||
<pre><nowiki> |
<pre><nowiki> |
||
{{hiddenSourceFile|/path/to/my/|file.sh|<source lang="bash |
{{hiddenSourceFile|/path/to/my/|file.sh|<source lang="bash"> |
||
#! /bin/bash |
#! /bin/bash |
||
echo Hello, World |
echo Hello, World |
||
Line 9: | Line 9: | ||
</nowiki></pre> |
</nowiki></pre> |
||
{{hiddenSourceFile|/path/to/my/|file.sh|<source lang="bash |
{{hiddenSourceFile|/path/to/my/|file.sh|<source lang="bash"> |
||
#! /bin/bash |
#! /bin/bash |
||
echo Hello, World |
echo Hello, World |
Revision as of 17:08, 6 January 2010
{{{3}}}
{{{2}}}
Example of use:
{{hiddenSourceFile|/path/to/my/|file.sh|<source lang="bash"> #! /bin/bash echo Hello, World </source> }}
#! /bin/bash
echo Hello, World
{{{2}}}