Gamepedia Help Wiki
(Attempting to auto populate |gp= and |default= from Extensions page)
(jk interpreted |gp= |default= wrong the first time)
Line 6: Line 6:
 
| desc = Media handler extension for PDF files.
 
| desc = Media handler extension for PDF files.
   
| gp =
+
| gp =yes
 
}}
 
}}
 
'''PDFEmbed''' is an [[extension]] which allows PDF files (uploaded to your wiki) to be embedded into a wiki page using <code><nowiki><pdf></pdf></nowiki></code> tags.
 
'''PDFEmbed''' is an [[extension]] which allows PDF files (uploaded to your wiki) to be embedded into a wiki page using <code><nowiki><pdf></pdf></nowiki></code> tags.

Revision as of 12:45, 30 July 2019

PDFEmbed is an extension which allows PDF files (uploaded to your wiki) to be embedded into a wiki page using <pdf></pdf> tags.

Usage Example

The PDF to be embedded must first be uploaded to the wiki through "Special:Upload". The namespace prefixed file name is then used between the tags to embed it in a page.

<pdf>File:Example.pdf</pdf>

With optional width and height.

<pdf width="500" height="300">File:Example.pdf</pdf>

Scroll to page 10 after document is rendered.

<pdf page="10">File:Example.pdf</pdf>

See also

External links