Difference between revisions of "Template:Tutorial"

From ONELAB
Jump to: navigation, search
Line 3: Line 3:
 
<!-- we cannot use xml tags directly for the "include" extension because it prevents  
 
<!-- we cannot use xml tags directly for the "include" extension because it prevents  
 
     parameter expansion, so we use the #tag parser function -->
 
     parameter expansion, so we use the #tag parser function -->
 +
 +
{{#if: {{{1|}}} | Parameter 1 is defined and non-null/non-empty. | Parameter 1 is not defined, or is defined but null. It contains only empty string(s) or breaking space(s) etc.}}
 +
  
 
<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%}}};

Revision as of 23:15, 20 March 2011



Help

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

Utilisation:

{{tutorial|nom_de_fichier}}