Vorlage:DisplayVorlesung: Unterschied zwischen den Versionen
Aus International Center for Computational Logic
Markus Krötzsch (Diskussion | Beiträge) (Die Seite wurde neu angelegt: „<noinclude> Template to display course information. Data is stored in Template:Vorlesung. Usage: <pre>{{DisplayVorlesung |L="/en" (English) or empty (Germ…“) |
Johannes Lehmann (Diskussion | Beiträge) Keine Bearbeitungszusammenfassung |
||
(45 dazwischenliegende Versionen von 4 Benutzern werden nicht angezeigt) | |||
Zeile 5: | Zeile 5: | ||
<pre>{{DisplayVorlesung | <pre>{{DisplayVorlesung | ||
|L="/en" (English) or empty (German) | |L="/en" (English) or empty (German) | ||
|Page=main page with the data | |||
|Title=Title of lecture | |Title=Title of lecture | ||
|Research group=list of research groups | |Research group=list of research groups | ||
Zeile 11: | Zeile 12: | ||
|Term="WS" or "SS" | |Term="WS" or "SS" | ||
|Year=year number | |Year=year number | ||
|Lecture series=lecture series | |||
|Module=list of modules | |Module=list of modules | ||
|SWSLecture=number of lecture SWS | |SWSLecture=number of lecture SWS | ||
Zeile 17: | Zeile 19: | ||
|Description=detailed description | |Description=detailed description | ||
|Literature=literature list (free text) | |Literature=literature list (free text) | ||
|Matrix=#example:example.org | |||
}}</pre> | }}</pre> | ||
</noinclude><includeonly>{{Main heading|Title}}<!-- | </noinclude><includeonly>{{#description2:{{MediaWiki:Portal_label_Lehrveranstaltung_im_Umfang{{{L|}}}}} {{{SWSLecture|0}}}/{{{SWSExercise|0}}}/{{{SWSPractical|0}}} {{MediaWiki:Portal_label_SWS_Docu{{{L|}}}}} in {{{Term|}}} {{{Year|}}}: {{{Description}}}}}__NOTOC__<div style="margin-bottom: 3ex; ">{{Main heading|{{{Title}}}}}<h5>{{MediaWiki:Portal_label_Lehrveranstaltung_im_Umfang{{{L|}}}}} {{{SWSLecture|0}}}/{{{SWSExercise|0}}}/{{{SWSPractical|0}}} {{MediaWiki:Portal_label_SWS_Docu{{{L|}}}}} in {{{Term|}}} {{{Year|}}}</h5></div><!-- | ||
--><div class="row"> | --><div class="row"> | ||
<!-- Start left column (brief information) --> | <!-- Start left column (brief information) --> | ||
<div class="col-sm- | <div class="col-sm-3 col-md-2" style="padding-top: 3ex;"> | ||
'''{{MediaWiki: | '''{{MediaWiki:Portal_label_Dozent{{{L|}}}}}''' | ||
<ul class="plain-list" style="margin-left: 1ex; margin-bottom: 2ex; "> | <ul class="plain-list" style="margin-left: 1ex; margin-bottom: 2ex; "> | ||
{{#arraymap:{{{Lecturers|}}}|; |@@@|<li> | {{#arraymap:{{{Lecturers|}}}|; |@@@|<li>{{Translate link|@@@|#userparam={{{L|}}}}}</li>|}} | ||
</ul> | </ul> | ||
'''{{MediaWiki: | {{#ifeq:{{{Tutors|}}}|||'''{{MediaWiki:Portal_label_Tutor{{{L|}}}}}''' | ||
<ul class="plain-list" style="margin-left: 1ex; margin-bottom: 2ex; "> | <ul class="plain-list" style="margin-left: 1ex; margin-bottom: 2ex; "> | ||
{{#arraymap:{{{Tutors|}}}|; |@@@|<li> | {{#arraymap:{{{Tutors|}}}|; |@@@|<li>{{Translate link|@@@|#userparam={{{L|}}}}}</li>|}} | ||
</ul>}} | |||
'''{{MediaWiki:Portal_label_SWS_Umfang{{{L|}}}}}''' | |||
<ul class="plain-list" style="margin-left: 1ex; margin-bottom: 2ex; "> | |||
<li>{{{SWSLecture|0}}}/{{{SWSExercise|0}}}/{{{SWSPractical|0}}}</li> | |||
</ul> | </ul> | ||
'''{{MediaWiki: | '''{{MediaWiki:Portal_label_Module{{{L|}}}}}''' | ||
<ul class="plain-list" style="margin-left: 1ex; margin-bottom: 2ex; "> | <ul class="plain-list" style="margin-left: 1ex; margin-bottom: 2ex; "> | ||
{{#arraymap:{{{ | {{#arraymap:{{{Module|}}}|, |@@@|<li>[http://studies.inf.tu-dresden.de/modforms/index.php?r=modules/view&id=@@@ @@@]</li>|}} | ||
</ul> | </ul> | ||
</ | {{#if: {{{Exam type|}}}|'''{{MediaWiki:Portal_label_Leistungskontrolle{{{L|}}}}}''' | ||
</ | <ul class="plain-list" style="margin-left: 1ex; margin-bottom: 2ex; "> | ||
</div><!-- | {{#arraymap:{{{Exam type|}}}|, |@@@|<li>{{MediaWiki:Portal_label_Leistungskontrolle_@@@{{{L|}}}}}</li>|}} | ||
</ul> | |||
|}}{{#ifeq:{{{Matrix|}}}||| | |||
'''{{MediaWiki:Portal_label_Matrixkanal{{{L|}}}}}''' | |||
<ul class="plain-list" style="margin-left: 1ex; margin-bottom: 2ex; "> | |||
<li>[https://matrix.to/#/{{{Matrix}}} {{{Matrix}}}]</li> | |||
</ul> | |||
}} | |||
{{#ifeq:{{{Lecture series|}}}||| | |||
'''{{MediaWiki:Portal_label_Vorlesungsreihe{{{L|}}}}}''' | |||
<ul class="plain-list" style="margin-left: 1ex; margin-bottom: 2ex; "> | |||
{{#arraymap:{{{Lecture series|}}}|; |@@@|<li>{{Translate link|@@@|#userparam={{{L|}}}}}</li>|}} | |||
</ul> | |||
}} | |||
</div><!-- | |||
*** Start right column *** | *** Start right column *** | ||
--><div class="col-sm- | --><div class="col-sm-9 col-md-10"><!-- | ||
-->{{#maketabs:<!-- | -->{{#maketabs:<!-- | ||
Zeile 49: | Zeile 72: | ||
-->{{MediaWiki:Portal_label_Information{{{L|}}}}} = | -->{{MediaWiki:Portal_label_Information{{{L|}}}}} = | ||
{{{ | {{{Description|}}}<!-- | ||
*** Tab for literature *** | *** Tab for literature *** | ||
--> | --> | ||
|{{MediaWiki:Portal_label_Literaturliste{{{L|}}} }}={{{Literature|HIDETHISTAB}}} | |{{MediaWiki:Portal_label_Literaturliste{{{L|}}} }}= | ||
{{#ifeq:{{{Literature|}}}||HIDETHISTAB|{{{Literature}}}}}<!-- | |||
*** Tab for dates & materials *** | |||
--> | |||
|{{MediaWiki:Portal_label_Termine_und_Unterlagen{{{L|}}} }}= | |||
{{#ask: [[Course::{{{Page}}}]] | |||
| mainlabel=- | |||
| ?Lehrveranstaltungstype | |||
| ?Title | |||
| ?Start#ISO | |||
| ?Doppelstunde | |||
| ?Raum | |||
| ?Downloadliste | |||
| ?Videoliste | |||
| ?Color | |||
| sort=Start | |||
| order=asc | |||
| format=plainlist | |||
| template=Course date row | |||
| userparam={{{L|}}} | |||
| intro={{Upcoming events feed|query=[[Course::{{{Page}}}]]|uselang={{{L|}}}|label={{DEEN|{{{L|}}}|Veranstaltungskalender abonnieren (icalendar)|Subscribe to events of this course (icalendar)}}|title={{{Title}}} }} | |||
<table class="table"> | |||
| outro=</table> | |||
| link=none | |||
| default=HIDETHISTAB | |||
}} | |||
}}<!-- #maketabs --> | }}<!-- #maketabs --> | ||
{{#ask: [[Course::{{{Page}}}]] | |||
| ?Start | |||
| ?Ende | |||
| ?Color=color | |||
| ?Title=title | |||
| ?Raum=<span class="fas fa-map-marker"></span> | |||
| ?Course=<br /><span class="fas fa-hand-point-right"></span> | |||
| ?Lehrveranstaltungstype=<br /> | |||
| format=eventcalendar | |||
| firstday=Monday | |||
| defaultview=month | |||
| limit=100 | |||
| link=subject | |||
| start=current | |||
| intro= <h3>{{MediaWiki:Portal_label_Kalender{{{L|}}} }}</h3> | |||
}} | |||
</div> | </div> | ||
</div> | </div> | ||
</ | </includeonly> |
Aktuelle Version vom 4. März 2025, 16:32 Uhr
Template to display course information. Data is stored in Template:Vorlesung.
Usage:
{{DisplayVorlesung |L="/en" (English) or empty (German) |Page=main page with the data |Title=Title of lecture |Research group=list of research groups |Lecturers=list of lecturers |Tutors=list of tutors |Term="WS" or "SS" |Year=year number |Lecture series=lecture series |Module=list of modules |SWSLecture=number of lecture SWS |SWSExercise=number of exercise SWS |SWSPractical=number of practical SWS |Description=detailed description |Literature=literature list (free text) |Matrix=#example:example.org }}