Template:C++lesson: Difference between revisions
Appearance
wikademia>Darklama lesson infobox |
wikademia>Wikademia m 10 revisions |
||
| (9 intermediate revisions by 2 users not shown) | |||
| Line 1: | Line 1: | ||
<table class="wikitable" align="right" style="margin: 1em; background: #FFFFFF; width: 300px"> | <includeonly><table class="wikitable" align="right" style="margin: 1em; background: #FFFFFF; width: 300px"> | ||
<tr><th colspan="2" style="text-align: center; background: {{{bgh|#3C3CFC}}}">{{{Name|{{{1}}}}}}</th></tr> | <tr><th colspan="2" style="text-align: center; background: {{{bgh|#3C3CFC}}}">{{{Name|{{{1|{{SUBPAGENAME}}}}}}}}</th></tr> | ||
{{#if:{{{Image|{{{2|}}}}}}|<tr><td colspan="2" style="text-align: center">[[Image:{{{Image|{{{2}}}}}}|300px]]</td></tr>}} | {{#if:{{{Image|{{{2|}}}}}}|<tr><td colspan="2" style="text-align: center">[[Image:{{{Image|{{{2}}}}}}|300px]]</td></tr>}} | ||
{{#if:{{{Prerequire|{{{ | {{#if:{{{Previous|{{{Prev|{{{3|}}}}}}}}}|<tr><td>''Previous Lesson''</td><td>[[{{{Previous|{{{Prev|{{{3}}}}}}}}}|{{{Previous|{{{Prev|{{{3}}}}}}}}}]]</td></tr>}} | ||
</table><noinclude>'''Do not''' edit this template unless you know what you are doing. | {{#if:{{{Next|{{{4|}}}}}}|<tr><td>''Next Lesson''</td><td>[[{{{Next|{{{4}}}}}}|{{{Next|{{{4}}}}}}]]</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:{{{Time|{{{7|}}}}}}|<tr><td>''Lesson Time''</td><td>{{{Time|{{{7}}}}}}</td></tr>}} | |||
{{#if:{{{Description|{{{8|}}}}}}|<tr><th colspan="2" style="text-align: center; background: {{{bgh|#3C3CFC}}}">Lesson Description</th></tr><tr><td colspan="2">{{{Description|{{{8}}}}}}</td></tr>}} | |||
{{#if:{{{Learn|{{{9|}}}}}}|<tr><th colspan="2" style="text-align: center; background: {{{bgh|#3C3CFC}}}">What you will learn</th></tr><tr><td colspan="2"> | |||
{{{Learn|{{{9}}}}}}</td></tr>}} | |||
</table></includeonly><noinclude>'''Do not''' edit this template unless you know what you are doing. | |||
| Line 10: | Line 17: | ||
== Example == | == Example == | ||
{{lesson| | {{lesson | ||
Name=Example Lesson| | | Name=Example Lesson | ||
Prerequire=None | | Prev=Lesson 1 | ||
| Next=Lesson 3 | |||
| Prerequire=None | |||
| Experience=Intermediate | |||
| Time=10 minutes | |||
| Description=This lesson is about... | |||
| Learn= | |||
# example 1 | |||
# example 2 | |||
# example 3 | |||
}} | }} | ||
</noinclude> | </noinclude> | ||
<noinclude>[[Category:Page creation templates]]</noinclude> | |||
Latest revision as of 18:30, 5 April 2009
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. |