| 
				     | 
				
| Zeile 1: | 
Zeile 1: | 
 | <noinclude>
  |  | #Weiterleitung [[Vorlage:H5p]]  | 
 | Mit dieser Vorlage lassen sich H5P Quizze (https://h5p.org) einfügen.
  |  | 
 |    |  | 
 | Die Vorlage wird wie folgt verwendet:
  |  | 
 |    |  | 
 |  <nowiki>
  |  | 
 |  {{h5p|id=...|width=...|height=...}}
  |  | 
 |  
  |  | 
 |  z.B.
  |  | 
 |  
  |  | 
 |  {{h5p|id=777|width=100%|height=232}}
  |  | 
 |  </nowiki>
  |  | 
 |    |  | 
 | '''Hinweis:'''
  |  | 
 |    |  | 
 | Die Parameter width und height sind optional und müssen in % bzw. px angegeben werden. 
  |  | 
 |    |  | 
 | Wird nichts eingegeben, wird als Vorgabewert eine Breite von 100% und eine Höhe von 400px verwendet.
  |  | 
 | {{Approved template}}</noinclude><includeonly>{{#widget:h5p
  |  | 
 | |id={{{id}}}
  |  | 
 | |source={{{source}}}
  |  | 
 | |width={{{width|100%}}}
  |  | 
 | |height={{{height|400px}}}
  |  | 
 | }}[[Kategorie:H5P]]</includeonly>
  |  | 
 | <noinclude>
  |  | 
 | <templatedata>
  |  | 
 | {
  |  | 
 | 	"params": {
  |  | 
 | 		"id": {
  |  | 
 | 			"required": true
  |  | 
 | 		},
  |  | 
 | 		"source": {
  |  | 
 | 			"type": "unknown"
  |  | 
 | 		},
  |  | 
 | 		"width": {},
  |  | 
 | 		"height": {}
  |  | 
 | 	},
  |  | 
 | 	"format": "inline"
  |  | 
 | }
  |  | 
 | </templatedata>
  |  | 
 | </noinclude>
  |  |