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/Selected project/Layout"

From Appropedia
Jump to navigation Jump to search
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
<!--  <div class="selected-image" style="border:{{{border|4}}}px solid #c1e8c1; background-color: #f1f4f1; float:left; width:{{#if:{{{size}}}|{{{size|300px}}}|300px}}; display:inline-block; margin:0 1rem 1rem 0;;">
+
{{#if:{{{image}}}|<div class="selected-image" style="width:100%; text-align:center;" border:{{{border|0}}}px solid #c1e8c1; margin: 1rem 0;">[[Image:{{{image}}}|{{#if:{{{size}}}|{{{size|300px}}}|300px}}|{{{caption}}}]]</div>}}<div class="text">{{{caption}}}
    [[Image:{{{image}}}|center| {{#if:{{{size}}}|{{{size|300x300px}}}|300x300px}} |{{{link}}} | link={{{link}}}]]
 
  </div> -->
 
  
{{#if:{{{image}}}|<div class="selected-image" style="width:100%; text-align:center;" border:{{{border|0}}}px solid #c1e8c1; margin: 1rem 0;">[[Image:{{{image}}}|{{#if:{{{size}}}|{{{size|300px}}}|300px}}|{{{caption}}}]]</div>}}<div class="text">{{{caption}}} [[{{{link}}}|Read more]] or [[Book:Highlighted Appropedia projects|'''check our book''']]</div>
+
[[{{{link}}}|Read more]] or [[Book:Highlighted Appropedia projects|'''check our book''']]</div>
 
<noinclude>
 
<noinclude>
  

Latest revision as of 18:32, 31 March 2020

[[Image:{{{image}}}|300px|{{{caption}}}]]
{{{caption}}} [[{{{link}}}|Read more]] or check our book


Layout template

{{:Welcome to Appropedia/Selected project/Layout
|image  = 
|size   = 
|caption= 
|link   = 
|archive={{{archive|:Welcome to Appropedia/Selected project}}}
}}

{{:Welcome to Appropedia/Selected project/Layout
|image  = <image to be linked>
|size   = <size of the image, optional> default=250
|caption= <caption of the image>
|link   = <page the image must link to>
|archive={{{archive|:Welcome to Appropedia/Selected project}}} <allows linking from different archive pages, see below>
}}

example of archive parameter usage
{{:Welcome to Appropedia/Selected project/1|archive=Portal:Solar/Selected project}}