Difference between revisions of "PDF help"

From bombaywiki
Jump to: navigation, search
(Preview page 2 width 240px, links to file description page:)
 
(10 intermediate revisions by one other user not shown)
Line 1: Line 1:
 
===PDF link and embed:===
 
===PDF link and embed:===
  
 +
You can use all options that you would for an Image -- for example: thumb, right/left, caption, border, link, etc. See https://www.mediawiki.org/wiki/Help:Images for details on options.
  
=== Preview page 2 width 240px, links to file description page: ===
+
* Example: Preview page 2, width 240px, links to file description page:
 
For PDF file: 1910 Financial Chapter in the History of Bombay.pdf<br>
 
For PDF file: 1910 Financial Chapter in the History of Bombay.pdf<br>
 
[[File:1910 Financial Chapter in the History of Bombay.pdf|page=2|240px]]
 
[[File:1910 Financial Chapter in the History of Bombay.pdf|page=2|240px]]
 
  Syntax: <nowiki>[[File:1910 Financial Chapter in the History of Bombay.pdf|page=2|240px]]</nowiki>
 
  Syntax: <nowiki>[[File:1910 Financial Chapter in the History of Bombay.pdf|page=2|240px]]</nowiki>
  
===Preview page 2 width 240px, links directly to PDF page2:===
+
* Example: Preview page 2, width 360px, links directly to PDFs page 2:
[[File:1910 Financial Chapter in the History of Bombay.pdf|page=2|240px|link=https://bombaywiki.with.camp/w/images/3/39/1910_Financial_Chapter_in_the_History_of_Bombay.pdf#page=2]]
+
Get the direct link to file by clicking on the preview in file description page and then copy url.<br>
  <nowiki>[[File:1910 Financial Chapter in the History of Bombay.pdf|page=2|240px|link=https://bombaywiki.with.camp/w/images/3/39/1910_Financial_Chapter_in_the_History_of_Bombay.pdf#page=2]]</nowiki>
+
[[File:1910 Financial Chapter in the History of Bombay.pdf|page=2|360px|link=https://bombaywiki.with.camp/w/images/3/39/1910_Financial_Chapter_in_the_History_of_Bombay.pdf#page=2]]
 +
  <nowiki>[[File:1910 Financial Chapter in the History of Bombay.pdf|page=2|360px|link=https://bombaywiki.with.camp/w/images/3/39/1910_Financial_Chapter_in_the_History_of_Bombay.pdf#page=2]]</nowiki>
  
===360px, two pages, side by side; links to file description page:===
+
* Text-Link to file:
<nowiki>[[File:1910 Financial Chapter in the History of Bombay.pdf|page=50|360px]][[File:1910 Financial Chapter in the History of Bombay.pdf|page=51|360px]]</nowiki>
+
** Use "Media" for a text-link to the actual file. The link will not take you to the file description page, but instead will deliver the file itself.
  
[[File:1910 Financial Chapter in the History of Bombay.pdf|page=50|360px]][[File:1910 Financial Chapter in the History of Bombay.pdf|page=51|360px]]
+
[[Media:1910 Financial Chapter in the History of Bombay.pdf|1910 Financial Chapter in the History of Bombay.pdf]]
 
 
 
 
 
 
===Text-Link to file:===
 
(Use the pseudo-namespace "Media" for a text-link to the actual file. The link will not take you to the file description page, but instead will deliver the file itself.)
 
 
  <nowiki>[[Media:1910 Financial Chapter in the History of Bombay.pdf|1910 Financial Chapter in the History of Bombay.pdf]]</nowiki>
 
  <nowiki>[[Media:1910 Financial Chapter in the History of Bombay.pdf|1910 Financial Chapter in the History of Bombay.pdf]]</nowiki>
  
[[Media:1910 Financial Chapter in the History of Bombay.pdf|1910 Financial Chapter in the History of Bombay.pdf]]
+
* Link to file at page 2 (opens PDF at page2):
 
 
 
 
Link to file at page 2 (opens PDF at page2):<br>
 
 
https://bombaywiki.with.camp/w/images/3/39/1910_Financial_Chapter_in_the_History_of_Bombay.pdf#page=2
 
https://bombaywiki.with.camp/w/images/3/39/1910_Financial_Chapter_in_the_History_of_Bombay.pdf#page=2
 
  <nowiki>https://bombaywiki.with.camp/w/images/3/39/1910_Financial_Chapter_in_the_History_of_Bombay.pdf#page=2</nowiki>
 
  <nowiki>https://bombaywiki.with.camp/w/images/3/39/1910_Financial_Chapter_in_the_History_of_Bombay.pdf#page=2</nowiki>

Latest revision as of 21:27, 24 November 2017

PDF link and embed:

You can use all options that you would for an Image -- for example: thumb, right/left, caption, border, link, etc. See https://www.mediawiki.org/wiki/Help:Images for details on options.

  • Example: Preview page 2, width 240px, links to file description page:

For PDF file: 1910 Financial Chapter in the History of Bombay.pdf
1910 Financial Chapter in the History of Bombay.pdf

Syntax: [[File:1910 Financial Chapter in the History of Bombay.pdf|page=2|240px]]
  • Example: Preview page 2, width 360px, links directly to PDFs page 2:

Get the direct link to file by clicking on the preview in file description page and then copy url.
1910 Financial Chapter in the History of Bombay.pdf

[[File:1910 Financial Chapter in the History of Bombay.pdf|page=2|360px|link=https://bombaywiki.with.camp/w/images/3/39/1910_Financial_Chapter_in_the_History_of_Bombay.pdf#page=2]]
  • Text-Link to file:
    • Use "Media" for a text-link to the actual file. The link will not take you to the file description page, but instead will deliver the file itself.

1910 Financial Chapter in the History of Bombay.pdf

[[Media:1910 Financial Chapter in the History of Bombay.pdf|1910 Financial Chapter in the History of Bombay.pdf]]
  • Link to file at page 2 (opens PDF at page2):

https://bombaywiki.with.camp/w/images/3/39/1910_Financial_Chapter_in_the_History_of_Bombay.pdf#page=2

https://bombaywiki.with.camp/w/images/3/39/1910_Financial_Chapter_in_the_History_of_Bombay.pdf#page=2