Template:Lesson

Template:Lesson

From Algodoo

(Difference between revisions)
Jump to: navigation, search
Line 17: Line 17:
</noinclude><includeonly>
</noinclude><includeonly>
__NOTOC__
__NOTOC__
-
<div id="edit-button" class="button">[{{SERVER}}{{SCRIPTPATH}}/index.php?title={{urlencode:{{FULLPAGENAME}}}}&action=formedit {{MediaWiki:lesson-edit}}]</div>
+
<div id="edit-button" class="button">[{{SERVER}}/lessons/{{urlencode:{{FULLPAGENAME}}}}&action=formedit {{MediaWiki:lesson-edit}}]</div>
-
<div id="translate-button" class="button">[{{SERVER}}{{SCRIPTPATH}}/index.php?title=Special:Duplicate&source={{urlencode:{{FULLPAGENAME}}}} {{MediaWiki:lesson-translate}}]</div>
+
<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}}{{SCRIPTPATH}}/Special:BrowseData/Lesson?_single&Lesson-target={{urlencode:@}} {{MediaWiki:@}}]}}  {{#arraymap:{{{target|}}}|,|x|[[lesson-target::x| ]]| }}
+
|{{#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}}{{SCRIPTPATH}}/Special:BrowseData/Lesson?_single&Lesson-type={{urlencode:@}} {{MediaWiki:@}}]}}  {{#arraymap:{{{type|}}}|,|x|[[lesson-type::x| ]]| }}
+
| {{#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}}{{SCRIPTPATH}}/Special:BrowseData/Lesson?_single&Lesson-keywords={{urlencode:@}} {{MediaWiki:@}}]}}  {{#arraymap:{{{keywords|}}}|,|x|[[lesson-keywords::x| ]]| }}
+
| {{#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.