Difference between revisions of "Template:Slideshare"
Jump to navigation
Jump to search
Line 1: | Line 1: | ||
{{#widget:Iframe |url={{{1}}} |width= {{{2}}} |height= {{{3}}} |border= {{{4}}} }} | {{#widget:Iframe |url={{{1}}} |width= {{{2}}} |height= {{{3}}} |border= {{{4}}} }} | ||
+ | <noinclude> | ||
{{Slideshare|http://www.slideshare.net/slideshow/embed_code/48241562}} | {{Slideshare|http://www.slideshare.net/slideshow/embed_code/48241562}} | ||
− | |||
− | |||
Example: <nowiki>{{#widget:Iframe |url=http://www.slideshare.net/slideshow/embed_code/48241562 |width=450 |height=360 |border=1 }}</nowiki> <br/> | Example: <nowiki>{{#widget:Iframe |url=http://www.slideshare.net/slideshow/embed_code/48241562 |width=450 |height=360 |border=1 }}</nowiki> <br/> | ||
<br/> | <br/> | ||
Line 13: | Line 12: | ||
"1": { | "1": { | ||
"aliases": [ | "aliases": [ | ||
− | " | + | "embed code" |
], | ], | ||
− | "label": " | + | "label": "slideshare_link", |
"description": "Insert Slideshare embed code here", | "description": "Insert Slideshare embed code here", | ||
"example": "http://www.slideshare.net/slideshow/embed_code/48241562", | "example": "http://www.slideshare.net/slideshow/embed_code/48241562", | ||
"type": "string", | "type": "string", | ||
"required": true | "required": true | ||
+ | }, | ||
+ | "2": { | ||
+ | "label": "width", | ||
+ | "description": "Width of the slideshare slides box", | ||
+ | "example": "450", | ||
+ | "type": "number", | ||
+ | "default": "450" | ||
+ | }, | ||
+ | "3": { | ||
+ | "label": "height", | ||
+ | "description": "Defines height of the slideshare box", | ||
+ | "example": "360", | ||
+ | "type": "number", | ||
+ | "default": "360" | ||
+ | }, | ||
+ | "4": { | ||
+ | "label": "border", | ||
+ | "description": "Border thickness for the slideshare box", | ||
+ | "example": "1", | ||
+ | "type": "number", | ||
+ | "default": "1" | ||
} | } | ||
}, | }, |
Latest revision as of 19:11, 15 October 2016
Example: {{#widget:Iframe |url=http://www.slideshare.net/slideshow/embed_code/48241562 |width=450 |height=360 |border=1 }}
Add Slideshare slides using its embed code
Parameter | Description | Type | Status | |
---|---|---|---|---|
slideshare_link | 1 embed code | Insert Slideshare embed code here
| String | required |
width | 2 | Width of the slideshare slides box
| Number | optional |
height | 3 | Defines height of the slideshare box
| Number | optional |
border | 4 | Border thickness for the slideshare box
| Number | optional |