Template:HiddenSourceFile: Difference between revisions

From miki
Jump to navigation Jump to search
(Temporarily fix)
No edit summary
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{hidden
{{hidden
|header=<tt>{{{1}}}{{{2}}}</tt> (<file anchor="{{{2}}}" name="{{{2}}}">download</file>)
|header=<tt>{{{1}}}{{{2}}}</tt> ({{#tag:file|download|name={{{2}}}|tag=source}})
|content={{#fileAnchor: {{{2}}}}}{{{content}}}
|content={{{content}}}
|headerstyle=background:#ccccff;
|headerstyle=background:#ccccff;
|ta1=left
|ta1=left
|fw1=normal
|fw1=normal
}}<noinclude>
}}<noinclude>
<font color="red">'''This template requires Rawfile 0.5.1 or above</font>
<font color="blue">'''TEMPORARY FIXED - REQUIRES RAWFILE V.0.5-mip.2 - CAN REVERT TO PREVIOUS VERSION WHEN MEDIAWIKI BUG [[https://bugzilla.wikimedia.org/show_bug.cgi?id=61341 61341]] IS FIXED'''</font>


Example of use:
Example of use:

Latest revision as of 14:52, 20 April 2014

This template requires Rawfile 0.5.1 or above

Example of use:

{{hiddenSourceFile|/path/to/my/|file.sh|content=<source lang="bash">
#! /bin/bash
echo Hello, World
</source>
}}