Get our free book (in Spanish or English) on rainwater now - To Catch the Rain.

Difference between revisions of "Welcome to Appropedia/Intro/Image/Layout"

From Appropedia
Jump to navigation Jump to search
(margin parameter)
(margin-right)
 
Line 1: Line 1:
<div style="float:{{#if:{{{float}}}|{{{float|left}}}|left}};{{#if:{{{margin}}}|{{{margin|margin-right}}}|margin-right}}:1em">[[File:{{{file}}}|{{#if:{{{size}}}|{{{size|160x120px}}}|160x120px}}|link={{{link}}}|{{{caption}}}]]<center>'''[[{{{link}}}|Read about...]]'''</center></div><noinclude>
+
<div style="float:{{#if:{{{float}}}|{{{float|left}}}|left}};margin-{{#if:{{{margin}}}|{{{margin|right}}}|right}}:1em">[[File:{{{file}}}|{{#if:{{{size}}}|{{{size|160x120px}}}|160x120px}}|link={{{link}}}|{{{caption}}}]]<center>'''[[{{{link}}}|Read about...]]'''</center></div><noinclude>
 
<br clear=all>
 
<br clear=all>
  

Latest revision as of 14:17, 28 June 2012

[[File:{{{file}}}|160x120px|link={{{link}}}|{{{caption}}}]]
[[{{{link}}}|Read about...]]


Layout template[edit]

{{:Welcome to Appropedia/Intro/Image/Layout
  |float={{{float|left}}}    <allows transclustions to float left, right or center, see below>
  |margin={{{margin|right}}} <allows margins to be left or right, see below>
  |file=
  |size=
  |link=
  |caption=
}}

example of archive parameter usage
{{:Welcome to Appropedia/Intro/Image/1|float=right|margin=left}}