User:Pi zero/Archives/search/topics

From Wikinews, the free news source you can write!
Jump to navigation Jump to search

Topics

Click "►" to expand, "[s]" to select:

News articles by section
[edit] Documentation

Usage

[edit]

This subtemplate of {{User:Pi zero/Archives/search}} provides the topics area of User:Pi zero/Archives. It presents an expandable tree of categories descending from Category:News articles by section. It takes two optional parameters:

  • ctree, a wikilisp data structure describing the known category hierarchy, of which the tree presented here is the first branch. If blank or omitted, defaults to an unexpanded branch on the category.
  • active, which if non-blank indicates that the page is being viewed through dialog action. If blank or omitted, expansion/contraction of the tree causes the page to anchor on the Topics section; this is done because when the page isn't being viewed through dialog, clicking on any of these links loses position on the page.

Uses {{User:Pi zero/Archives/show tree}}.