Template:HiddenSourceFile: Difference between revisions

From miki
Jump to navigation Jump to search
(Break again the bloody template for testing purpose)
(Undo revision 5704 by Mip (talk))
Line 1: Line 1:
{{hidden
<file name="{{{2}}}" tag="source">download</file>
|header=<tt>{{{1}}}{{{2}}}</tt> (<file name="{{{2}}}" tag="source">download</file>)
{{{content}}}
|content={{{content}}}
<noinclude>
|headerstyle=background:#ccccff;
|ta1=left
|fw1=normal
}}<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 21:47, 13 February 2014

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