Jump to content

Template:C++lesson: Difference between revisions

From IdeaWazaWiki
wikademia>Darklama
m fix colspan
wikademia>Wikademia
m 10 revisions
 
(4 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<includeonly><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:{{{Previous|{{{Prev|{{{3|}}}}}}}}}|<tr><td>''Previous Lesson''</td><td>[[{{{Previous|{{{Prev|{{{3}}}}}}}}}|{{{Previous|{{{Prev|{{{3}}}}}}}}}]]</td></tr>}}
{{#if:{{{Previous|{{{Prev|{{{3|}}}}}}}}}|<tr><td>''Previous Lesson''</td><td>[[{{{Previous|{{{Prev|{{{3}}}}}}}}}|{{{Previous|{{{Prev|{{{3}}}}}}}}}]]</td></tr>}}
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 colspan="2">{{{Description|{{{7}}}}}}</td></tr>}}
{{#if:{{{Time|{{{7|}}}}}}|<tr><td>''Lesson Time''</td><td>{{{Time|{{{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 colspan="2">
{{#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>}}
{{{Learn|{{{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.
</table></includeonly><noinclude>'''Do not''' edit this template unless you know what you are doing.


Line 22: Line 23:
| Prerequire=None
| Prerequire=None
| Experience=Intermediate
| Experience=Intermediate
| Time=10 minutes
| Description=This lesson is about...
| Description=This lesson is about...
| Learn=
| Learn=
Line 30: Line 32:


</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.