Widget:Google Books: Difference between revisions

From Cornelis Drebbel
Jump to navigation Jump to search
No edit summary
No edit summary
 
(48 intermediate revisions by the same user not shown)
Line 12: Line 12:


<includeonly>
<includeonly>
<!--{counter name="bookDivID" assign="bookDivID"}--><div id="viewerCanvas<!--{$bookDivID|escape:'html'}-->" style="width: <!--{$width|escape:'html'|default:'600'}-->px; height: <!--{$height|escape:'html'|default:500}-->px"></div>
<!--{if $bookDivID == 1}-->
<script type="text/javascript" src="//books.google.com/books/previewlib.js">
<script type="text/javascript" src="//books.google.com/books/previewlib.js">
</script>
</script>
<script type="text/javascript">
<script type="text/javascript">
GBS_insertEmbeddedViewer('ob9mAAAAcAAJ',500,800);
width=<!--{$width|escape:'html'|default:'600'}-->;
height=<!--{$height|escape:'html'|default:'500'}-->;
var welk='<!--{$id}-->';
GBS_insertEmbeddedViewer(welk,width,height);
</script>
</script>
</includeonly>
</includeonly>

Latest revision as of 18:53, 15 August 2020

This widget allows you to embed Google Books on your wiki page.

Created by Arv

Using this widget

For information on how to use this widget, see widget description page on MediaWikiWidgets.org.

Copy to your site

To use this widget on your site, just install MediaWiki Widgets extension and copy the full source code of this page to your wiki as page Widget:Google Books.