Difference between revisions of "Template:Article card/doc"
Jump to navigation
Jump to search
blackwiki>John Cline (ce, add lang="text" to correct <syntaxhighlight> parsing error) |
blackwiki>Pppery (Adding CSS box) |
||
| Line 1: | Line 1: | ||
{{Documentation subpage}} | {{Documentation subpage}} | ||
| + | {{uses TemplateStyles|Template:Article card/styles.css}} | ||
<!-- Please place categories where indicated at the bottom of this page and interwikis at Wikidata (see [[Wikipedia:Wikidata]]) --> | <!-- Please place categories where indicated at the bottom of this page and interwikis at Wikidata (see [[Wikipedia:Wikidata]]) --> | ||
== About == | == About == | ||
Revision as of 21:47, 4 March 2019
| This is a documentation subpage for Template:Article card. It contains usage information, categories and other content that is not part of the original template page. |
Script error: No such module "Uses TemplateStyles".
Contents
About
This template is an alternative to {{Article card vertical}}
Intended use
This template is intended for use on Portals. It creates a modern looking "card" linking to an article with a description and an image.
Parameters
| Parameter | Use | Notes |
|---|---|---|
| image | Specify the name of the image related to the article. |
|
| article | Specify the article you are linking to. | |
| description | Text shown under the article name. |
|
| width | Specify the width of the box. | not necessary |
Example
{{article card
| article= Ward Cunningham
| description= Howard G. "Ward" Cunningham (born May 26, 1949) is an American computer programmer who developed the first wiki.
| image= Ward_Cunningham_-_Commons-1.jpg
}}
produces:
