Difference between revisions of "Template:Slideshare"

From Karnataka Open Educational Resources
Jump to navigation Jump to search
 
Line 8: Line 8:
 
[[Category:TROER templates]]
 
[[Category:TROER templates]]
 
<noinclude/>
 
<noinclude/>
 +
<noinclude>
 +
<templatedata>
 +
{
 +
"params": {
 +
"1": {
 +
"label": "Embed code",
 +
"description": "Get embed code from slideshare share buttong and select WordPress Shortcode. ",
 +
"example": "130717320",
 +
"type": "number"
 +
},
 +
"2": {
 +
"label": "Width",
 +
"type": "number",
 +
"default": "500",
 +
"autovalue": ""
 +
},
 +
"3": {
 +
"label": "Height",
 +
"type": "number",
 +
"default": "400"
 +
},
 +
"4": {
 +
"label": "Border width",
 +
"type": "number",
 +
"default": "1"
 +
}
 +
}
 +
}
 +
</templatedata>
 +
</noinclude>

Latest revision as of 10:31, 6 February 2019



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


No description.

Template parameters

ParameterDescriptionTypeStatus
Embed code1

Get embed code from slideshare share buttong and select WordPress Shortcode.

Example
130717320
Numberoptional
Width2

no description

Default
500
Auto value
Numberoptional
Height3

no description

Default
400
Numberoptional
Border width4

no description

Default
1
Numberoptional