Template:PDFCite/doc

From Toolkit.Socialnetwork.Health
Revision as of 07:59, 7 May 2024 by Admin (talk | contribs) (Created page with " <templatedata> { "params": { "file": { "label": "URL to the PDF file", "description": "A fully qualified URL to the PDF file.", "example": "https://domain.tld/filename.pdf", "type": "url", "required": true }, "citation": { "label": "Text of citation", "description": "The cited passage in plain text.", "type": "string", "required": true }, "page": { "label": "Page number", "description": "A number of page in the PDF file that c...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Inserts a link to the PDF file and ensures the highlighting of the provided citation on the given page.

Template parameters

ParameterDescriptionTypeStatus
URL to the PDF filefile

A fully qualified URL to the PDF file.

Example
https://domain.tld/filename.pdf
URLrequired
Text of citationcitation

The cited passage in plain text.

Stringrequired
Page numberpage

A number of page in the PDF file that contains the cited passage.

Numberrequired
Highlight colorcolor

The hex color code without a leading hash.

Example
FFEEDD
Stringoptional
Link texttext

no description

Default
PDF
Unbalanced wikitextrequired