Jump to content

User:Pi zero/Archives/search/topics/doc

From Wikinews, the free news source you can write!

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}}.