Difference between revisions of "Template:Google Docs Viewer"

From BroaDWcast
Jump to navigationJump to search
Line 1: Line 1:
<includeonly><table style="float:right; margin-left:1em; text-align:center; font-weight:bold;">
+
<includeonly><table style="float:{{{float|right}}}; margin-{{#ifeq: {{{float}}} | left | right | left }}:1em; text-align:center; font-weight:bold;">
 
  <tr>
 
  <tr>
 
   <td>{{{top caption|}}}</td>
 
   <td>{{{top caption|}}}</td>
Line 12: Line 12:
 
</includeonly>
 
</includeonly>
 
<noinclude>
 
<noinclude>
Object floats right and has a solid border
 
 
 
'''Properties:'''
 
'''Properties:'''
 
*url (do not include <nowiki>'http://'</nowiki>)
 
*url (do not include <nowiki>'http://'</nowiki>)
 +
*float &nbsp;(default = right)
 
*height (default = 780)
 
*height (default = 780)
 
*width &nbsp;(default = 600)
 
*width &nbsp;(default = 600)

Revision as of 01:28, 25 April 2012


Properties:

  • url (do not include 'http://')
  • float  (default = right)
  • height (default = 780)
  • width  (default = 600)
  • top caption
  • bottom caption