Difference between revisions of "Template:Google Docs Viewer"
From BroaDWcast
Jump to navigationJump to searchJohn Lavalie (talk | contribs) (Created page with "<table style="float:right; margin-left:1em; text-align:center; font-weight:bold;"> <tr> <td>{{{top caption|}}}</td> </tr> <tr> <td>{{#widget:Google Viewer|url={{{url}}}|he...") |
John Lavalie (talk | contribs) |
||
(7 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
− | <table style="float:right; margin-left:1em; text-align:center; font-weight:bold;"> | + | <includeonly><table style="float:{{{float|right}}}; margin-{{#ifeq: {{{float}}} | left | right | left }}:1em; text-align:center; font-weight:bold;"> |
<tr> | <tr> | ||
<td>{{{top caption|}}}</td> | <td>{{{top caption|}}}</td> | ||
</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> | ||
+ | <noinclude> | ||
+ | <nowiki>{{Google Docs Viewer|url=|float=|height=|width=|top caption=|bottom caption=}}</nowiki> | ||
+ | |||
+ | '''Default values:''' | ||
+ | *float: right | ||
+ | *height: 780 | ||
+ | *width: 600 | ||
+ | *captions: blank | ||
+ | </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