« Widget:Google Presentation » : différence entre les versions
De Wiki des possibles
Aucun résumé des modifications |
Aucun résumé des modifications |
||
Ligne 11 : | Ligne 11 : | ||
== Sample result == | == Sample result == | ||
{{#widget:Google_Presentation|key=2PACX-1vTm6CBGHSIF8GUW0crKNJJXxaZ14r3QQBWYqXbXT1KKBkLXPLTWl7r6Xb_KOL4dqulWMbVFhIlLZyFJ|width=400}} | {{#widget:Google_Presentation|key=2PACX-1vTm6CBGHSIF8GUW0crKNJJXxaZ14r3QQBWYqXbXT1KKBkLXPLTWl7r6Xb_KOL4dqulWMbVFhIlLZyFJ|width=400|height=400}} | ||
==Widget internals== | ==Widget internals== | ||
Ligne 18 : | Ligne 18 : | ||
<includeonly> | <includeonly> | ||
<iframe src="https://docs.google.com/presentation/d/e/<!--{$key|escape:'urlpathinfo'}-->/embed?start=false&loop=false&delayms=3000" frameborder="0" width="<!--{$width|escape:'html'|default:'960'}-->" height="569" allowfullscreen="true" mozallowfullscreen="true" webkitallowfullscreen="true"></iframe> | <iframe src="https://docs.google.com/presentation/d/e/<!--{$key|escape:'urlpathinfo'}-->/embed?start=false&loop=false&delayms=3000" frameborder="0" width="<!--{$width|escape:'html'|default:'960'}-->" height="<!--{$height|escape:'html'|default:'569'}-->" allowfullscreen="true" mozallowfullscreen="true" webkitallowfullscreen="true"></iframe> | ||
</includeonly> | </includeonly> |
Version du 24 janvier 2022 à 18:48
This widget allows you to add Google Slides to your wiki page.
To insert this widget, use the following code:
{{#widget:Google Presentation|key=1wUktKYpGaQ5atYjlFp1Cn1lRGSqlEHtGeQw9VHOYhrE}}
Parameters
- key - key parameter in document URL
- width and height define spreadsheet dimensions, 500x300 is default, but you might want to copy it from embed code since size depends on fields you have
Sample result
Widget internals
Widgets do not use parser functions. Instead, a template programming language known as "Smarty" is used. Refer to the Smarty 3 Manual for the details.