Difference between revisions of "Template:Tutorial"
From ONELAB
Line 1: | Line 1: | ||
− | <includeonly>{{#if:{{{height|}}}|<div class="tex2jax_ignore" style="margin:.3em 0 1em; overflow:auto; height:{{{height|20em}}}; width:{{{width|100%}}}; -moz-border-radius-topleft:0.5em; border:1px solid #AAA; padding-left:0.5em; background:transparent;">}}{{#tag:include||src="/onelab_files/{{{1}}}"|highlight="CPP"}}{{#if:{{{height|}}}|</div>}}[http://ace.montefiore.ulg.ac.be/onelab_files/{{{1}}} Direct link to file `{{{1}}}']</includeonly><noinclude> | + | <includeonly>{{#if:{{{height|}}}|<div class="tex2jax_ignore" style="margin:.3em 0 1em; overflow:auto; height:{{{height|20em}}}; width:{{{width|100%}}}; -moz-border-radius-topleft:0.5em; border:1px solid #AAA; padding-left:0.5em; background:transparent;">}}{{#tag:include||src="/onelab_files/{{{1}}}"|highlight="CPP"}}{{#if:{{{height|}}}|</div>}}[http://ace.montefiore.ulg.ac.be/onelab_files/{{{1}}} Direct link to file `{{{1}}}'][[Category:Templates]]</includeonly><noinclude> |
==Help== | ==Help== | ||
Line 25: | Line 25: | ||
as inline equations | as inline equations | ||
--> | --> | ||
− | |||
− |
Revision as of 20:27, 23 March 2011
Help
Ce template permet d'inclure simplement un fichier de tutorial pour onelab
Afficher le fichier complet:
{{tutorial|nom_de_fichier}}
Afficher seulement une partie:
{{tutorial|nom_de_fichier|height=22em}}