Benutzer:Christian/Lernpfad/StructuredData-ListItem: Unterschied zwischen den Versionen
Aus ZUM-Unterrichten
KKeine Bearbeitungszusammenfassung Markierung: 2017-Quelltext-Bearbeitung |
KKeine Bearbeitungszusammenfassung |
||
Zeile 5: | Zeile 5: | ||
|namespace={{NAMESPACE}} | |namespace={{NAMESPACE}} | ||
|mode=userformat | |mode=userformat | ||
|format= ²{#widget:StructuredData ¦ data= { "@context":"https://schema.org","@type":"ItemList","name":"{{SUBPAGENAME}}","itemListElement":[,²{#ifeq: %NR%¦1¦¦,}² { "@type":"ListItem", "position":%NR%, "url":"²{fullurl:%PAGE%}²", "name":"²{#titleparts:%TITLE%¦¦-1}²" },,]} }² | |format= ²{#widget:StructuredData ¦ data= { "@context":"https://schema.org","@type":"ItemList","name":"{{SUBPAGENAME}}","numberOfItems":"%PAGES%","itemListElement":[,²{#ifeq: %NR%¦1¦¦,}² { "@type":"ListItem", "position":%NR%, "url":"²{fullurl:%PAGE%}²", "name":"²{#titleparts:%TITLE%¦¦-1}²" },,]} }² | ||
|noresultsheader= | |noresultsheader= | ||
|skipthispage=no | |skipthispage=no | ||
}}</includeonly></onlyinclude> | }}</includeonly></onlyinclude> |