Difference between revisions of "Template:Google Docs Viewer"

From BroaDWcast
Jump to navigationJump to search
 
(5 intermediate revisions by the same user not shown)
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}}}|7}} | {{{url}}} }} |height={{{height}}}|width={{{width}}}}}</td>
 
  </tr>
 
  </tr>
 
  <tr>
 
  <tr>
 
   <td>{{{bottom caption|}}}</td>
 
   <td>{{{bottom caption|}}}</td>
 
  </tr>
 
  </tr>
<table>
+
</table>
 
</includeonly>
 
</includeonly>
 
<noinclude>
 
<noinclude>
'''Properties:'''
+
<nowiki>{{Google Docs Viewer|url=|float=|height=|width=|top caption=|bottom caption=}}</nowiki>
*url (do not include <nowiki>'http://'</nowiki>)
+
 
*float &nbsp;(default = right)
+
'''Default values:'''
*height (default = 780)
+
*float: right
*width &nbsp;(default = 600)
+
*height: 780
*top caption
+
*width: 600
*bottom caption
+
*captions: blank
 
</noinclude>
 
</noinclude>

Latest revision as of 15:13, 25 April 2012


{{Google Docs Viewer|url=|float=|height=|width=|top caption=|bottom caption=}}

Default values:

  • float: right
  • height: 780
  • width: 600
  • captions: blank