Widget:PDF
De Semantic MediaWiki - Sandbox
This widget allows you to embed a PDF-file in the portrait format on your wiki page.
Created by Wilhelm Bühler, adapted by Karsten Hoffmeyer.
Usage
Parameters
- url - url of the pdf file
- height - maximum height in pixels (1050 = default for the portrait format) / (500 = recommended for the landscape format)
- width - minimum width in pixels (750 = default for the portrait format) / (700 = recommended for the landscape format)
Usually it is not required to add the height and width parameter since the display will resize automatically. If you do so it is recommended to have a ration of 1.41 between width and height.
Example
- Code
{{#Widget:PDF |url=https://www.semantic-mediawiki.org/w/images/8/80/20171004_Beginners_tutorial_to_Semantic_MediaWiki.pdf |height=500 |width=700 }}
- Result