Difference between revisions of "Template:IframeFolder"

From Wikispooks
Jump to navigation Jump to search
(Created page with "<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 s...")
 
m (t)
Line 7: Line 7:
 
|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|300}}}
 
|height={{{height|300}}}
 
}}</div>
 
}}</div>

Revision as of 11:12, 10 January 2016

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=300)
|width= Panel width (default=300)