Template:Category/Workshop logistics/linklist

From Miniscope
Jump to: navigation, search

Renders a multi-valued URL property as a middot-separated run of external links, for Template:Category/Workshop logistics.

Dispatcher parameters arrive as raw form values, so a multi-valued URL property is one comma-separated string. This arraymaps it into [url label ↗] links. Emits nothing when value is empty, so callers can pass an unset property straight through.

Every link gets the same label, which reads fine for the one- and two-value cases these fields actually see (a campus directions page plus a conference-centre page; a repository plus its install guide). If a field ever needs per-link labels, that is the point to promote it to a subobject rather than to widen this helper.

A URL containing a literal comma is split by the arraymap — the same constraint |+sep=, already imposes on multi-valued URL properties wiki-wide. Percent-encode it as %2C.

Parameters:

  • value — comma-separated URLs
  • label — link text for each URL (default: Open)