Widget:Pdf: Difference between revisions

Content deleted Content added
Created page with "<noinclude> Widget for displaying office PDFs with the use of ViewJS embed API. The files must be open to the public ==שימוש== <pre>{{#widget:pdf|file=full path to file}}</pre> ===וכך זה ייראה=== {{#pdf:ViewerJS|file={{filepath:example.pdf}}|filename=example}} </noinclude><includeonly> <iframe style="width:100%;height:800px" src="<!--{$file}-->?renberwhjgerwhg(dfcewrrewwer"></iframe> </includeonly>"
 
No edit summary
Line 6: Line 6:
===וכך זה ייראה===
===וכך זה ייראה===


{{#pdf:ViewerJS|file={{filepath:example.pdf}}|filename=example}}
{{#widget:pdf:ViewerJS|file={{filepath:example.pdf}}|filename=example}}
</noinclude><includeonly>
</noinclude><includeonly>
<iframe style="width:100%;height:800px" src="<!--{$file}-->?renberwhjgerwhg(dfcewrrewwer"></iframe>
<iframe style="width:100%;height:800px" src="<!--{$file}-->?renberwhjgerwhg(dfcewrrewwer"></iframe>

Revision as of 20:42, 22 September 2024

Widget for displaying office PDFs with the use of ViewJS embed API. The files must be open to the public

שימוש

{{#widget:pdf|file=full path to file}}

וכך זה ייראה

Error in widget pdf:ViewerJS: Unable to load template 'wiki:pdf:ViewerJS'