Vorlage:NoteBerechnung: Unterschied zwischen den Versionen
Aus smw-dev03
Keine Bearbeitungszusammenfassung |
Keine Bearbeitungszusammenfassung |
||
| Zeile 1: | Zeile 1: | ||
<includeonly> | <includeonly> | ||
<!-- Eingabe: | <!-- Eingabe: Einzelnoten vom Referenten und Koreferenten --> | ||
<!-- Parameter: | <!-- Parameter: note_ba_ref, note_ba_koref, note_koll_ref, note_koll_koref --> | ||
<!-- | |||
<!-- Durchschnittsnoten berechnen --> | |||
{{#set: | |||
|Hat Durchschnittsnote BA={{#expr: ({{{note_ba_ref|0}}} + {{{note_ba_koref|0}}}) / 2 round 1 }} | |||
|Hat Durchschnittsnote Kolloquium={{#expr: ({{{note_koll_ref|0}}} + {{{note_koll_koref|0}}}) / 2 round 1 }} | |||
({{{ | }} | ||
({{{ | |||
<!-- Gesamtnote berechnen nach Gewichtung (75% / 25%) --> | |||
{{#set: | |||
|Hat Gesamtnote={{#expr: | |||
({{{note_ba_avg|0}}} * {{#show: Bewertungskonfiguration | ?Hat Gewicht Bachelorarbeit }} / 100) + | |||
({{{note_kolloq_avg|0}}} * {{#show: Bewertungskonfiguration | ?Hat Gewicht Präsentation }} / 100) | |||
round 1 }} | |||
}} | |||
<!-- Darstellung --> | |||
<div style="display: flex; justify-content: space-between; background-color: #f8f9fa; padding: 15px; border: 1px solid #e1e4e8; border-radius: 6px; font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; max-width: 800px; margin-top: 10px;"> | <div style="display: flex; justify-content: space-between; background-color: #f8f9fa; padding: 15px; border: 1px solid #e1e4e8; border-radius: 6px; font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; max-width: 800px; margin-top: 10px;"> | ||
<div style="flex: 1; text-align: center;"> | <div style="flex: 1; text-align: center;"> | ||
<div style="font-weight: bold | <div style="font-weight: bold;">Durchschnitt BA</div> | ||
<div | <div>{{#show: {{FULLPAGENAME}} | ?Hat Durchschnittsnote BA }}</div> | ||
</div> | </div> | ||
<div style="flex: 1; text-align: center;"> | <div style="flex: 1; text-align: center;"> | ||
<div style="font-weight: bold | <div style="font-weight: bold;">Durchschnitt Kolloquium</div> | ||
<div | <div>{{#show: {{FULLPAGENAME}} | ?Hat Durchschnittsnote Kolloquium }}</div> | ||
</div> | </div> | ||
<div style="flex: 1; text-align: center;"> | <div style="flex: 1; text-align: center;"> | ||
<div style="font-weight: bold | <div style="font-weight: bold;">Gesamtnote</div> | ||
<div | <div>{{#show: {{FULLPAGENAME}} | ?Hat Gesamtnote }}</div> | ||
</div> | </div> | ||
</div> | </div> | ||
</includeonly> | </includeonly> | ||