Vorlage:LernpfadNeu: Unterschied zwischen den Versionen
Aus ZUM-Unterrichten
| KKeine Bearbeitungszusammenfassung Markierung: 2017-Quelltext-Bearbeitung | KKeine Bearbeitungszusammenfassung Markierung: 2017-Quelltext-Bearbeitung | ||
| Zeile 1: | Zeile 1: | ||
| {{Box | {{Box | ||
|    |1= Lernpfad{{#if: {{{Titel|}}}|<nowiki>:</nowiki> {{{Titel}}}}} |    |1= Lernpfad{{#if: {{{Titel|}}}|<nowiki>:</nowiki> {{{Titel}}}}} | ||
|    |2=   |    |2= {{#if: {{{Bild|}}}|{{#tag: div|{{{Bild}}}|class=uk-align-right}} | ||
|       }}{{{Inhalt|{{{1|}}} | |||
|       }}}{{#ifeq: {{{qrcode|}}} | ja | <div class="uk-align-right">{{QR-Code}}</div>}} | |||
|    |3=Lernpfad}} |    |3=Lernpfad}} | ||
| {{#if: {{{Navigation|}}}   | {{#if: {{{Navigation|}}}   | ||
|    | {{{Navigation|}}} |    | {{{Navigation|}}} | ||
Version vom 12. Juni 2019, 21:17 Uhr
Lernpfad
Benutzer:Christian/Lernpfad/Navigation
- Problem
- Sortierung der Navigation
- dpl output mit include=versehen und als widget rendern lassen, dann kan die navigationsliste per JS beim seitenaufbau sortiert werden anhand des ordering parameters
- Das schreibt man
{{ Lernpfad
| Titel = [optional]
| Bild = [optional] Bild welches rechts in der Lenrpfadbox angezeigt wird
| Navigation = [optional] Die Navigation, welche zum aufklappen eingebunden wird
| qrcode = ja [optional] soll ein QR-Code zur Seite angezeigt werden
| Fach  = [optional] zusätzliche Fächerkategorie
| Fach1 = [optional] zusätzliche Fächerkategories
| Fach2 = [optional] zusätzliche Fächerkategories
| <text>
}}
