Doctor Who Cuttings Archive

Difference between revisions of "Template:Google Docs Viewer"

From The Doctor Who Cuttings Archive
Jump to navigationJump to search
(Created page with "<includeonly><table style="float:{{{float|right}}}; margin-{{#ifeq: {{{float}}} | left | right | left }}:1em; text-align:center; font-weight:bold;"> <tr> <td>{{{top caption...")
 
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly><table style="float:{{{float|right}}}; margin-{{#ifeq: {{{float}}} | left | right | left }}:1em; text-align:center; font-weight:bold;">
+
<includeonly>{{#widget:Google Viewer|url={{#ifeq: {{#pos:{{{url}}}|http://}} | 0 | {{#sub:{{{url}}}|7}} | {{{url}}} }} |height={{{height}}}|width={{{width}}}}}
<tr>
 
  <td>{{{top caption|}}}</td>
 
</tr>
 
<tr>
 
  <td>{{#widget:Google Viewer|url={{#ifeq: {{#pos:{{{url}}}|http://}} | 0 | {{#sub:{{{url}}}|7}} | {{{url}}} }} |height={{{height}}}|width={{{width}}}}}</td>
 
</tr>
 
<tr>
 
  <td>{{{bottom caption|}}}</td>
 
</tr>
 
</table>
 
 
</includeonly>
 
</includeonly>
 
<noinclude>
 
<noinclude>

Latest revision as of 00:22, 15 October 2013


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

Default values:

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