Template:Syllabus: Difference between revisions

The educational technology and digital learning wiki
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 5: Line 5:
     {{syllabus
     {{syllabus
     |is_part_of_syllabus=
     |is_part_of_syllabus=
     |is_part_if_module=
     |is_part_of_module=
     |is_module_of=
     |is_module_of=
     |module_next=
     |module_next=
Line 28: Line 28:
<big>{{#if:{{{is_part_of_syllabus|}}}|[[{{{is_part_of_syllabus|}}}]]|{{PAGENAME}} }}</big></th>
<big>{{#if:{{{is_part_of_syllabus|}}}|[[{{{is_part_of_syllabus|}}}]]|{{PAGENAME}} }}</big></th>
     </tr>
     </tr>
   {{#if:{{{is_part_if_module|}}}|
   {{#if:{{{is_part_of_module|}}}|
     <tr><!-- code module -->
     <tr><!-- code module -->
       <th style="text-align:center; margin:10px auto; background-color:rgb(225,235,255);border:1px solid rgb(210, 210,245);padding:8px;" colspan="2">Module: [[{{{is_part_if_module|}}}]]  {{#if:{{{module_next|}}}|<span style="font-size:20px;font-weight:600;">[[{{{module_next|}}}|◀]]</span>}}  {{#if:{{{module_next|}}}|<span style="font-size:20px;font-weight:600">[[{{{module_next|}}}|▶]]</span>}}</th>
       <th style="text-align:center; margin:10px auto; background-color:rgb(225,235,255);border:1px solid rgb(210, 210,245);padding:8px;" colspan="2">Module: [[{{{is_part_of_module|}}}]]  {{#if:{{{module_next|}}}|<span style="font-size:20px;font-weight:600;">[[{{{module_next|}}}|◀]]</span>}}  {{#if:{{{module_next|}}}|<span style="font-size:20px;font-weight:600">[[{{{module_next|}}}|▶]]</span>}}</th>
     </tr>
     </tr>
     }}
     }}
Line 110: Line 110:
   {{#arraymap:{{{see_also|}}}|,|x|{{#set:see_also=x}} }}
   {{#arraymap:{{{see_also|}}}|,|x|{{#set:see_also=x}} }}
   {{#set:is part of syllabus={{{is_part_of_syllabus|}}} }}
   {{#set:is part of syllabus={{{is_part_of_syllabus|}}} }}
   {{#set:is part of module={{{is_part_if_module|}}} }}
   {{#set:is part of module={{{is_part_of_module|}}} }}
   {{#set:parent page={{{page_parent|}}} }}
   {{#set:parent page={{{page_parent|}}} }}
   {{#set:is module of={{{is_module_of|}}} }}
   {{#set:is module of={{{is_module_of|}}} }}

Revision as of 16:46, 21 June 2018

This is the « syllabus » template, almost identical to its French fr:modèle:tutoriel version. It should be called roughly like this: Use the form:syllabus.

    {{syllabus
    |is_part_of_syllabus=
    |is_part_of_module=
    |is_module_of=
    |module_next=
    |module_previous=
    |page_parent=
    |page_next=
    |page_previous=
    |status=
    |editor=
    |last_modification=
    |prerequisite=
    |objective=
    |difficulty=
    |see_also=
    }}