Difference between revisions of "Template:PdfLayout"
From Organic Design wiki
m |
(REQUEST not #request) |
||
(19 intermediate revisions by the same user not shown) | |||
Line 2: | Line 2: | ||
<br>'''Usage:''' | <br>'''Usage:''' | ||
<pre> | <pre> | ||
− | {{PdfLayout|foo.jpg|Foo image caption| | + | {{PdfLayout|foo.jpg[|caption=Foo image caption][|size=??px] |
− | Content that goes into the table | + | |Content that goes into the table (or not depending on action=pdfbook) |
}} | }} | ||
</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>{{{ | + | <tr><td width=100% valign=top>{{{2}}}</td> |
+ | <td> </td><td valign=top align=center> | ||
+ | [[Image:{{{1}}}|{{{size|}}}]]{{#if:{{{caption|}}}|<br><br>''{{{caption}}}''}} | ||
+ | </td> | ||
+ | </tr> | ||
+ | <tr><td> </td></tr> | ||
</table> | </table> | ||
| | | | ||
− | [[Image:{{{1}}}| | + | <div style=float:right> |
− | {{{ | + | <div style=text-align:center;padding-left:15px> |
+ | [[Image:{{{1}}}|{{{size|}}}]]{{#if:{{{caption|}}}|<div style=padding-top:4px>''{{{caption}}}''</div>}} | ||
+ | </div> | ||
+ | </div> | ||
+ | {{{2}}} | ||
}}</includeonly> | }}</includeonly> |
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) }}