Vojna Enciklopedija:Postavljanje PDF fajlova
Ово је најновија верзија ове странице; нема одобрених измена.
Пређи на навигацију
Пређи на претрагу
8== 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>
Датотека:Bespilotne letilice.pdf
Bespilotne letilice
<pdf width="800" height="600">Датотека:Bespilotne letilice.pdf</pdf>
Usage
To insert a MsLink, simply edit a page and click on the new button in the toolbar. It will insert an empty MsLink, which you can then fill with the filename of the file you want to link to. You can also add some parameters to it, like in regular images. Below are some examples of usage:
Description | Input | Result |
---|---|---|
Basic MsLink | {{#l:Testfile.pdf}} | [[:|Testfile.pdf]] |
MsLink with description | {{#l:Testfile.pdf|File description}} | [[:|File description]] |
Icon on the right side | {{#l:Testfile.pdf|File description|right}} | [[:|File description]] |
Direct MsLink | {{#l:dlink|Testfile.pdf|This file will be downloaded when clicked}} |