Difference between revisions of "Template:PdfLayout"
From Organic Design wiki
(bugger can't put size param in :-() |
|||
Line 12: | Line 12: | ||
<table cellpadding=0 cellspacing=0> | <table cellpadding=0 cellspacing=0> | ||
<tr><td width=100% valign=top>{{{2}}}</td> | <tr><td width=100% valign=top>{{{2}}}</td> | ||
− | <td valign=top align=center>[[Image:{{{1}}}]]{{#if:{{{caption|}}}|<br>''{{{caption}}}''}}</td> | + | <td valign=top align=center>[[Image:{{{1}}}|{{{size|}}}]]{{#if:{{{caption|}}}|<br>''{{{caption}}}''}}</td> |
</tr> | </tr> | ||
</table> | </table> | ||
| | | | ||
− | [[Image:{{{1}}}|right]]{{#if:{{{caption|}}}|<br>''{{{caption}}}''}} | + | [[Image:{{{1}}}|right|{{{size|}}}]]{{#if:{{{caption|}}}|<br>''{{{caption}}}''}} |
{{{2}}} | {{{2}}} | ||
}}</includeonly> | }}</includeonly> |
Revision as of 00:09, 12 November 2008
Usage:
{{PdfLayout|foo.jpg [|caption=Foo image caption] [|size=??px] |Content that goes into the table (or not depending on action=pdfbook) }}