Template:Lesson

Template:Lesson

From Algodoo

(Difference between revisions)
Jump to: navigation, search
 
(38 intermediate revisions not shown)
Line 4: Line 4:
<pre>
<pre>
{{Lesson
{{Lesson
 +
|language=
|title=
|title=
|target=
|target=
Line 16: Line 17:
</noinclude><includeonly>
</noinclude><includeonly>
__NOTOC__
__NOTOC__
 +
<div id="edit-button">[{{fullurl:{{FULLPAGENAME}}|action=formedit}} {{MediaWiki:lesson-edit}}]</div>
 +
<div id="translate-button">[[Special:Duplicate/{{FULLPAGENAME}}|{{MediaWiki:lesson-translate}}]]</div>
 +
<h1 class="h1table">{{{title|}}}</h1>
{| class="lesson-table"
{| class="lesson-table"
-
! {{MediaWiki:lesson-title}}:
+
! {{MediaWiki:lesson-language}}:
-
| {{{title|}}}
+
| [{{SERVER}}/lessons/Special:BrowseData/Lesson?_single&Lesson-language={{urlencode:{{{language|}}}}} {{MediaWiki:{{{language|}}}}}] [[lesson-language::{{{language|}}}| ]]
|-
|-
! {{MediaWiki:lesson-description}}:
! {{MediaWiki:lesson-description}}:
Line 24: Line 28:
|-
|-
! {{MediaWiki:lesson-target}}:
! {{MediaWiki:lesson-target}}:
-
|{{#arraymap:{{{target|}}}|,|@|[{{SERVER}}{{SCRIPTPATH}}/index.php/Special:BrowseData/Lesson?_single&Målgrupp={{urlencode:@}} @]}}  {{#arraymap:{{{target|}}}|,|x|[[Målgrupp::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}}/index.php/Special:BrowseData/Lesson?_single&Lektionstyp={{urlencode:@}} @]}}  {{#arraymap:{{{type|}}}|,|x|[[Lektionstyp::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}}/index.php/Special:BrowseData/Lesson?_single&Nyckelord={{urlencode:@}} @]}}  {{#arraymap:{{{keywords|}}}|,|x|[[Nyckelord::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}}:
-
| {{{objectives|}}}
+
|
 +
{{{objectives|}}}
|-
|-
! {{MediaWiki:lesson-in-class}}:
! {{MediaWiki:lesson-in-class}}:

Latest revision as of 09:39, 17 November 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.