Difference between revisions of "Template:Google Docs Viewer"

From BroaDWcast
Jump to navigationJump to search
 
(2 intermediate revisions by the same user not shown)
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}}}|7}} | {{{url}}} }} |height={{{height}}}|width={{{width}}}}}</td>
 
  </tr>
 
  </tr>
 
  <tr>
 
  <tr>
Line 12: Line 12:
 
</includeonly>
 
</includeonly>
 
<noinclude>
 
<noinclude>
'''Properties:'''
+
<nowiki>{{Google Docs Viewer|url=|float=|height=|width=|top caption=|bottom caption=}}</nowiki>
*url
+
 
*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