Difference between revisions of "Template:Article card vertical"

From blackwiki
Jump to navigation Jump to search
blackwiki>Weegaweek
blackwiki>Pppery
(CSS page renamed)
Line 1: Line 1:
<templatestyles src="Article card vertical/style.css" />
+
<templatestyles src="Article card vertical/styles.css" />
 
<div class="articlecard" style="margin-top: 10px; margin-bottom: 10px; background-color: white; box-shadow: 0px 20px 40px -30px black; max-width: {{{width|400px}}}; max-height: {{{height|300px}}}; overflow: hidden; position: relative; border: 0.5px solid #999; border-radius: 8px; position: relative;">
 
<div class="articlecard" style="margin-top: 10px; margin-bottom: 10px; background-color: white; box-shadow: 0px 20px 40px -30px black; max-width: {{{width|400px}}}; max-height: {{{height|300px}}}; overflow: hidden; position: relative; border: 0.5px solid #999; border-radius: 8px; position: relative;">
 
[[file:{{{image|Wikipedia-logo-v2.svg}}}|{{{width|400px}}}|left|link= {{{article|wikipedia}}}]]
 
[[file:{{{image|Wikipedia-logo-v2.svg}}}|{{{width|400px}}}|left|link= {{{article|wikipedia}}}]]

Revision as of 22:40, 4 March 2019

Script error: No such module "Uses TemplateStyles".

About

This template is an alternative version of {{Article card}}

Intended use

This template is intended to be used on portals. It creates a modern looking "card" with a link to an article, a description, and an image.

Parameters

Parameter Use Note
Article specify the article you are linking to
Description give a summary of the content Do not include links in description!
Image Specify the image related to the article Do not ad the "File:" prefix.
Width width of the card optional
Height height of the card optional

Example

{{Template:Article card vertical
| article= Ward Cunningham
| image= Ward Cunningham 1.jpg
| description= Howard G. "Ward" Cunningham (born May 26, 1949) is an American computer programmer who developed the first wiki.
}}

produces: