Difference between revisions of "Template:IframeFolder"

From Wikispooks
Jump to navigation Jump to search
m (display more backups)
m (Text replacement - "WikiSpooks" to "Wikispooks")
 
(2 intermediate revisions by one other user not shown)
Line 1: Line 1:
<noinclude>[[Category:WikiSpooks Templates]]'''Makes the small right-floating planel to shows the contents of a local folder.'''<br/>
+
<noinclude>[[Category:Wikispooks Templates]]'''Makes the small right-floating planel to shows the contents of a local folder.'''<br/>
 
The fixed width & height make it not so suitable for general use.<br/>
 
The fixed width & height make it not so suitable for general use.<br/>
 
Takes the following arguments:
 
Takes the following arguments:
 
<poem>
 
<poem>
 
|path= The path to the folder (must begin with "/")
 
|path= The path to the folder (must begin with "/")
|height= Panel height (default=300)
+
|height= Panel height (default=400)
 
|width= Panel width (default=300)
 
|width= Panel width (default=300)
 
</poem></noinclude><div style="font-size:86%; text-align:center; border:1px solid #aaaaaa; background-color:#f9f9f9; color:black; margin-left:1em; padding:0em; float:right; clear:right;">{{#widget:Iframe  
 
</poem></noinclude><div style="font-size:86%; text-align:center; border:1px solid #aaaaaa; background-color:#f9f9f9; color:black; margin-left:1em; padding:0em; float:right; clear:right;">{{#widget:Iframe  
 
|url={{server}}{{{path|}}}
 
|url={{server}}{{{path|}}}
 
|width={{{width|300}}}
 
|width={{{width|300}}}
|height={{{height|600}}}
+
|height={{{height|400}}}
 
}}</div>
 
}}</div>

Latest revision as of 17:24, 14 October 2018

Makes the small right-floating planel to shows the contents of a local folder.
The fixed width & height make it not so suitable for general use.
Takes the following arguments:

|path= The path to the folder (must begin with "/")
|height= Panel height (default=400)
|width= Panel width (default=300)