Difference between revisions of "Template:PdfLayout"
From Organic Design wiki
m |
m |
||
Line 9: | Line 9: | ||
<includeonly>{{#ifeq:{{#request:action}}|pdfbook| | <includeonly>{{#ifeq:{{#request:action}}|pdfbook| | ||
<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}}}<br></td> |
<td> </td><td valign=top align=center> | <td> </td><td valign=top align=center> | ||
[[Image:{{{1}}}|{{{size|}}}]]{{#if:{{{caption|}}}|<br><br>''{{{caption}}}''}} | [[Image:{{{1}}}|{{{size|}}}]]{{#if:{{{caption|}}}|<br><br>''{{{caption}}}''}} | ||
</td> | </td> | ||
</tr> | </tr> | ||
− | </table | + | </table> |
| | | | ||
<div style=float:right> | <div style=float:right> |
Revision as of 12:01, 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) }}