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...")
 
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}}}}}</includeonly>
<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>
 
 
<noinclude>
 
<noinclude>
 
<nowiki>{{Google Docs Viewer|url=|float=|height=|width=|top caption=|bottom caption=}}</nowiki>
 
<nowiki>{{Google Docs Viewer|url=|float=|height=|width=|top caption=|bottom caption=}}</nowiki>

Revision as of 00:06, 15 October 2013


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

Default values:

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