Šablona:Course: Porovnání verzí
Z ApolloWiki
Bez shrnutí editace |
Bez shrnutí editace |
||
(Není zobrazeno 24 mezilehlých verzí od stejného uživatele.) | |||
Řádek 1: | Řádek 1: | ||
<includeonly> |
|||
⚫ | |||
*** insert metadata *** |
|||
⚫ | |||
⚫ | |||
[[Course type::{{{Course type}}}]] |
|||
{{#set: Is active|{{#if:{{{Teacher|}}}|1|0}}}} |
|||
{{#if: {{{Teacher|}}}| |
|||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
*** event for repeating each week *** |
|||
⚫ | |||
{{#if: {{{Teacher|}}}| |
|||
{{#set_recurring_event: Course_time |
|||
| property=Has timetable |
|||
| Has group=Courses |
|||
| start={{#show: {{FULLPAGENAME}} |?Starts at}} |
|||
| end={{#show: {{FULLPAGENAME}} |?Ends at}} |
|||
| duration={{{Duration|3600}}} |
|||
| unit=week |
|||
| period=1 |
|||
}} |
|||
}} |
|||
<!-- |
<!-- |
||
*** display course *** |
*** display course *** |
||
!--> |
!--> |
||
__NOTOC__ |
|||
⚫ | |||
{{Display course |
{{Display course |
||
| Page={{FULLPAGENAME}} |
| Page={{FULLPAGENAME}} |
||
⚫ | |||
| Teacher={{{Teacher|}}} |
|||
⚫ | |||
| Ending description={{{Ending description|}}} |
| Ending description={{{Ending description|}}} |
||
| Ending=[[Ends with::{{{Course end|}}}]] |
| Ending=[[Ends with::{{{Course end|}}}]] |
||
| Term= |
| Term={{{Term|}}} |
||
| Name={{{Name}}} |
|||
| Is active={{#show: {{FULLPAGENAME}} |?Is active}} |
|||
| |
| Full name={{{Full name|}}} |
||
}} |
}} |
||
⚫ | |||
⚫ | |||
<!-- all the lecturers that are currently teaching the course--> |
|||
⚫ | |||
{{#arraymap: |
|||
{{#ask: |
|||
[[Category:Teaching]] |
|||
[[Name::{{{Name}}}]] |
|||
|?Current teacher= |
|||
|mainlabel=- |
|||
|format=array |
|||
⚫ | |||
|, |
|||
|x |
|||
⚫ | |||
<!----> |
|||
⚫ | |||
[[Full name::{{{Full name|}}}|]] |
|||
⚫ | |||
⚫ | |||
<!----> |
|||
{{#default_form:Course}} |
|||
<!----> |
|||
</includeonly> |