Vorlage:NoteBerechnung: Unterschied zwischen den Versionen

Aus smw-dev03
Wechseln zu:Navigation, Suche
Keine Bearbeitungszusammenfassung
Keine Bearbeitungszusammenfassung
 
(4 dazwischenliegende Versionen desselben Benutzers werden nicht angezeigt)
Zeile 1: Zeile 1:
<includeonly>
<includeonly>
<!-- Eingabe: Einzelnoten vom Referenten und Koreferenten -->
<!-- Eingabe: Einzelnoten vom Referenten und Koreferenten -->
<!-- Parameter: note_ba_ref, note_ba_koref, note_koll_ref, note_koll_koref -->
<!-- Parameter: note_ba_ref, note_ba_koref, note_koll_ref, note_koll_koref -->
<!-- Durchschnittsnoten berechnen -->
<!-- Durchschnittsnoten berechnen -->{{#set:
{{#set:
  |Hat Durchschnittsnote BA={{#expr: ({{{note_ba_ref|0}}} + {{{note_ba_koref|0}}}) / 2 round 2 }}
  |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 2 }}}}
  |Hat Durchschnittsnote Kolloquium={{#expr: ({{{note_koll_ref|0}}} + {{{note_koll_koref|0}}}) / 2 round 1 }}
<!-- Gesamtnote berechnen nach Gewichtung (75% / 25%) -->{{#set:
}}
<!-- Gesamtnote berechnen nach Gewichtung (75% / 25%) -->
{{#set:
  |Hat Gesamtnote={{#expr:
  |Hat Gesamtnote={{#expr:
   ((({{{note_ba_ref|0}}} + {{{note_ba_koref|0}}}) / 2) * {{#show: Bewertungskonfiguration | ?Hat Gewicht Bachelorarbeit }} / 100) +
   ((({{{note_ba_ref|0}}} + {{{note_ba_koref|0}}}) / 2) * {{#show: Bewertungskonfiguration | ?Hat Gewicht Bachelorarbeit }} / 100) +
   ((({{{note_koll_ref|0}}} + {{{note_koll_koref|0}}}) / 2) * {{#show: Bewertungskonfiguration | ?Hat Gewicht Präsentation }} / 100)
   ((({{{note_koll_ref|0}}} + {{{note_koll_koref|0}}}) / 2) * {{#show: Bewertungskonfiguration | ?Hat Gewicht Präsentation }} / 100)
round 1 }}
round 2 }}}}<!-- Darstellung -->
}}<!-- Darstellung -->
<div style="max-width: 100%; margin: 10px auto 0 auto; padding: 10px; background-color: #f9f9f9; border: 1px solid #ccc; border-radius: 8px; font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;">
<!-- Darstellung -->
   <h3 style="margin-top: 0; color: #2c3e50;"> Notenübersicht</h3>
<div style="max-width: 75%; margin: 10px auto 0 auto; padding: 10px; background-color: #f9f9f9; border: 1px solid #ccc; border-radius: 8px; font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;">
<table style="width: 100%; border-collapse: collapse; margin-bottom: 20px;">
   <h3 style="margin-top: 0; color: #2c3e50;">📊 Notenübersicht</h3>
  <tr style="background-color: #e9ecef;">
  <!-- Tabellarisch -->
    <th style="text-align: left; padding: 8px; border-bottom: 1px solid #ccc;">&nbsp;</th>
  <table style="width: 100%; border-collapse: collapse; margin-bottom: 20px;">
    <th style="text-align: center; padding: 8px; border-bottom: 1px solid #ccc;">Bachelorarbeit</th>
    <nowiki><thead></nowiki>
    <th style="text-align: center; padding: 8px; border-bottom: 1px solid #ccc;">Kolloquium</th>
      <tr style="background-color: #e9ecef;">
  </tr>
        <th style="text-align: left; padding: 8px; border-bottom: 1px solid #ccc;">&nbsp;</th>
  <tr>
        <th style="text-align: center; padding: 8px; border-bottom: 1px solid #ccc;">Bachelorarbeit</th>
     <td style="padding: 8px;"><strong>Referent</strong></td>
        <th style="text-align: center; padding: 8px; border-bottom: 1px solid #ccc;">Kolloquium</th>
    <td style="text-align: center; padding: 8px;">{{{note_ba_ref|–}}}</td>
      </tr>
    <td style="text-align: center; padding: 8px;">{{{note_koll_ref|–}}}</td>
    <nowiki></thead><tbody></nowiki>
  </tr>
     </thead>
  <tr>
    <tbody>
    <td style="padding: 8px;"><strong>Koreferent</strong></td>
      <tr>
    <td style="text-align: center; padding: 8px;">{{{note_ba_koref|–}}}</td>
        <td style="padding: 8px;"><strong>Referent</strong></td>
    <td style="text-align: center; padding: 8px;">{{{note_koll_koref|–}}}</td>
        <td style="text-align: center; padding: 8px;">{{{note_ba_ref|–}}}</td>
  </tr>
        <td style="text-align: center; padding: 8px;">{{{note_koll_ref|–}}}</td>
</table>
      </tr>
      <tr>
        <td style="padding: 8px;"><strong>Koreferent</strong></td>
        <td style="text-align: center; padding: 8px;">{{{note_ba_koref|–}}}</td>
        <td style="text-align: center; padding: 8px;">{{{note_koll_koref|–}}}</td>
      </tr>
    <nowiki></tbody></nowiki>
  </table>
   <!-- Durchschnitt + Gesamtnote -->
   <!-- Durchschnitt + Gesamtnote -->
   <div style="display: flex; justify-content: space-between; gap: 20px;">
   <div style="display: flex; justify-content: space-between; gap: 20px;">

Aktuelle Version vom 11. August 2025, 13:08 Uhr