Difference between revisions of "Template:Article card vertical"
Jump to navigation
Jump to search
blackwiki>Weegaweek (←Created page with '<div style="margin-top: 10px; margin-bottom: 10px; background-color: white; box-shadow: 0px 20px 40px -30px black; max-width: {{{width|400px}}}; max-height: {{{h...') |
blackwiki>Weegaweek |
||
| Line 1: | Line 1: | ||
<div 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 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}}}|link= {{{article|wikipedia}}}]] | + | [[file:{{{image|Wikipedia-logo-v2.svg}}}|{{{width|400px}}}|left|link= {{{article|wikipedia}}}]] |
<div style="padding: 10px; padding-top: 3px; padding-bottom: 5px; border-top: 1px solid #999; position:absolute; bottom: 0; background-color: white; width: 100%; box-sizing: border-box; max-height: 50%; overflow: scroll;"> | <div style="padding: 10px; padding-top: 3px; padding-bottom: 5px; border-top: 1px solid #999; position:absolute; bottom: 0; background-color: white; width: 100%; box-sizing: border-box; max-height: 50%; overflow: scroll;"> | ||
[[{{{article|wikipedia}}}|<span style="font-family: serif; color: black; text-decoration: underline; text-decoration-color: white;"><strong>{{{article|<em>{{{aticle}}}</em> Wikipedia}}}</strong></span>]] | [[{{{article|wikipedia}}}|<span style="font-family: serif; color: black; text-decoration: underline; text-decoration-color: white;"><strong>{{{article|<em>{{{aticle}}}</em> Wikipedia}}}</strong></span>]] | ||
Revision as of 15:07, 28 September 2018
File:Test Template Info-Icon - Version (2).svg Template documentation[view] [edit] [history] [purge]
Script error: No such module "Uses TemplateStyles".
Contents
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:
| The above documentation is transcluded from Template:Article card vertical/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |