Difference between revisions of "Template:PdfLayout"

From Organic Design wiki
(width 100%)
Line 1: Line 1:
 
<noinclude>{{info|This template is used to allow images to render nicely for both HTML and PDF output}}</noinclude>
 
<noinclude>{{info|This template is used to allow images to render nicely for both HTML and PDF output}}</noinclude>
{{#ifeq:{{#request:action}}|pdfbook|
+
<includeonly>{{#ifeq:{{#request:action}}|pdfbook|
 
<table cellpadding=0 cellspacing=0>
 
<table cellpadding=0 cellspacing=0>
<tr><td valign=top>{{{3}}}</td><td valign=top align=center>[[Image:{{{1}}}]]{{#if:{{{2|}}}|<br>''{{{2}}}''}}</tr>
+
<tr><td width=100% valign=top>{{{3}}}</td><td valign=top align=center>[[Image:{{{1}}}]]{{#if:{{{2|}}}|<br>''{{{2}}}''}}</tr>
 
</table>
 
</table>
 
|
 
|
 
[[Image:{{{1}}}|right|caption={{{2}}}}}]]
 
[[Image:{{{1}}}|right|caption={{{2}}}}}]]
 
{{{3}}}
 
{{{3}}}
}}
+
}}</includeonly>

Revision as of 09:44, 10 November 2008

Info.svg This template is used to allow images to render nicely for both HTML and PDF output