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
(copyedit)
(float & archive parameters)
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-right:1em">[[File:{{{file}}}|{{#if:{{{size}}}|{{{size|150x120px}}}|150x120px}}|link={{{link}}}|{{{caption}}}]]</div>
 
<noinclude>
 
<noinclude>
  
Line 5: Line 5:
 
<pre>
 
<pre>
 
{{:Welcome to Appropedia/Intro/Image/Layout
 
{{:Welcome to Appropedia/Intro/Image/Layout
 +
  |float=
 
   |file=
 
   |file=
 
   |size=
 
   |size=
 
   |link=
 
   |link=
 
   |caption=
 
   |caption=
 +
  |archive={{{archive|Welcome to Appropedia/Selected page}}} <allows linking from different archive pages, see below>
 
}}
 
}}
 +
 +
example of archive parameter usage
 +
{{:Welcome to Appropedia/Intro/Image/1|archive=Portal:Service learning/Intro/Image}}
 
</pre>
 
</pre>
 
  
 
[[Category:Welcome to Appropedia|{{SUBPAGENAME}}]]
 
[[Category:Welcome to Appropedia|{{SUBPAGENAME}}]]
 
</noinclude>
 
</noinclude>

Revision as of 18:58, 27 June 2012

[[File:{{{file}}}|150x120px|link={{{link}}}|{{{caption}}}]]


Layout template

{{:Welcome to Appropedia/Intro/Image/Layout
  |float=
  |file=
  |size=
  |link=
  |caption=
  |archive={{{archive|Welcome to Appropedia/Selected page}}} <allows linking from different archive pages, see below>
}}

example of archive parameter usage
{{:Welcome to Appropedia/Intro/Image/1|archive=Portal:Service learning/Intro/Image}}