Template:Lesson
From Algodoo
(Difference between revisions)
| Line 17: | Line 17: | ||
</noinclude><includeonly> | </noinclude><includeonly> | ||
__NOTOC__ | __NOTOC__ | ||
| - | <div id="edit-button" class="button">[{{SERVER | + | <div id="edit-button" class="button">[{{SERVER}}/lessons/{{urlencode:{{FULLPAGENAME}}}}&action=formedit {{MediaWiki:lesson-edit}}]</div> |
| - | <div id="translate-button" class="button">[{{SERVER | + | <div id="translate-button" class="button">[{{SERVER}}/lessons/Special:Duplicate&source={{urlencode:{{FULLPAGENAME}}}} {{MediaWiki:lesson-translate}}]</div> |
{| class="lesson-table" | {| class="lesson-table" | ||
! {{MediaWiki:lesson-language}}: | ! {{MediaWiki:lesson-language}}: | ||
| Line 30: | Line 30: | ||
|- | |- | ||
! {{MediaWiki:lesson-target}}: | ! {{MediaWiki:lesson-target}}: | ||
| - | |{{#arraymap:{{{target|}}}|,|@|[{{SERVER}} | + | |{{#arraymap:{{{target|}}}|,|@|[{{SERVER}}/lessons/Special:BrowseData/Lesson?_single&Lesson-target={{urlencode:@}} {{MediaWiki:@}}]}} {{#arraymap:{{{target|}}}|,|x|[[lesson-target::x| ]]| }} |
|- | |- | ||
! {{MediaWiki:lesson-type}}: | ! {{MediaWiki:lesson-type}}: | ||
| - | | {{#arraymap:{{{type|}}}|,|@|[{{SERVER}} | + | | {{#arraymap:{{{type|}}}|,|@|[{{SERVER}}/lessons/Special:BrowseData/Lesson?_single&Lesson-type={{urlencode:@}} {{MediaWiki:@}}]}} {{#arraymap:{{{type|}}}|,|x|[[lesson-type::x| ]]| }} |
|- | |- | ||
! {{MediaWiki:lesson-keywords}}: | ! {{MediaWiki:lesson-keywords}}: | ||
| - | | {{#arraymap:{{{keywords|}}}|,|@|[{{SERVER}} | + | | {{#arraymap:{{{keywords|}}}|,|@|[{{SERVER}}/lessons/Special:BrowseData/Lesson?_single&Lesson-keywords={{urlencode:@}} {{MediaWiki:@}}]}} {{#arraymap:{{{keywords|}}}|,|x|[[lesson-keywords::x| ]]| }} |
|- | |- | ||
! {{MediaWiki:lesson-objectives}}: | ! {{MediaWiki:lesson-objectives}}: | ||
Revision as of 11:46, 9 September 2011
This is the "Lesson" template. It should be called in the following format:
{{Lesson
|language=
|title=
|target=
|description=
|objectives=
|type=
|keywords=
|inclass=
}}
Edit the page to see the template text.


