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
 
(5 intermediate revisions by the same user not shown)
Line 1: Line 1:
<div style="width: 100%;">
+
{{#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}}}
  <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;;">
 
    [[Image:{{{image}}}|center| {{#if:{{{size}}}|{{{size|300x300px}}}|300x300px}} |{{{link}}} | link={{{link}}}]]
 
  </div>
 
</div>
 
  
{| class="noprint" width="100%" border="0" style="padding: 0; margin: 0; background-color:transparent"
+
[[{{{link}}}|Read more]] or [[Book:Highlighted Appropedia projects|'''check our book''']]</div>
|width="33%"| <!--<center> <small>Credit: {{{credit}}}</small> </center> -->
+
<noinclude>
|}
 
{{{caption}}}
 
{| class="noprint" width="100%"  border="0" style="padding: 0; margin: 0; background-color:transparent"
 
|-
 
| width="33%"| <div style="text-align:left;">[[{{{archive|Welcome to Appropedia/Selected project}}}|...Archive/Nominations]]</div>
 
| width="33%"| <div style="text-align:center;">[[Book:Highlighted Appropedia projects|'''Our book''']]</div>
 
| width="33%"| <div style="text-align:right;margin-right:10px;margin-bottom:0px;">[[{{{link}}}|Read more...]]</div >
 
|}<noinclude>
 
  
 
== Layout template ==
 
== Layout template ==

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