Template:HiddenSourceFile: Difference between revisions
Jump to navigation
Jump to search
(Restore template after raw tests) |
(Breaking again the template for raw testing) |
||
Line 1: | Line 1: | ||
{{hidden |
{{hidden |
||
|header=<tt>{{{1}}}{{{2}}}</tt> (< |
|header=<tt>{{{1}}}{{{2}}}</tt> (<filoufilou name="{{{2}}}" tag="source">download</filoufilou>) |
||
|content={{{content}}} |
|content={{{content}}} |
||
|headerstyle=background:#ccccff; |
|headerstyle=background:#ccccff; |
Revision as of 21:11, 13 February 2014
{{{1}}}{{{2}}} (<filoufilou name="{{{2}}}" tag="source">download</filoufilou>)
{{{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 (<filoufilou name="file.sh" tag="source">download</filoufilou>)
#! /bin/bash
echo Hello, World