Difference between revisions of "Template:Article card vertical"

From blackwiki
Jump to navigation Jump to search
blackwiki>Weegaweek
blackwiki>Weegaweek
(transcludes lead of article if there is no description)
Line 5: Line 5:
 
[[{{{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>]]
 
<br />
 
<br />
[[{{{article|Wikipedia}}}|<span style="color: #333; text-decoration: underline; text-decoration-color: white;">{{small|{{{description|<em>{{{description}}}</em> Lorem ipsum dolor sit amet, consectetur adipiscing elit. Proin ut mattis neque, id ornare purus. Etiam maximus mauris magna, ut tincidunt arcu tempor molestie. Nulla arcu urna, sollicitudin eget mi vitae, euismod bibendum ipsum. Donec posuere molestie velit.}}}}}</span>]]
+
{{#if:{{{description|}}}
 +
|[[{{{article|Wikipedia}}}|<span style="color: #333; text-decoration: underline; text-decoration-color: white;">{{small|{{{description|<em>{{{description}}}</em> Lorem ipsum dolor sit amet, consectetur adipiscing elit. Proin ut mattis neque, id ornare purus. Etiam maximus mauris magna, ut tincidunt arcu tempor molestie. Nulla arcu urna, sollicitudin eget mi vitae, euismod bibendum ipsum. Donec posuere molestie velit.}}}}}</span>]]
 +
|<span style="color: #333; text-decoration: underline; text-decoration-color: white;">{{small|{{Transclude lead excerpt|{{{article|Wikipedia}}}|paragraphs= 1}}}}</span>
 +
}}
 
</div>
 
</div>
 
</div><noinclude>{{documentation}}</noinclude>
 
</div><noinclude>{{documentation}}</noinclude>

Revision as of 17:56, 28 September 2018

Page Template:Article card vertical/style.css has no content.

Template documentation[view] [edit] [history] [purge]

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: Page Template:Article card vertical/style.css has no content.