Difference between revisions of "Template:PdfLayout"
From Organic Design wiki
(padding) |
(REQUEST not #request) |
||
(7 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}}}</td> | <tr><td width=100% valign=top>{{{2}}}</td> | ||
− | <td valign=top align=center>[[Image:{{{1}}}|{{{size|}}}]]{{#if:{{{caption|}}}|<br>''{{{caption}}}''}}</td> | + | <td> </td><td valign=top align=center> |
+ | [[Image:{{{1}}}|{{{size|}}}]]{{#if:{{{caption|}}}|<br><br>''{{{caption}}}''}} | ||
+ | </td> | ||
</tr> | </tr> | ||
+ | <tr><td> </td></tr> | ||
</table> | </table> | ||
| | | | ||
<div style=float:right> | <div style=float:right> | ||
− | <div style=text-align:center;padding: | + | <div style=text-align:center;padding-left:15px> |
[[Image:{{{1}}}|{{{size|}}}]]{{#if:{{{caption|}}}|<div style=padding-top:4px>''{{{caption}}}''</div>}} | [[Image:{{{1}}}|{{{size|}}}]]{{#if:{{{caption|}}}|<div style=padding-top:4px>''{{{caption}}}''</div>}} | ||
</div> | </div> |
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) }}