Template:Main Page picture/Layout: Difference between revisions
Jump to navigation
Jump to search
(Created page with "{{#if:{{{image}}}|[[Image:{{{image}}}|center|{{#if:{{{size}}}|{{{size|300px}}}|300px}}|{{{caption}}}]] }} {| class="noprint" width="100%" border="0" style="padding: 0; margin:...") |
No edit summary |
||
(20 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
{{#if:{{{image}}}|[[ | {| margin:0 3px 3px; width:100%; text-align:{{#ifexpr: {{{size|300}}} >= 400|center|left}}; background-color:transparent; border-collapse: collapse; {{#ifexpr: {{{size|300}}} >= 400|padding:0.9em|}}" | ||
{| | |{{#ifexpr: {{{size|300}}} < 400|style="padding:0 0.9em 0 0;"|}}| | ||
|- | |||
|{{#if: {{{wide|}}} | |||
|{{wide image-noborder|{{{image|No-image.svg}}}|{{{size}}}px|4=550px|alt={{{alttext|{{{caption}}}}}} }} | |||
|{{#if: {{{tall|}}} | |||
|{{tall image|{{{image|No-image.svg}}}|300|alt={{{alttext|{{{caption}}}}}} }} | |||
|[[File:{{{image|No-image.svg}}}|{{{size|300}}}px {{ #if:{{{thumbtime|}}}| {{!}} thumbtime={{{thumbtime}}} }}|{{{alttext|{{{caption}}}}}} {{#if:{{{imagelink|}}}|{{!}}link=File:{{{imagelink}}}|}}]] | |||
}} | |||
}} | |||
| | |||
<!-- {{#ifexpr: {{{size|300}}} >= 400 | | |||
{{!}}- | |||
{{!}}| | |||
}} --> | |||
<div style="text-align:left;margin-left:10px;">{{{text}}}<br/><br/> | |||
{{#if:{{{credit|}}}|<small>Photo: {{{credit}}}</small>}}</div> | |||
<div style="text-align:right;margin-right:10px;margin-bottom:4px;"> | |||
'''[[{{{link}}}|Read more...]]'''<br/> | |||
'''[[Template:Main Page picture|More selected pictures...]]''' | |||
</div > | |||
|} | |} | ||
<noinclude> | |||
== Layout template == | == Layout template == | ||
Line 23: | Line 35: | ||
}} | }} | ||
</pre> | </pre> | ||
[[Category:Main page templates]] | |||
</noinclude> | </noinclude> |
Latest revision as of 21:01, 28 December 2013
![]() |
{{{text}}}
[[{{{link}}}|Read more...]] |
Layout template
{{Portal:Passengers/Selected picture/Layout |image= |size= |caption= |text= |credit= |link= }}