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
(Trying it with "..Archive/Nominations" link unbolded - to put relatively more emphasis on the bolded "Read more..." link)
(9 intermediate revisions by the same user not shown)
Line 1: Line 1:
<div style="width: 100%;">
+
  <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;;">
<div style="border:{{{border|1}}}px solid silver; background-color: #F5FFF5; box-shadow: 2px 2px 1px #888888; width: {{#if:{{{size}}}|{{{size|300px}}}|300px}}; margin:0 auto; padding: 3px;" >
+
    [[Image:{{{image}}}|center| {{#if:{{{size}}}|{{{size|300x300px}}}|300x300px}} |{{{link}}} | link={{{link}}}]]
 
+
  </div>
[[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"
 
{| class="noprint" width="100%" border="0" style="padding: 0; margin: 0; background-color:transparent"
Line 10: Line 9:
 
{| class="noprint" width="100%"  border="0" style="padding: 0; margin: 0; background-color:transparent"
 
{| 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:left;">[[{{{archive|Welcome to Appropedia/Selected project}}}|...Archive/Nominations]]</div>
<div style="text-align:right;margin-right:10px;margin-bottom:0px;">
+
| width="33%"| <div style="text-align:center;">[[Book:Highlighted Appropedia projects|'''Our book''']]</div>
'''[[{{{link}}}|Read more...]]'''
+
| width="33%"| <div style="text-align:right;margin-right:10px;margin-bottom:0px;">[[{{{link}}}|Read more...]]</div >
</div >
 
 
|}<noinclude>
 
|}<noinclude>
  

Revision as of 18:32, 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}}