Extension:GoogleDocs4MW/de-formal

This page is a translated version of the page Extension:GoogleDocs4MW and the translation is 15% complete.
Other languages:
MediaWiki extensions manual
OOjs UI icon advanced-invert.svg
GoogleDocs4MW
Release status: stable
Implementation Tag
Description Adds ‎<googlespreadsheet> tag for Google Docs' spreadsheets display
Author(s) Jack Phoenix
Latest version 1.4 (2020-04-19)
MediaWiki 1.39.0+
Database changes No
License GNU General Public License 2.0 or later
Download
Example ShoutWiki
‎<googlespreadsheet>
Translate the GoogleDocs4MW extension if it is available at translatewiki.net

The GoogleDocs4MW extension embeds Google Docs' spreadsheets into the wiki.

Installation

  • Die Erweiterung herunterladen und die Datei(en) in ein Verzeichnis namens GoogleDocs4MW im Ordner extensions/ ablegen.
  • Folgenden Code am Ende Ihrer LocalSettings.php hinzufügen:
    wfLoadExtension( 'GoogleDocs4MW' );
    
  •   Done – Zu Special:Version in dem Wiki (bei Einstellung auf deutsch nach Spezial:Version) navigieren, um die erfolgreiche Installierung der Erweiterung zu überprüfen.

Usage

Supported parameters are:

Name Default
width 500
height 300
style width:100%

As an example using all of the parameters:

<googlespreadsheet width="600" height="200" style="width:50%"><span lang="en" dir="ltr" class="mw-content-ltr">Google Docs' key goes here</span></googlespreadsheet>
To actually embed a spreadsheet, the spreadsheet needs to be published with Google's File > Publish to Web... option. It is not sufficient to just have a shareable link.

Note

This extension was inspired by the Fandom extension with the same name, but this extension was written back when Fandom wasn't open source.

Siehe auch