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
Line 1: Line 1:
 
<div style="width: 100%;">
 
<div style="width: 100%;">
   <div style="border:{{{border|4}}}px solid #c1e8c1; background-color: #f1f4f1; width: {{#if:{{{size}}}|{{{size|300px}}}|300px}}; margin:0 auto;">
+
   <div 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;;">
 
     [[Image:{{{image}}}|center| {{#if:{{{size}}}|{{{size|300x300px}}}|300x300px}} |{{{link}}} | link={{{link}}}]]
 
     [[Image:{{{image}}}|center| {{#if:{{{size}}}|{{{size|300x300px}}}|300x300px}} |{{{link}}} | link={{{link}}}]]
 
   </div>
 
   </div>

Revision as of 18:22, 28 March 2020

   [[Image:{{{image}}}|center| 300x300px |{{{link}}} | link={{{link}}}]]

{{{caption}}}

[[{{{link}}}|Read more...]]

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