Template:PdfLayout

From Organic Design wiki
Info.svg This template is used to allow images to render nicely for both HTML and PDF output. The problem is that PDF doesn't account for CSS, so having at image at the right for text to flow around needs to be done with an HTML table for PDF, but is best using the "right" parameter in an image tag if not PDF.


Usage:

{{PdfLayout|foo.jpg[|caption=Foo image caption][|size=??px]
|Content that goes into the table (or not depending on action=pdfbook)
}}