Difference between revisions of "Template:Slideshare"

From Karnataka Open Educational Resources
Jump to navigation Jump to search
m (1 revision imported: templates)
 
 
(One intermediate revision by the same user not shown)
Line 6: Line 6:
 
<br/>
 
<br/>
  
 
+
[[Category:TROER templates]]
 +
<noinclude/>
 +
<noinclude>
 
<templatedata>
 
<templatedata>
 
{
 
{
 
"params": {
 
"params": {
 
"1": {
 
"1": {
"aliases": [
+
"label": "Embed code",
"embed code"
+
"description": "Get embed code from slideshare share buttong and select WordPress Shortcode. ",
],
+
"example": "130717320",
"label": "slideshare_embedcode",
+
"type": "number"
"description": "Insert Slideshare embed code here",
 
"example": "48241562",
 
"type": "string",
 
"required": true
 
 
},
 
},
 
"2": {
 
"2": {
"label": "width",
+
"label": "Width",
"description": "Width of the slideshare slides box",
 
"example": "450",
 
 
"type": "number",
 
"type": "number",
"default": "450"
+
"default": "500",
 +
"autovalue": ""
 
},
 
},
 
"3": {
 
"3": {
"label": "height",
+
"label": "Height",
"description": "Defines height of the slideshare box",
 
"example": "360",
 
 
"type": "number",
 
"type": "number",
"default": "360"
+
"default": "400"
 
},
 
},
 
"4": {
 
"4": {
"label": "border",
+
"label": "Border width",
"description": "Border thickness for the slideshare box",
 
"example": "1",
 
 
"type": "number",
 
"type": "number",
 
"default": "1"
 
"default": "1"
 
}
 
}
},
+
}
"description": "Add Slideshare slides using its embed code",
 
"format": "inline"
 
 
}
 
}
 
</templatedata>
 
</templatedata>
[[Category:TROER templates]]
+
</noinclude>
<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