• Home
  • Random
  • Recent changes
  • Special pages
  • Settings
  • About MOASSpedia
  • Disclaimers
MOASSpedia
  • 216.73.216.55
  • Talk
  • Watchlist
  • Contributions
  • Log in

Template:Article card

Template Discussion
  • Language
  • Watch
  • History
  • Edit
    • Page information
    • Permanent link
    • What links here
Wikipedia-logo-v2.svg

{{{article}}} Wikipedia

Template documentation[view] [edit] [history] [purge]
CSSThis template uses TemplateStyles:
  • Template:Article card/styles.css

Contents

  • 1 About
  • 2 Intended use
  • 3 Parameters
  • 4 Example

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.
  • Do not add the "File:" prefix.
  • Will not display on mobile.
  • Setting to "none" will hide image on desktop.
article Specify the article you are linking to.
description Text shown under the article name.
  • Will scroll if there is to much text.
  • Do not include links in description!.
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:

Ward Cunningham - Commons-1.jpg

Ward Cunningham
Howard G. "Ward" Cunningham (born May 26, 1949) is an American computer programmer who developed the first wiki.

View More Examples

The above documentation is transcluded from Template:Article card/doc. (edit | history)
Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages.
Add categories to the /doc subpage. Subpages of this template.
Retrieved from "https://moasspedia.org/w/index.php?title=Template:Article_card&oldid=5284"
Categories:
  • Pages using small with an empty input parameter
  • Templates using TemplateStyles
Last edited on 7 July 2021, at 09:34

MOASSpedia

Content is available under Creative Commons Attribution-ShareAlike unless otherwise noted.
  • This page was last edited on 7 July 2021, at 09:34.
  • Content is available under Creative Commons Attribution-ShareAlike unless otherwise noted.
  • Privacy policy
  • About MOASSpedia
  • Disclaimers
  • Desktop