Template:HiddenSourceFile: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 2: | Line 2: | ||
|header=<tt>{{{1}}}{{{2}}}</tt> (<file name="{{{2}}}" tag="source">download</file>) |
|header=<tt>{{{1}}}{{{2}}}</tt> (<file name="{{{2}}}" tag="source">download</file>) |
||
|content={{{content}}} |
|content={{{content}}} |
||
|headerstyle=background:#ccccff |
|headerstyle=background:#ccccff; |
||
|ta1=left |
|||
|fw1=normal |
|||
}}<noinclude> |
}}<noinclude> |
||
<font color="red">'''THIS TEMPLATE IS BROKEN - RAWFILE.PHP MUST BE UPDATED TO EXPAND TEMPLATE ARGUMENTS WHEN MEDIAWIKI 1.16 IS AVAILABLE - See [http://www.mediawiki.org/wiki/Manual:Tag_extensions]'''</font> |
<font color="red">'''THIS TEMPLATE IS BROKEN - RAWFILE.PHP MUST BE UPDATED TO EXPAND TEMPLATE ARGUMENTS WHEN MEDIAWIKI 1.16 IS AVAILABLE - See [http://www.mediawiki.org/wiki/Manual:Tag_extensions]'''</font> |
Revision as of 18:55, 17 January 2014
{{{1}}}{{{2}}} (<file name="{{{2}}}" tag="source">download</file>)
{{{content}}}
THIS TEMPLATE IS BROKEN - RAWFILE.PHP MUST BE UPDATED TO EXPAND TEMPLATE ARGUMENTS WHEN MEDIAWIKI 1.16 IS AVAILABLE - See [1]
Example of use:
{{hiddenSourceFile|/path/to/my/|file.sh|content=<source lang="bash"> #! /bin/bash echo Hello, World </source> }}
/path/to/my/file.sh (<file name="file.sh" tag="source">download</file>)
#! /bin/bash
echo Hello, World