Template:Src: Difference between revisions

From QEMU
(Usage)
 
(Undo revision 10270 by Ajb (talk))
Tag: Undo
 
(6 intermediate revisions by the same user not shown)
Line 1: Line 1:
<noinclude>
[https://gitlab.com/qemu-project/{{{repo|qemu}}}/-/blob/master/{{{path}}} {{{description|{{{path}}}}}}]<noinclude>
== Usage ==
== Usage ==


Link to the source code tree.
Link to the source code tree.


{{src|path=README|description=The main README file}}
<pre>
{{src|path=README.rst|description=The main README file}}
</pre>
 
Gives:
 
{{src|path=README.rst|description=The main README file}}
 
==== Parameters ====
 
* path - path to file
* description (optional) - description of the file
* repo (optional) - which repo (defaults to qemu.git)
 
[[Category:Template]]
</noinclude>
</noinclude>

Latest revision as of 17:02, 15 March 2021

{{{path}}}

Usage

Link to the source code tree.

{{src|path=README.rst|description=The main README file}}

Gives:

The main README file

Parameters

* path - path to file
* description (optional) - description of the file
* repo (optional) - which repo (defaults to qemu.git)