Template:UI/latest posts/entry

From Miniscope
Jump to: navigation, search

Card partial for Template:UI/latest_posts. Invoked via SMW format=template with named args=yes, so each call receives the post's title in {{{Page}}} plus the projected printouts as named args.

Args:

  • Page — full title of the post page (from the parent
 #ask's mainlabel=Page).
  • Date — projected from ?Has date; the
 human-readable date string.
  • Description — projected from ?Has description;
 optional, line-clamped to 2 lines on this compact card.
  • Image — projected from ?Has card image;
 optional. When empty, the image area falls back to a flat gradient
 block (see styles.css).

Deliberately leaner than Template:UI/posts_library/entry — no author line — because this is the small landing-page surface where the teaser does the work; the full directory card carries author.