Difference between revisions of "Template:PdfLayout"
From Organic Design wiki
m |
(REQUEST not #request) |
||
(2 intermediate revisions by the same user not shown) | |||
Line 7: | Line 7: | ||
</pre> | </pre> | ||
</noinclude> | </noinclude> | ||
− | <includeonly>{{#ifeq:{{ | + | <includeonly>{{#ifeq:{{REQUEST:action}}|pdfbook| |
<table cellpadding=0 cellspacing=0> | <table cellpadding=0 cellspacing=0> | ||
− | <tr><td width=100% valign=top>{{{2}}} | + | <tr><td width=100% valign=top>{{{2}}}</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> | ||
+ | <tr><td> </td></tr> | ||
</table> | </table> | ||
| | | |
Latest revision as of 02:38, 19 June 2009
Usage:
{{PdfLayout|foo.jpg[|caption=Foo image caption][|size=??px] |Content that goes into the table (or not depending on action=pdfbook) }}