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={{{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>

Revision as of 01:40, 25 April 2012


Properties:

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