Jump to content

Template:Resource

From WYOS Wiki
Revision as of 05:26, 20 September 2025 by Admin (talk | contribs)

Template:Resource

This is the MASTER template for all Resource section entries. It should NOT be called directly. This template handles the infobox display and assigns all shared semantic properties.

Use a type-specific wrapper template (e.g., Template:Book, Template:App), which will call this one and provide the necessary data.

Parameters

  • Image: The filename of the main image (e.g., "My_Awesome_Image.jpg").
  • Display Title: The primary title shown to users.
  • Subtitle: The secondary title or tagline.
  • Resource Type: The type of the resource (e.g., Book). Must be a link to the type page.
  • Author: The author or creator of the resource (e.g., for books, courses).
  • URL: The primary external link for the resource.
  • Topic Tags: A comma-separated list of links to topic pages (e.g., Habits, Deep Work). This is critical for discovery.
  • Status: The publication status (Published, Draft, Archived). Defaults to "Published".
  • Is Featured: A "yes" or "no" flag to feature the content. Defaults to "no".
  • Description: The short summary used on content cards.
  • Content: This parameter is reserved for the main body of the resource description, passed in from a type-specific template.