Wiki-Quellcode von Zertifikate

Version 406.1 von Carina Enke am 24.09.2021

Zeige letzte Bearbeiter
1 {{sv-translation language="de"}}
2 {{layout}}
3 {{layout-section ac:type="single"}}
4 {{layout-cell}}
5 \\
6
7 (% class="auto-cursor-target" %)
8
9 {{/layout-cell}}
10 {{/layout-section}}
11
12 {{layout-section ac:type="two_right_sidebar"}}
13 {{layout-cell}}
14 (% class="wiki-content" %)
15 (((
16 [[image:attach:medal.png]]Zusätzlich zu den [[Leistungsnachweisen >>doc:Performance Results]]können für einen Kurs oder einzelne Kursbausteine Zertifikatsdateien erzeugt werden. Diese kann der Nutzer über einen Link im Leistungsnachweis des Kurses als PDF-Datei herunterladen und ausdrucken.
17 )))
18
19 (% class="wiki-content" %)
20 (((
21 Über verschiedene Konfigurationsmöglichkeiten können Sie das Aussehen des Zertifikats beeinflussen und die Ansicht bzw. den Ausdruck beschränken.
22
23 {{info}}
24 Ein Zertifikat wird für einen bestandenen Kurs oder Kursbaustein erteilt. Eine Anleitung zur Konfiguration des Bestanden-Status finden Sie im Bereich [[Bewertung konfigurieren>>doc:Bewertung||anchor="assessment-config"]].
25
26 Ein Zertifikat ist nur sichtbar, wenn Leistungsnachweise für den Kurs konfiguriert wurden. Eine Anleitung, wie Sie Leistungsnachweise für einen Kurs konfigurieren können, beschreibt der Bereich [[doc:Performance Results]].
27 {{/info}}
28
29 (% class="auto-cursor-target" %)
30
31
32 {{display reference="Hinweis Video verfuegbar"/}}
33 )))
34 {{/layout-cell}}
35
36 {{layout-cell}}
37 {{scroll-ignore}}
38 {{panel title="Inhalt"}}
39
40
41 {{toc/}}
42
43 **Verwandte Themen**
44
45 * [[doc:Performance Results]]
46 {{/panel}}
47 {{/scroll-ignore}}
48 {{/layout-cell}}
49 {{/layout-section}}
50
51 {{layout-section ac:type="two_right_sidebar"}}
52 {{layout-cell}}
53 \\
54 {{/layout-cell}}
55
56 {{layout-cell}}
57 \\
58 {{/layout-cell}}
59 {{/layout-section}}
60
61 {{layout-section ac:type="single"}}
62 {{layout-cell}}
63 == Zertifikate anbieten ==
64
65 Um ein Zertifikat automatisch zu generieren und dem Lernenden anzeigen zu lassen, gehen Sie wie folgt vor:
66
67 1. Öffnen Sie den Kurseditor und navigieren Sie zum gewünschten Kursbaustein. Für ein Zertifikat über den gesamten Kurs ist dies der oberste Kursknoten.
68 1. Wechseln Sie im gewählten Baustein in den Tab **Bewertung**.
69 1. Aktivieren Sie die Option **Zertifikate verwenden**.
70 \\[[image:attach:Kurseditor-Zertifikate verwenden_de.png]]
71 \\
72 1. Wählen Sie in der Auswahlliste **Vorlage für Zertifikate** die gewünschte Vorlage für das Zertifikat aus. Neben der Beispielvorlage können Sie auch individuell erstellte Vorlagen verwenden. Individuell erstellte Vorlagen werden in der Auswahlliste zuerst angezeigt.
73 1. Wenn Sie die Option** Zertifikate nur für Betreuer anzeigen **aktivieren, können die PDF-Dateien der Zertifikate nur noch durch Verantwortliche über das Bewertungswerkzeug aufgerufen werden. Ein einfacher Nutzer hat keinen Zugang zu diesem Bereich und kann das eigene Zertifikat somit nicht ansehen, ausdrucken oder herunterladen.
74 \\
75
76 {{info icon="false"}}
77 Beachten Sie bitte, dass die im Schritt 4 eingestellte Vorlage erstmals für alle Zertifikate verwendet wird, die nach der Publikation dieser Änderung neu erworben werden. Ein neues Zertifikat erhält ein Nutzer allerdings auch bei einer Verbesserung des ursprünglichen Ergebnisses. Auf bereits vorhandene Zertifikate wirkt sich die Vorlage zunächst nicht aus. Dies gilt auch, wenn Sie die Vorlage austauschen. Eine neue Vorlage wird erst bei einem neuen Zertifikat verwendet.
78 {{/info}}
79
80 == Individuelle Zertifikatsvorlagen verwenden**
81 ** ==
82
83 Individuelle Kursvorlagen müssen im Ablageordner des Kurses hinterlegt und mit dem betreffenden Kursbaustein verknüpft werden. Öffnen Sie zunächst den Kurs und wechseln Sie in den Kurseditor. Dort wählen Sie im Bereich Editorwerkzeuge den Eintrag Ablageordner. Entscheiden Sie sich entsprechend Ihrer Zertifikatsvorlage für einen der folgenden Wege:
84
85 * (((
86 Eine oder mehrere Zertifikatsdateien mit einem **beliebigen Namen**:
87
88 1.
89
90 Erstellen Sie zunächst im Kursablageordner einen neuen **Ordner mit dem genauen Titel**// certificate_templates//.
91
92 1.
93
94 Kopieren Sie alle HTML-Vorlagen sowie alle in diesen Vorlagen referenzierten Bilder und CSS-Dateien in den Ordner //certificate_templates//.
95
96 1.
97
98 Schließen Sie den Ablageordner.
99
100 {{info title="Tipp"}}
101 Nutzen Sie zum Testen der Funktion folgende **Beispielvorlagendatei**: [[attach:certificate_templates.zip]].
102
103 Laden Sie diese Datei im Kurseditor in den Ablageordner und entzippen Sie hier die Datei. Schauen Sie sich im Ordner //certificate_templates// die enthaltenen Beispiele an und ändern Sie diese bei Bedarf ab. Die enthaltenen Zertifikatesvorlagen stehen anschließend im Kurseditor im Bewertungstab des Kurses oder Kursbausteins im Abschnitt **Zertifikate verwenden** zur Verfügung.
104 {{/info}}
105 )))
106
107 * (((
108 Eine einzelne Vorlage mit dem **vorgeschriebenen Dateinamen **certificatetemplate.html (bitte alles in Kleinbuchstaben schreiben):
109
110 1.
111
112 Laden Sie die HTML-Datei mit diesem festgelegten Dateinamen in den Kursablageordner oder den zugeordneten Ressourcenordner des Kurses hoch.
113
114 1.
115
116 Alle in der Vorlage referenzierten Bilder und CSS-Dateien müssen ebenfalls in den Kursablageordner / Ressourcenordner kopiert werden.
117
118 1. Schließen Sie den Ablageordner.
119 )))
120
121 Wählen Sie nun bei der Konfiguration des Kursbausteins im Tab **Bewertung **genau diese Vorlage in der Liste **Vorlage für Zertifikate** aus.
122
123 === Platzhalter ===
124
125 Bei der Erstellung der Zertifikatsvorlage können abhängig von der Konfiguration der Lernplattform verschiedene Platzhalter in der HTML-Datei verwendet werden. Diese werden dann im Zertifikat des jeweiligen Nutzers mit den entsprechenden Daten des Kurses oder Nutzers gefüllt.
126
127 Eine solche Zertifikatsvorlage können Sie mit dem integrierten HTML-Editor bspw. direkt im Kursablageordner erstellen und gestalten. Wenn Sie eine Zertifikatsvorlage mit einem externen Editor erstellt und hochgeladen haben, warnt das System vor möglichen Informationsverlusten, falls Sie die Datei mit dem integrierten Editor bearbeiten möchten.
128
129 {{note title="Kursbaustein-ID"}}
130 Für einige Platzhalter benötigen Sie die individuelle Kursbaustein-ID. Diese finden Sie im Kurseditor zum betreffenden Kursbaustein im Tab Titel und Beschreibung als Zahlenkombination rechts unten (z. B. Id: 94862470524389). Tragen Sie nur die Zahlenkombination anstelle der in der Tabelle mit: ~#~## angegebenen Zeichen ein (z. B. %%MARK:94862470524457%%).
131 {{/note}}
132
133 (% class="wrapped" style="text-align: left;" %)
134 |(((
135 %%COURSE_TITLE%%
136 )))|(((
137 Name des Kurses für den das Zertifikat ausgestellt wird.
138 )))
139 |(% colspan="1" %)(% colspan="1" %)
140 (((
141 %%COURSENODE_TITLE%%
142 )))|(% colspan="1" %)(% colspan="1" %)
143 (((
144 Titel des Kursbausteins zu dem das Zertifikat erstellt wird.
145 )))
146 |(% colspan="1" %)(% colspan="1" %)
147 (((
148 %%CERTIFICATE_DATE%%
149 )))|(% colspan="1" %)(% colspan="1" %)
150 (((
151 (% class="content-wrapper" %)
152 (((
153 Datum, zu welchem der Leistungsnachweis erfüllt wurde. Die Formatierung des Platzhalters orientiert sich an der gewählten Sprache des Nutzers. Sie kann aber mit folgenden Optionen angepasst werden:
154
155 {{expand title="Verfügbare Formatoptionen anzeigen ..."}}
156 Standard: %%CERTIFICATE_DATE%%
157
158 LONG DE: %%CERTIFICATE_DATE_LONG:LANG=de%%
159
160 SHORT DE: %%CERTIFICATE_DATE_SHORT:LANG=de%%
161
162 MEDIUM DE: %%CERTIFICATE_DATE_MEDIUM:LANG=de%%
163
164 FULL DE: %%CERTIFICATE_DATE_FULL:LANG=de%%
165
166 LONG EN: %%CERTIFICATE_DATE_LONG:LANG=en%%
167
168 SHORT EN: %%CERTIFICATE_DATE_SHORT:LANG=en%%
169
170 MEDIUM EN: %%CERTIFICATE_DATE_MEDIUM:LANG=en%%
171
172 FULL EN: %%CERTIFICATE_DATE_FULL:LANG=en%%
173 {{/expand}}
174 )))
175 )))
176 |(% colspan="1" %)(% colspan="1" %)
177 (((
178 %%GRADE%%
179 )))|(% colspan="1" %)(% colspan="1" %)
180 (((
181 Ausgabe des Prädikats einer Note
182 )))
183 |(% colspan="1" %)(% colspan="1" %)
184 (((
185 %%MARK%%
186 )))|(% colspan="1" %)(% colspan="1" %)
187 (((
188 Note des gesamten Kurses
189 )))
190 |(((
191 %%MARK:~#~##%%
192 )))|(((
193 Note des Kursbausteins mit der ID ~#~## (dieser muss bewertbar sein)
194 )))
195 |(% colspan="1" %)(% colspan="1" %)
196 (((
197 %%ROOT_NODE_SHORT_TITLE%%
198 )))|(% colspan="1" %)(% colspan="1" %)
199 (((
200 Kurzer Titel aus dem Kurs-Root-Knoten
201 )))
202 |(% colspan="1" %)(% colspan="1" %)
203 (((
204 %%ROOT_NODE_TITLE%%
205 )))|(% colspan="1" %)(% colspan="1" %)
206 (((
207 Titel aus dem Kurs-Root-Knoten
208 )))
209 |(((
210 %%METADATA:moduleduration%%
211 )))|(((
212 Kurs-Metadatum: Dauer des Moduls
213 )))
214 |(((
215 %%METADATA:moduleects%%
216 )))|(((
217 Kurs-Metadatum: ECTS
218 )))
219 |(((
220 %%METADATA:moduleexam%%
221 )))|(((
222 Kurs-Metadatum: Prüfungen
223 )))
224 |(((
225 %%METADATA:modulelevel%%
226 )))|(((
227 Kurs-Metadatum: Niveau
228 )))
229 |(((
230 %%METADATA:modulelink%%
231 )))|(((
232 Kurs-Metadatum: Link zum Modul
233 )))
234 |(((
235 %%METADATA:modulemethods%%
236 )))|(((
237 Kurs-Metadatum: Lehr-/Lernformen
238 )))
239 |(((
240 %%METADATA:modulename%%
241 )))|(((
242 Kurs-Metadatum: Name des Moduls
243 )))
244 |(((
245 %%METADATA:modulenumber%%
246 )))|(((
247 Kurs-Metadatum: Modulnummer
248 )))
249 |(((
250 %%METADATA:moduleresponsible%%
251 )))|(((
252 Kurs-Metadatum: Verantwortlicher der Weiterbildung
253 )))
254 |(((
255 %%METADATA:moduleversion%%
256 )))|(((
257 Kurs-Metadatum: Version
258 )))
259 |(((
260 %%METADATA:moduleworkloadpresence%%
261 )))|(((
262 Kurs-Metadatum: Präsenzzeit
263 )))
264 |(((
265 %%METADATA:moduleworkloadprivate%%
266 )))|(((
267 Kurs-Metadatum: Selbststudienzeit
268 )))
269 |(((
270 %%METADATA:moduleworkloadtotal%%
271 )))|(((
272 Kurs-Metadatum: Gesamtworkload
273 )))
274 |(((
275 %%PASSED%%
276 )))|(((
277 Gibt "Bestanden" bzw "Passed" im Zertifikat aus, je nach Nutzersprache zum Zeitpunkt des Bestehens.
278 )))
279 |(% colspan="1" %)(% colspan="1" %)
280 (((
281 %%PROPERTY:birthDay%%
282 )))|(% colspan="1" %)(% colspan="1" %)
283 (((
284 (% class="content-wrapper" %)
285 (((
286 Geburtsdatum mit folgenden Optionen:
287
288 (% style="list-style-type: square;" %)
289 * Darstellungsstil für das Datum
290 * (((
291 Festlegung zum Sprachformat
292
293 {{expand title="Verfügbare Formatoptionen anzeigen ..."}}
294 {{{Standard: %%PROPERTY:birthDay%%
295 LONG DE: %%PROPERTY:birthDay_LONG:LANG=de%%
296 SHORT DE: %%PROPERTY:birthDay_SHORT:LANG=de%%
297 MEDIUM DE: %%PROPERTY:birthDay_MEDIUM:LANG=de%%
298 FULL DE: %%PROPERTY:birthDay_FULL:LANG=de%%
299 LONG EN: %%PROPERTY:birthDay_LONG:LANG=en%%
300 SHORT EN: %%PROPERTY:birthDay_SHORT:LANG=en%%
301 MEDIUM EN: %%PROPERTY:birthDay_MEDIUM:LANG=en%%
302 FULL EN: %%PROPERTY:birthDay_FULL:LANG=en%%}}}
303 {{/expand}}
304 )))
305 )))
306 )))
307 |(((
308 %%PROPERTY:email%%
309 )))|(((
310 E-Mail-Adresse
311 )))
312 |(((
313 %%PROPERTY:firstName%%
314 )))|(((
315 Vorname
316 )))
317 |(((
318 %%PROPERTY:institutionalName%%
319 )))|(((
320 Institution
321 )))
322 |(% colspan="1" %)(% colspan="1" %)
323 (((
324 %%PROPERTY:institutionalUserIdentifier%%
325 )))|(% colspan="1" %)(% colspan="1" %)
326 (((
327 Matrikelnummer (systemabhängig verfügbares Metadatum)
328 )))
329 |(((
330 %%PROPERTY:lastName%%
331 )))|(((
332 Nachname
333 )))
334 |(((
335 %%PROPERTY:orgUnit%%
336 )))|(((
337 Organisationseinheit
338 )))
339 |(% colspan="1" %)(% colspan="1" %)
340 (((
341 %%SALUTATION:LANG=de%%
342 )))|(% colspan="1" %)(% colspan="1" %)
343 (((
344 Anrede (deutsch)
345 )))
346 |(% colspan="1" %)(% colspan="1" %)
347 (((
348 %%SALUTATION:LANG=en%%
349 )))|(% colspan="1" %)(% colspan="1" %)
350 (((
351 Anrede (englisch)
352 )))
353 |(((
354 %%SCORE%%
355 )))|(((
356 Punkte des gesamten Kurses
357 )))
358 |(((
359 %%SCORE:~#~##%%
360 )))|(((
361 Punkte des Kursbausteins mit der ID ~#~## (dieser muss bewertbar sein)
362 )))
363 |(% colspan="1" %)(% colspan="1" %)
364 (((
365 %%OUTCOME:[Variablenname]:~#~##%%
366 )))|(% colspan="1" %)(% colspan="1" %)
367 (((
368 (% class="content-wrapper" %)
369 (((
370 Ausgabewert eines ONYX-Tests
371
372 {{expand title="Weitere Informationen zur Nutzung dieses Platzhalters ..."}}
373 Dieser Platzhalter ist nutzbar für alle im Bereich eines Kursbausteins Test im Tab Test-Konfiguration>"Ausgabevariablen dieser Ressource" angezeigten Variablen, wie bspw. MAXSCORE, PASS_SCORE, SCORE, PASS, sowie für individuelle Test- und Sektionsvariablen vom Typ Text oder Numerisch.
374
375 [[image:attach:Kurseditor - Ausgabevariablen_de.png]]
376
377 Die Angabe der Kursbaustein-ID im Platzhalter ist immer dann zwingend notwendig, wenn das Zertifikat Ausgabewerte zu einem anderen Kursbaustein enthalten soll. Dies ist beispielsweise der Fall, wenn das Zertifikat zu einem Kursbaustein Struktur erstellt wird und dabei Ausgabewerte zu einem Kursbaustein Test abgerufen werden sollen. Wird das Zertifikat direkt zum Kursbaustein Test erstellt, von dem die Nutzerwerte angezeigt werden sollen, ist die Angabe in der Form %%OUTCOME:[Variablenname]%% ausreichend.
378 {{/expand}}
379 )))
380 )))
381 |(((
382 %%SEMESTER%%
383 )))|(((
384 Semester
385 )))
386 |(((
387 %%USERNAME%%
388 )))|(((
389 Vor- und Nachname der Person, die das Zertifikat für den Leistungsnachweis erhält.
390 )))
391 |(((
392 %%VALIDTO_DATE%%
393 )))|(((
394 Ablaufdatum des Zertifikats (systemabhängig verfügbares Metadatum)
395 )))
396 |=(((
397 (% class="tablesorter-header-inner" %)
398 (((
399 Platzhalter
400 )))
401 )))|=(((
402 (% class="tablesorter-header-inner" %)
403 (((
404 Wert
405 )))
406 )))
407
408 === Beispiele ===
409
410 {{panel bgColor="#dddddd"}}
411 {{expand title="HTML-Beispiel anzeigen ..."}}
412 {{code language="xml"}}
413 <body>
414 <div id="center">
415 <!-- header-logo -->
416 <div id="header">
417 <div id="logo"></div>
418 </div>
419
420 <!-- content-part-->
421 <div id="content">
422 <h1>Zertifikat</h1>
423 <h2>%%USERNAME%%</h2>
424 <div>hat am</div>
425 <h3>%%CERTIFICATE_DATE%%</h3>
426 <div>den Kurs</div>
427 <h2>%%COURSE_TITLE%%</h2>
428 <div>erfolgreich absolviert.</div>
429 </div>
430
431 <!-- signature line -->
432 <div id="signature">
433 <h3>Dieses Zertifikat wurde automatisch von der Lernplattform erstellt.</h3>
434 </div>
435 <div class="clearfloat"></div>
436
437 <!-- footer-logo -->
438 <div id="footer">
439 </div>
440
441 </div>
442 </body>
443
444 {{/code}}
445 {{/expand}}
446 {{/panel}}
447
448 {{panel bgColor="#dddddd"}}
449 {{expand title="CSS-Beispiel anzeigen ..."}}
450 {{code language="css"}}
451 body {font-family: Verdana,Helvetica,Arial,sans-serif; margin: 0; padding: 0;}
452 h1 {color: #888; font-size: 4em; margin-bottom: 80px;}
453 h2 {font-size: 2em; padding-bottom: 0px; margin-top: 40px; margin-bottom: 40px;}
454 h3 {font-size: 1.6em;}
455 .floaterright {float: right;}
456 .clearfloat {clear: both;}
457 #center {margin: 0 auto; width: 900px;}
458 #header {height: 152px;background: url(certificate_header.png) no-repeat #eee; box-shadow: 0 4px 4px -2px #AAAAAA;}
459 #content {height: 900px; margin-top: 100px;}
460 #content div, #signature span {font-size: 1.6em;}
461 #content div, #content h1, #content h2, #content h3 {text-align: center;}
462 #signature {text-align: left; margin-left: 20px;}
463 #signature h3 {font-weight: normal; font-size: 1.3em; margin-bottom: 5px; margin-top: 5px;}
464 #signature span {font-size: 1em;}
465 #footer {margin-top: 35px; height: 50px; background: url(certificate_footer.png) no-repeat #eee;}
466 {{/code}}
467 {{/expand}}
468 {{/panel}}
469 {{/layout-cell}}
470 {{/layout-section}}
471 {{/layout}}
472 {{/sv-translation}}
473
474 {{sv-translation language="en"}}
475 {{layout}}
476 {{layout-section ac:type="two_right_sidebar"}}
477 {{layout-cell}}
478 [[image:attach:medal.png]]In addition to the [[Performance results>>url:https://www.bps-system.de/help/display/LMSintern/.Performance+results+v3.1||shape="rect"]], certificate files can be generated for a course or individual course elements. The user can download these files as a PDF via a link in the performance results section of the course and print them out.
479
480 You can use various configuration options to influence the design of the certificate and limit the view or print.
481
482 {{info}}
483 A certificate is issued for a passed course or course element. Instructions on how to configure the passing status can be found on the [[Assessment>>url:https://www.bps-system.de/help/display/LMSintern/.Bewertung+v3.0#id-.Bewertungv3.0-assessment-config||shape="rect"]] help page.
484
485 A certificate is only visible if performance results have been configured for the course. Instructions on how to configure performance results for a course can be found on the [[doc:Performance Results]] help page.
486 {{/info}}
487
488 (% class="auto-cursor-target" %)
489
490
491 {{display reference="Hinweis Video verfuegbar"/}}
492 {{/layout-cell}}
493
494 {{layout-cell}}
495 {{scroll-ignore}}
496 {{panel title="Content"}}
497
498
499 {{toc minLevel="2"/}}
500
501 **Related topics**
502
503 * [[Performance results>>doc:Performance Results]]
504 {{/panel}}
505 {{/scroll-ignore}}
506 {{/layout-cell}}
507 {{/layout-section}}
508
509 {{layout-section ac:type="single"}}
510 {{layout-cell}}
511 \\
512 {{/layout-cell}}
513 {{/layout-section}}
514
515 {{layout-section ac:type="single"}}
516 {{layout-cell}}
517 == Offer certificates ==
518
519 To generate a certificate automatically and display it to the learner, proceed as follows:
520
521 1. Open the course editor and navigate to the desired course element. To receive a certificate for the entire course, go to the top course node.
522 1. In the selected element, switch to the **Assessment **tab.
523 1. Activate the **Use certificates **option.**
524 \\//[[image:attach:Kurseditor-Zertifikate verwenden_en.png]]//**
525 \\
526 1. Choose the desired certificate template from the **Template for certificates **selection list. Apart from the example template, you can also use individually created templates. The latter will appear at the top of the selection list.(% style="color: rgb(0,0,255);" %)
527 1. If you activate the **Display certificates only for tutors **option,** **the PDF files of the certificates will only be accessible by tutors via the assessment tool. A simple user does not have access to this area and can thus not view, print, or download their certificate.
528 \\
529
530 {{info}}
531 Please note that the template set in step 4 will be used for the first time for certificates that have been newly acquired after the publication of this change. However, users will also receive a new certificate if they improve on their original result. The template does not affect existing certificates. This also applies to replacing the template. A new template will only be used for a new certificate.
532 {{/info}}
533
534 == Use individual certificate templates ==
535
536 Individual course templates must be saved to the storage folder of the course and linked to the relevant course element. First open the course and switch to the course editor. Then select the Storage folder entry from the Editor tools menu. Choose one of the following options according to your certificate template:
537
538 * One or more certificate files with **any name**:
539
540 1. First create a new **folder with the exact title** //certificate_templates //in the course storage folder.
541 1. Copy all HTML templates as well as all images and CSS files referenced in these templates to the //certificate_templates //folder.
542 1. (((
543 Close the storage folder.
544
545 {{info title="Tip"}}
546 Use the following **example template file** to test the function: (% style="color: rgb(0,0,255);" %)[[attach:certificate_templates.zip]].
547
548 (% style="color: rgb(51,51,51);" %)Upload this file to the storage folder in the course editor and unzip it. Take a look at the examples included in the //certificate_templates// folder and edit them if necessary. All included certificate templates will then be available under the **Use certificates** section in the **Assessment **tab of the course or course element.
549 {{/info}}
550 )))
551
552 * A single template with the **mandatory file name **//certificatetemplate.html //(all letters in lowercase):
553
554 1. Upload the HTML file with this specific file name to the course storage folder or the assigned resource folder of the course.
555 1. All images and CSS files referenced in the template must also be copied to the course storage folder / resource folder.
556 1. Close the storage folder.
557
558 When configuring the course element in the **Assessment **tab, select exactly this template from the **Template for certificates **list.
559
560 === Placeholder ===
561
562 When creating the certificate template, you can use different placeholders in the HTML file, depending on the configuration of the learning platform. These are then filled in the certificate of the respective user with the corresponding data of the course or user.
563
564 You can create and design such a certificate template with the integrated HTML editor e. g. directly in the course storage folder. If you create and upload a certificate template with an external editor, the system will warn you of possible information loss when trying to edit the template with the integrated editor.
565
566 {{note title="Course element ID"}}
567 For some of the placeholders, you will need the individual course element ID. The IDs can be found in the course editor of the respective course element on the Title and description tab in the form of a number combination in the bottom right corner (e. g. ID: 94862470524389). Just replace the signs indicated in the table (~#~##) with the desired number combination (e. g. %%MARK:94862470524457%%).
568 {{/note}}
569
570 (% class="wrapped" %)
571 |=(((
572 Placeholder
573 )))|=(((
574 Value
575 )))
576 |(% colspan="1" %)(% colspan="1" %)
577 (((
578 %%COURSE_TITLE%%
579 )))|(% colspan="1" %)(% colspan="1" %)
580 (((
581 Title of the course for which the certificate is issued.
582 )))
583 |(% colspan="1" %)(% colspan="1" %)
584 (((
585 (% style="color: rgb(23,43,77);" %)%%COURSENODE_TITLE%%
586 )))|(% colspan="1" %)(% colspan="1" %)
587 (((
588 Title of the course element for which the certificate is issued.
589 )))
590 |(((
591 %%CERTIFICATE_DATE%%
592
593 \\
594
595 \\
596 )))|(((
597 (% class="content-wrapper" %)
598 (((
599 The date on which the performance results were achieved. The formatting of the placeholder depends on the language selected by the user. It can be adjusted with the following options:
600
601 {{expand title="Display all available format options ..."}}
602 {{{Standard: %%CERTIFICATE_DATE%%
603 LONG DE: %%CERTIFICATE_DATE_LONG:LANG=de%%
604 SHORT DE: %%CERTIFICATE_DATE_SHORT:LANG=de%%
605 MEDIUM DE: %%CERTIFICATE_DATE_MEDIUM:LANG=de%%
606 FULL DE: %%CERTIFICATE_DATE_FULL:LANG=de%%
607 LONG EN: %%CERTIFICATE_DATE_LONG:LANG=en%%
608 SHORT EN: %%CERTIFICATE_DATE_SHORT:LANG=en%%
609 MEDIUM EN: %%CERTIFICATE_DATE_MEDIUM:LANG=en%%
610 FULL EN: %%CERTIFICATE_DATE_FULL:LANG=en%%}}}
611 {{/expand}}
612 )))
613 )))
614 |(% colspan="1" %)(% colspan="1" %)
615 (((
616 (% style="color: rgb(23,43,77);" %)%%GRADE%%
617 )))|(% colspan="1" %)(% colspan="1" %)
618 (((
619 Display of grades as text
620 )))
621 |(% colspan="1" %)(% colspan="1" %)
622 (((
623 %%MARK%%
624 )))|(% colspan="1" %)(% colspan="1" %)
625 (((
626 Mark for the entire course
627 )))
628 |(% colspan="1" %)(% colspan="1" %)
629 (((
630 %%MARK:~#~##%%
631 )))|(% colspan="1" %)(% colspan="1" %)
632 (((
633 Mark for the course element with the ID ~#~## (the course element must be assessable)
634 )))
635 |(% colspan="1" %)(% colspan="1" %)
636 (((
637 %%ROOT_NODE_SHORT_TITLE%%
638 )))|(% colspan="1" %)(% colspan="1" %)
639 (((
640 Short title from the course root node
641 )))
642 |(% colspan="1" %)(% colspan="1" %)
643 (((
644 %%ROOT_NODE_TITLE%%
645 )))|(% colspan="1" %)(% colspan="1" %)
646 (((
647 Title from the course root node
648 )))
649 |(% colspan="1" %)(% colspan="1" %)
650 (((
651 %%METADATA:moduleduration%%
652 )))|(% colspan="1" %)(% colspan="1" %)
653 (((
654 (% class="TableParagraph" %)
655 Course metadata: Duration of the module
656 )))
657 |(% colspan="1" %)(% colspan="1" %)
658 (((
659 %%METADATA:moduleects%%
660 )))|(% colspan="1" %)(% colspan="1" %)
661 (((
662 Course metadata: ECTS
663 )))
664 |(% colspan="1" %)(% colspan="1" %)
665 (((
666 %%METADATA:moduleexam%%
667 )))|(% colspan="1" %)(% colspan="1" %)
668 (((
669 Course metadata: Exams
670 )))
671 |(% colspan="1" %)(% colspan="1" %)
672 (((
673 %%METADATA:modulelevel%%
674 )))|(% colspan="1" %)(% colspan="1" %)
675 (((
676 Course metadata: Level
677 )))
678 |(% colspan="1" %)(% colspan="1" %)
679 (((
680 %%METADATA:modulelink%%
681 )))|(% colspan="1" %)(% colspan="1" %)
682 (((
683 Course metadata: Link to the module
684 )))
685 |(% colspan="1" %)(% colspan="1" %)
686 (((
687 %%METADATA:modulemethods%%
688 )))|(% colspan="1" %)(% colspan="1" %)
689 (((
690 Course metadata: Teaching and learning methods
691 )))
692 |(% colspan="1" %)(% colspan="1" %)
693 (((
694 %%METADATA:modulename%%
695 )))|(% colspan="1" %)(% colspan="1" %)
696 (((
697 Course metadata: Name of the module
698 )))
699 |(% colspan="1" %)(% colspan="1" %)
700 (((
701 %%METADATA:modulenumber%%
702 )))|(% colspan="1" %)(% colspan="1" %)
703 (((
704 Course metadata: Module number
705 )))
706 |(% colspan="1" %)(% colspan="1" %)
707 (((
708 %%METADATA:moduleresponsible%%
709 )))|(% colspan="1" %)(% colspan="1" %)
710 (((
711 Course metadata: Person responsible for further education
712 )))
713 |(% colspan="1" %)(% colspan="1" %)
714 (((
715 %%METADATA:moduleversion%%
716 )))|(% colspan="1" %)(% colspan="1" %)
717 (((
718 Course metadata: Version
719 )))
720 |(% colspan="1" %)(% colspan="1" %)
721 (((
722 %%METADATA:moduleworkloadpresence%%
723 )))|(% colspan="1" %)(% colspan="1" %)
724 (((
725 Course metadata: Attendance time
726 )))
727 |(% colspan="1" %)(% colspan="1" %)
728 (((
729 %%METADATA:moduleworkloadprivate%%
730 )))|(% colspan="1" %)(% colspan="1" %)
731 (((
732 Course metadata: Private study time
733 )))
734 |(% colspan="1" %)(% colspan="1" %)
735 (((
736 %%METADATA:moduleworkloadtotal%%
737 )))|(% colspan="1" %)(% colspan="1" %)
738 (((
739 Course metadata: Total workload
740 )))
741 |(% colspan="1" %)(% colspan="1" %)
742 (((
743 %%PASSED%%
744 )))|(% colspan="1" %)(% colspan="1" %)
745 (((
746 Displays "Passed" in the certificate, depending on the configured user language at the time of passing.
747 )))
748 |(% colspan="1" %)(% colspan="1" %)
749 (((
750 %%PROPERTY:birthDay%%
751 )))|(% colspan="1" %)(% colspan="1" %)
752 (((
753 (% class="content-wrapper" %)
754 (((
755 (% class="TableParagraph" %)
756 Date of birth with the following options:
757
758 * Selecting a display style for the date
759 * (((
760 Defining the language format
761
762 {{expand title="Display all available format options ..."}}
763 {{{Standard: %%PROPERTY:birthDay%%
764 LONG DE: %%PROPERTY:birthDay_LONG:LANG=de%%
765 SHORT DE: %%PROPERTY:birthDay_SHORT:LANG=de%%
766 MEDIUM DE: %%PROPERTY:birthDay_MEDIUM:LANG=de%%
767 FULL DE: %%PROPERTY:birthDay_FULL:LANG=de%%
768 LONG EN: %%PROPERTY:birthDay_LONG:LANG=en%%
769 SHORT EN: %%PROPERTY:birthDay_SHORT:LANG=en%%
770 MEDIUM EN: %%PROPERTY:birthDay_MEDIUM:LANG=en%%
771 FULL EN: %%PROPERTY:birthDay_FULL:LANG=en%%}}}
772 {{/expand}}
773 )))
774 )))
775 )))
776 |(% colspan="1" %)(% colspan="1" %)
777 (((
778 %%PROPERTY:email%%
779 )))|(% colspan="1" %)(% colspan="1" %)
780 (((
781 Email address
782 )))
783 |(% colspan="1" %)(% colspan="1" %)
784 (((
785 %%PROPERTY:firstName%%
786 )))|(% colspan="1" %)(% colspan="1" %)
787 (((
788 First name
789 )))
790 |(% colspan="1" %)(% colspan="1" %)
791 (((
792 %%PROPERTY:institutionalName%%
793 )))|(% colspan="1" %)(% colspan="1" %)
794 (((
795 Institution
796 )))
797 |(% colspan="1" %)(% colspan="1" %)
798 (((
799 %%PROPERTY:institutionalUserIdentifier%%
800 )))|(% colspan="1" %)(% colspan="1" %)
801 (((
802 Matriculation number (system-dependent metadata)
803 )))
804 |(% colspan="1" %)(% colspan="1" %)
805 (((
806 %%PROPERTY:lastName%%
807 )))|(% colspan="1" %)(% colspan="1" %)
808 (((
809 Last name
810 )))
811 |(% colspan="1" %)(% colspan="1" %)
812 (((
813 %%PROPERTY:orgUnit%%
814 )))|(% colspan="1" %)(% colspan="1" %)
815 (((
816 Organisation unit
817 )))
818 |(% colspan="1" %)(% colspan="1" %)
819 (((
820 %%SALUTATION:LANG=de%%
821 )))|(% colspan="1" %)(% colspan="1" %)
822 (((
823 Salutation (German)
824 )))
825 |(% colspan="1" %)(% colspan="1" %)
826 (((
827 %%SALUTATION:LANG=en%%
828 )))|(% colspan="1" %)(% colspan="1" %)
829 (((
830 Salutation (English)
831 )))
832 |(% colspan="1" %)(% colspan="1" %)
833 (((
834 %%SCORE%%
835 )))|(% colspan="1" %)(% colspan="1" %)
836 (((
837 Score for the entire course
838 )))
839 |(% colspan="1" %)(% colspan="1" %)
840 (((
841 %%SCORE:~#~##%%
842 )))|(% colspan="1" %)(% colspan="1" %)
843 (((
844 Score for the course element with the ID ~#~## (the course must be assessable)
845 )))
846 |(% colspan="1" %)(% colspan="1" %)
847 (((
848 (% style="color: rgb(23,43,77);" %)%%OUTCOME:[variable name]:~#~##%%
849 )))|(% colspan="1" %)(% colspan="1" %)
850 (((
851 (% class="content-wrapper" %)
852 (((
853 Output value of an ONYX test
854
855 {{expand title="Learn more about how to use this placeholder ..."}}
856 This placeholder can be used for all variables displayed in a test course element on the Test configuration tab>"Output variables of this resource" such as MAXSCORE, PASS_SCORE, SCORE, PASS, as well as for individual test and section variables of the type text or numerical.
857
858 [[image:attach:Kurseditor - Ausgabevariablen_en.png]]
859
860 If the certificate should contain output values from another course element, the course element ID must be specified in the placeholder. For example, this is the case if the certificate is created for a structure course element and output values are to be retrieved from a test course element. If the certificate is created directly for the test course element for which the user values should be displayed, %%OUTCOME:[variable name]%% will be sufficient as specification.
861 {{/expand}}
862 )))
863 )))
864 |(% colspan="1" %)(% colspan="1" %)
865 (((
866 (% style="letter-spacing: 0.0px;" %)%%SEMESTER%%
867 )))|(% colspan="1" %)(% colspan="1" %)
868 (((
869 Semester
870 )))
871 |(% colspan="1" %)(% colspan="1" %)
872 (((
873 %%USERNAME%%
874 )))|(% colspan="1" %)(% colspan="1" %)
875 (((
876 First and last name of the person receiving the certificate for their performance results.
877 )))
878 |(% colspan="1" %)(% colspan="1" %)
879 (((
880 %%VALIDTO_DATE%%
881 )))|(% colspan="1" %)(% colspan="1" %)
882 (((
883 Expiration date of the certificate (system-dependent metadata)
884 )))
885
886 === Examples ===
887
888 {{panel bgColor="#dddddd"}}
889 {{expand title="Display HTML example ..."}}
890 {{code language="xml"}}
891 <body>
892 <div id="center">
893 <!-- header-logo -->
894 <div id="header">
895 <div id="logo"></div>
896 </div>
897
898 <!-- content-part-->
899 <div id="content">
900 <h1>Zertifikat</h1>
901 <h2>%%USERNAME%%</h2>
902 <div>hat am</div>
903 <h3>%%CERTIFICATE_DATE%%</h3>
904 <div>den Kurs</div>
905 <h2>%%COURSE_TITLE%%</h2>
906 <div>erfolgreich absolviert.</div>
907 </div>
908
909 <!-- signature line -->
910 <div id="signature">
911 <h3>Dieses Zertifikat wurde automatisch von der Lernplattform erstellt.</h3>
912 </div>
913 <div class="clearfloat"></div>
914
915 <!-- footer-logo -->
916 <div id="footer">
917 </div>
918
919 </div>
920 </body>
921
922 {{/code}}
923 {{/expand}}
924 {{/panel}}
925
926 {{panel bgColor="#dddddd"}}
927 {{expand title="Display CSS example ..."}}
928 {{code language="css"}}
929 body {font-family: Verdana,Helvetica,Arial,sans-serif; margin: 0; padding: 0;}
930 h1 {color: #888; font-size: 4em; margin-bottom: 80px;}
931 h2 {font-size: 2em; padding-bottom: 0px; margin-top: 40px; margin-bottom: 40px;}
932 h3 {font-size: 1.6em;}
933 .floaterright {float: right;}
934 .clearfloat {clear: both;}
935 #center {margin: 0 auto; width: 900px;}
936 #header {height: 152px;background: url(certificate_header.png) no-repeat #eee; box-shadow: 0 4px 4px -2px #AAAAAA;}
937 #content {height: 900px; margin-top: 100px;}
938 #content div, #signature span {font-size: 1.6em;}
939 #content div, #content h1, #content h2, #content h3 {text-align: center;}
940 #signature {text-align: left; margin-left: 20px;}
941 #signature h3 {font-weight: normal; font-size: 1.3em; margin-bottom: 5px; margin-top: 5px;}
942 #signature span {font-size: 1em;}
943 #footer {margin-top: 35px; height: 50px; background: url(certificate_footer.png) no-repeat #eee;}
944 {{/code}}
945 {{/expand}}
946 {{/panel}}
947 {{/layout-cell}}
948 {{/layout-section}}
949 {{/layout}}
950 {{/sv-translation}}