Template:C++lesson: Difference between revisions
Appearance
wikademia>Darklama +description and learn optional parameters |
wikademia>Darklama m fix colspan |
||
| Line 6: | Line 6: | ||
{{#if:{{{Prerequire|{{{5|}}}}}}|<tr><td>''Prerequire''</td><td>{{{Prerequire|{{{5}}}}}}</td></tr>}} | {{#if:{{{Prerequire|{{{5|}}}}}}|<tr><td>''Prerequire''</td><td>{{{Prerequire|{{{5}}}}}}</td></tr>}} | ||
{{#if:{{{Experience|{{{6|}}}}}}|<tr><td>''Experience''</td><td>{{{Experience|{{{6}}}}}}</td></tr>}} | {{#if:{{{Experience|{{{6|}}}}}}|<tr><td>''Experience''</td><td>{{{Experience|{{{6}}}}}}</td></tr>}} | ||
{{#if:{{{Description|{{{7|}}}}}}|<tr><th colspan="2" style="text-align: center; background: {{{bgh|#3C3CFC}}}">Lesson Description</th></tr><tr><td>{{{Description|{{{7}}}}}}</td></tr>}} | {{#if:{{{Description|{{{7|}}}}}}|<tr><th colspan="2" style="text-align: center; background: {{{bgh|#3C3CFC}}}">Lesson Description</th></tr><tr><td colspan="2">{{{Description|{{{7}}}}}}</td></tr>}} | ||
{{#if:{{{Learn|{{{8|}}}}}}|<tr><th colspan="2" style="text-align: center; background: {{{bgh|#3C3CFC}}}">What you will learn</th></tr><tr><td>{{{Learn|{{{8}}}}}}</td></tr>}} | {{#if:{{{Learn|{{{8|}}}}}}|<tr><th colspan="2" style="text-align: center; background: {{{bgh|#3C3CFC}}}">What you will learn</th></tr><tr><td colspan="2"> | ||
{{{Learn|{{{8}}}}}}</td></tr>}} | |||
</table></includeonly><noinclude>'''Do not''' edit this template unless you know what you are doing. | </table></includeonly><noinclude>'''Do not''' edit this template unless you know what you are doing. | ||
| Line 21: | Line 22: | ||
| Prerequire=None | | Prerequire=None | ||
| Experience=Intermediate | | Experience=Intermediate | ||
| Description=This lesson is about... | |||
| Learn= | |||
# example 1 | |||
# example 2 | |||
# example 3 | |||
}} | }} | ||
</noinclude> | </noinclude> | ||
Revision as of 00:47, 9 February 2007
Do not edit this template unless you know what you are doing.
About this template
This template sets up an infobox for lesson requirements. Although it might look complicated, it is relatively simple to use. Most parameters are optional, so if a particular entry is not relevant for the lesson in question (or you just don't have the information), just leave it out.
Example
| Resource type: this resource is a lesson. |