Widget:Embed PDF

From Bogleheads
Jump to navigation Jump to search

This widget allows you to add Portable Document Format (PDF) documents to your wiki page.


  • file: Link to the PDF file without the ".pdf" extension.
  • width: Embedded window width, default is 500px
  • height: Embedded window height, default height is 300px

A ".pdf" extension is appended to the link (URL) to ensure the browser interprets the file type as PDF.

Sample document

{{#widget:Embed PDF

Widget internals

Widgets do not use parser functions. Instead, a template programming language known as "Smarty" is used. Refer to the Smarty 3 Manual for the details.