Difference between revisions of "Template:Google Docs Viewer"

From BroaDWcast
Jump to navigationJump to search
Line 4: Line 4:
 
  </tr>
 
  </tr>
 
  <tr>
 
  <tr>
   <td>{{#widget:Google Viewer|url={{#ifeq: {{#pos:{{url}}|http://}} | 0 | {{#sub:{{url}}|8}} | {{url}} }} |height={{{height}}}|width={{{width}}}}}</td>
+
   <td>{{#widget:Google Viewer|url={{#ifeq: {{#pos:{{{url}}}|http://}} | 0 | {{#sub:{{{url}}}|8}} | {{{url}}} }} |height={{{height}}}|width={{{width}}}}}</td>
 
  </tr>
 
  </tr>
 
  <tr>
 
  <tr>
Line 13: Line 13:
 
<noinclude>
 
<noinclude>
 
'''Properties:'''
 
'''Properties:'''
*url
+
*url (do not include <nowiki>'http://'</nowiki>)
 
*float &nbsp;(default = right)
 
*float &nbsp;(default = right)
 
*height (default = 780)
 
*height (default = 780)

Revision as of 01:45, 25 April 2012


Properties:

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