Jump to content

Template:Proposal/doc

From glossaLAB

Description

Template used to declare work-in-progress articles related to glossaLAB.edu clarification activities. This template:

  • Handles semantic data storage for authors and metadata.
  • Sets the page language dynamically, based on parent Clarus activity.
  • Renders a standardized infobox.
  • If PAGENAME/Pending improvements page exists, transcludes its contents in a textbox at the beginning of the page.

Usage

Place the following code at the top of the proposal page:

{{Proposal
| Created from clarus     = 
| Has author              = 
| Was created on date     = 
| Has publication status  = 
}}

Parameters

Parameter Description Type SMW Property
Created from clarus Source identifier from the Clarus system. Used to look up the page language. Page Property:Created from clarus
Has author The username(s) of the author(s). Supports multiple values separated by // string. Text/User Property:Has author username
Was created on date Date the proposal was created. Date Property:Was created on date
Has publication status Current status of the document (e.g., Draft, Final). Text Property:Has publication status

Technical Logic

  • Semantic Transformation: The template stores raw input in Has author username, then uses {{#arraymap}} to convert those strings into User-namespace links for Property:Has author.
  • Language Handling: Uses en to set the BCP47 code based on a lookup of the Clarus source page.
  • Dependencies:

Tracking


This website only uses its own cookies for technical purposes; it does not collect or transfer users' personal data without their knowledge. However, it contains links to third-party websites with third-party privacy policies, which you can accept or reject when you access them.