Jump to content

Template:Knowledge

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

Template:Knowledge

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

Use a format-specific wrapper template (e.g., Template:Summary), 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.
  • Knowledge Format: The format of the entry (e.g., Guide). Must be a link to the format's page.
  • Author: The author of the original work, if applicable.
  • Original Title: The title of the original work being summarized.
  • Original Source: The source type (Book, Article, etc.), from a controlled list.
  • URL: An external link related to the content.
  • 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 article, passed in from a format-specific template.