Difference between revisions of "Template:Tutorial"
From ONELAB
Line 1: | Line 1: | ||
<includeonly> | <includeonly> | ||
+ | <!-- we cannot use xml tag directly because it prevent parameter expansion, so | ||
+ | we use the #tag parser function: | ||
− | {{#tag:include||src="/onelab_files/{{{1}}}"|highlight="CPP"}} | + | {{scrollbox| |
+ | {{#tag:include||src="/onelab_files/{{{1}}}"|highlight="CPP"}} | ||
+ | }} | ||
Revision as of 15:48, 20 March 2011
Help
Ce template permet d'inclure simplement un fichier de tutorial pour onelab
Utilisation:
{{tutorial|nom_de_fichier}}