We continue to develop resources related to the COVID-19 pandemic. See COVID-19 initiatives on Appropedia for more information.

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

From Appropedia
Jump to navigation Jump to search
(started page)
 
(margin-right)
 
(6 intermediate revisions by the same user not shown)
Line 1: Line 1:
<div style="float:left;margin-right:1em">[[File:{{{file}}}|{{#if:{{{size}}}|{{{size|150x120px}}}|150x120px}}|link={{{link}}}|{{{caption}}}]]</div>
+
<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>
<noinclude>
+
<br clear=all>
  
 
== Layout template ==
 
== Layout template ==
 
<pre>
 
<pre>
{{Welcome to Appropedia/Intro/Image/Layout
+
{{: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=
 
   |file=
 
   |size=
 
   |size=
Line 10: Line 12:
 
   |caption=
 
   |caption=
 
}}
 
}}
 +
 +
example of archive parameter usage
 +
{{:Welcome to Appropedia/Intro/Image/1|float=right|margin=left}}
 
</pre>
 
</pre>
 
  
 
[[Category:Welcome to Appropedia|{{SUBPAGENAME}}]]
 
[[Category:Welcome to Appropedia|{{SUBPAGENAME}}]]
 
</noinclude>
 
</noinclude>

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}}