Gamepedia Help Wiki
(Created page with "'''PDFEmbed''' is an extension which allows PDF files (uploaded to your wiki) to be embedded into a wiki page using <code><pdf></pdf></code> tags. ==See also== * PDFEmb...")
 
m
 
(10 intermediate revisions by 7 users not shown)
Line 1: Line 1:
  +
{{Extension infobox
'''PDFEmbed''' is an [[extension]] which allows PDF files (uploaded to your wiki) to be embedded into a wiki page using <code><pdf></pdf></code> tags.
 
  +
| version = 2.0.2
  +
| author = {{*}}Alexia E. Smith
  +
| link = [https://gitlab.com/hydrawiki/extensions/PDFEmbed GitLab]
  +
| desc = Media handler extension for PDF files.
  +
| gp =yes
  +
| ucp = 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.
  +
  +
== 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.
  +
<pre><pdf>File:Example.pdf</pdf></pre>
  +
  +
With optional width and height.
  +
<pre><pdf width="500" height="300">File:Example.pdf</pdf></pre>
  +
  +
Scroll to page 10 after document is rendered.
  +
<pre><pdf page="10">File:Example.pdf</pdf></pre>
   
 
==See also==
 
==See also==
* [[PDFEmbed Example|Example]]
+
* [[Extension:PDFEmbed/Example|Example]]
* [[mediawikiwiki:Extension:PDFEmbed|Extension page on MediaWiki]]
+
* [[mw:Extension:PDFEmbed|Extension page on MediaWiki]]
   
 
==External links==
 
==External links==
Line 9: Line 27:
   
 
[[Category:Custom Gamepedia extensions]]
 
[[Category:Custom Gamepedia extensions]]
  +
  +
<!-- Extension prefix in other languages:
  +
  +
[[de:Erweiterung:{{subst:BASEPAGENAME}}]]
  +
[[es:Extensión:{{subst:BASEPAGENAME}}]]
  +
[[fr:Extension:{{subst:BASEPAGENAME}}]]
  +
[[it:Estensione:{{subst:BASEPAGENAME}}]]
  +
[[nl:Uitbreiding:{{subst:BASEPAGENAME}}]]
  +
[[pl:Rozszerzenie:{{subst:BASEPAGENAME}}]]
  +
[[pt:Extensão:{{subst:BASEPAGENAME}}]]
  +
[[ru:Расширение:{{subst:BASEPAGENAME}}]]
  +
[[zh:扩展:{{subst:BASEPAGENAME}}]]
  +
-->

Latest revision as of 19:08, 3 December 2020

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