Difference between revisions of "Template:Tutorial"

From ONELAB
Jump to: navigation, search
Line 1: Line 1:
 
<includeonly>
 
<includeonly>
 
{{#if: {{{1|}}} | Hooray...! | Darn...! }}
 
  
 
<!--  
 
<!--  
Line 8: Line 6:
 
-->
 
-->
  
 
+
{{#if: {{{height|}}} |
 
<div style="margin:.3em 0 1em; overflow:auto; height:{{{height|20em}}}; width:{{{width|100%}}};
 
<div 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;  
 
             -moz-border-radius-topleft:0.5em; border:1px solid #AAA; padding-left:0.5em;  
 
             background:transparent;">
 
             background:transparent;">
 
+
}}
 
   {{#tag:include||src="/onelab_files/{{{1}}}"|highlight="CPP"}}
 
   {{#tag:include||src="/onelab_files/{{{1}}}"|highlight="CPP"}}
  
 +
{{#if: {{{height|}}} |
 
</div>
 
</div>
 +
}}
  
 
[http://ace.montefiore.ulg.ac.be/onelab_files/{{{1}}} Direct link to file `{{{1}}}' ]
 
[http://ace.montefiore.ulg.ac.be/onelab_files/{{{1}}} Direct link to file `{{{1}}}' ]

Revision as of 22:39, 20 March 2011



Help

Ce template permet d'inclure simplement un fichier de tutorial pour onelab

Utilisation:

{{tutorial|nom_de_fichier}}