Template:Category/Workshop admin link/row

From Miniscope
Jump to: navigation, search

Per-row renderer for Template:Category/Workshop admin link. Do not transclude directly.

SMW's format=template calls this once per subobject. Named-arg params come from the outer #ask:

  • TypeHas link type, from the fixed vocabulary
  • UrlHas link url, may be empty
  • NoteHas description, may be empty

Three columns rather than two. The Go column is a bare Open ↗ rather than the URL itself: a Google Forms edit link runs past 100 characters, and ten of them stacked in a column make the table unreadable while telling you nothing the Link column hasn't already said. Hover or right-click to get the target.

An empty Url prints a red not yet instead of an empty cell. An empty cell reads as a rendering fault; a labelled gap reads as a task, which is what it is. The colour is the same red the setup dashboard uses for a missing page, so the two surfaces agree on what red means.

link=none on the outer query matters here: without it a URL-typed value comes back already wrapped as a rendered external link, and nesting that inside [{{{Url}}} Open ↗] produces literal bracket text.