Template:Docalt PDF/doc: Difference between revisions

From LPedia
Jump to navigation Jump to search
No edit summary
No edit summary
Line 4: Line 4:


===1===
===1===
Your XPDF file
Your PDF file




Line 12: Line 12:


  <nowiki>
  <nowiki>
{| border=1 cellpadding=10 style="float:right; border-collapse:collapse; background-color:#e8e8f0; text-align:center;" </nowiki><br /><nowiki>|-</nowiki><nowiki>|THIS DOCUMENT IN OTHER FORMATS</nowiki><br/><nowiki><font size=+2>[[Media:{{{1}}}|XLS]]</font><br />|}</nowiki>
{| border=1 cellpadding=10 style="float:right; border-collapse:collapse; background-color:#e8e8f0; text-align:center;" </nowiki><br /><nowiki>|-</nowiki><nowiki>|THIS DOCUMENT IN OTHER FORMATS</nowiki><br/><nowiki><font size=+2>[[Media:{{{1}}}|PDF]]</font><br />|}</nowiki>


==Usage Notes==
==Usage Notes==

Revision as of 07:32, 5 September 2019

This template is used to show there is a PDF version of a document rendered in wikitext. The main article should always be in the Document: namespace.

Parameters

1

Your PDF file


Usage

Copy this text:

{| border=1 cellpadding=10 style="float:right; border-collapse:collapse; background-color:#e8e8f0; text-align:center;" 
|-|THIS DOCUMENT IN OTHER FORMATS
<font size=+2>[[Media:{{{1}}}|PDF]]</font><br />|}

Usage Notes

You do not need to include the "file" or "media" prefix when copying your file link as that is already included in the template. Also this infobox can overlap text on your page in which case you will need to place several line breaks after it until it clears your text.