Difference between revisions of "Template:IframeFolder"

From Wikispooks
Jump to navigation Jump to search
m (display more backups)
m (t)
Line 4: Line 4:
 
<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=420)
 
|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|420}}}
 
}}</div>
 
}}</div>

Revision as of 13:13, 6 February 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=420)
|width= Panel width (default=300)