Jump to content
Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Related-records section for the record pages (Template:NewsItem, Template:ResearchItem). Exists so the #ask can live at the top level of a template: an ask nested directly inside #if with <nowiki>|</nowiki>-escaped pipes reaches SMW as a single unsplit argument and fails with "The query description has an empty condition", so the record templates instead call this with pipe-free parameters. Parameters: q (the ask conditions), dateprop / titleprop (printout property names; dateprop also sorts), label (section heading), limit (default 6). Renders rows via Template:RecordRow, which skips the rendering page itself. Outputs nothing unless the query finds a record other than the rendering page (the count includes the page itself, which Template:RecordRow skips). The classes inside intro use single hyphens only: SMW turns an underscore there into a space, so a __ class name never reaches the page. Styled by Template:Record/styles.css.