Template:HiddenSourceFile

From miki
Revision as of 21:34, 13 February 2014 by Mip (talk | contribs) (Break again the bloody template for testing purpose)
Jump to navigation Jump to search

<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>
}}

<file name="file.sh" tag="source">download</file>

#! /bin/bash
echo Hello, World