Template:Main Page picture/Layout: Difference between revisions

From 'City of Adelaide' History and Genealogy Site
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}}}|[[Image:{{{image}}}|center|{{#if:{{{size}}}|{{{size|300px}}}|300px}}|{{{caption}}}]] }}
{| 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|}}"
{| class="noprint" width="100%" border="0" style="padding: 0; margin: 0; background-color:transparent"
|{{#ifexpr: {{{size|300}}} < 400|style="padding:0 0.9em 0 0;"|}}|
|width="33%"| <center> <small>{{#if:{{{credit}}}|Credit: {{{credit}}}|}}</small> </center>
|-
|{{#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 >
|}
|}
{{{text}}}
<noinclude>
{| class="noprint" width="100%"  border="0" style="padding: 0; margin: 0; background-color:transparent"
 
|-
| width="33%"| <div style="text-align:left;">'''[[Portal:Passengers/Selected picture|More selected pictures...]]'''</div> ||
<div style="text-align:right;margin-right:10px;margin-bottom:4px;">
'''[[{{{link}}}|Read more...]]'''
</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

{{{caption}}}
{{{text}}}

[[{{{link}}}|Read more...]]
More selected pictures...


Layout template

{{Portal:Passengers/Selected picture/Layout
  |image=
  |size=
  |caption=
  |text=
  |credit=
  |link=
}}