Difference between revisions of "Template:Slideshare"

From Karnataka Open Educational Resources
Jump to navigation Jump to search
m (1 revision imported: templates)
 
Line 6: Line 6:
 
<br/>
 
<br/>
  
 
<templatedata>
 
{
 
"params": {
 
"1": {
 
"aliases": [
 
"embed code"
 
],
 
"label": "slideshare_embedcode",
 
"description": "Insert Slideshare embed code here",
 
"example": "48241562",
 
"type": "string",
 
"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"
 
}
 
},
 
"description": "Add Slideshare slides using its embed code",
 
"format": "inline"
 
}
 
</templatedata>
 
 
[[Category:TROER templates]]
 
[[Category:TROER templates]]
 
<noinclude/>
 
<noinclude/>

Revision as of 05:19, 20 February 2018



Example: {{#widget:Iframe |url=http://www.slideshare.net/slideshow/embed_code/48241562 |width=450 |height=360 |border=1 }}