Difference between revisions of "Template:Slidewiki"

From Karnataka Open Educational Resources
Jump to navigation Jump to search
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
{{#widget:Iframe |url={{{1}}} |width= {{{5}}} |height= {{{3}}} |border= {{{4}}} }} <br/>
 
{{#widget:Iframe |url={{{1}}} |width= {{{5}}} |height= {{{3}}} |border= {{{4}}} }} <br/>
Download this slide from [{{{2}}} here]
+
View the slide [{{{1}}} here] and download it from [{{{2}}} here].
  
 
<noinclude>
 
<noinclude>
  
Example: <nowiki>{{Slidewiki|https://slidewiki.org/Presentation/107246-1/107246-1|450|360|1|https://slidewiki.org/deck/107246-1}}</nowiki> should show as below <br/>
+
Example: <nowiki>{{Slidewiki|https://slidewiki.org/Presentation/107246-1/107246-1|https://slidewiki.org/deck/107246-1}}</nowiki> should show as below <br/>
{{Slidewiki|https://slidewiki.org/Presentation/107246-1/107246-1|450|360|1|https://slidewiki.org/deck/107246-1}}
+
{{Slidewiki|https://slidewiki.org/Presentation/107246-1/107246-1|https://slidewiki.org/deck/107246-1}}
 
<br/>
 
<br/>
  
Line 23: Line 23:
 
"type": "string"
 
"type": "string"
 
},
 
},
                "2": {
+
"2": {
 
"aliases": [
 
"aliases": [
 
"download url"
 
"download url"
Line 40: Line 40:
 
"example": "360",
 
"example": "360",
 
"type": "number",
 
"type": "number",
"default": "560"
+
"default": "460"
 
},
 
},
 
"4": {
 
"4": {
Line 60: Line 60:
 
"example": "800",
 
"example": "800",
 
"type": "number",
 
"type": "number",
                        "default": "800"
+
"default": "600"
 
}
 
}
 
}
 
}

Latest revision as of 05:37, 25 February 2018


View the slide [{{{1}}} here] and download it from [{{{2}}} here].


Example: {{Slidewiki|https://slidewiki.org/Presentation/107246-1/107246-1|https://slidewiki.org/deck/107246-1}} should show as below

View the slide here and download it from here.



No description.

Template parameters

ParameterDescriptionTypeStatus
Enter slide url1 Enter slide url

enter url from slidewiki

Example
https://slidewiki.org/Presentation/107246-1/107246-1
Stringoptional
Enter download url2 download url

Enter slidewiki url for download

Example
https://slidewiki.org/deck/107246-1
Stringoptional
height3 Height

Enter height for the slidewiki

Default
460
Example
360
Numberoptional
border4 border width

border width for slidewiki

Default
1
Example
1
Numberoptional
Width5 Width

Enter width for the slidewiki

Default
600
Example
800
Numberoptional