User:BryanBot/DiscussionIndex

From Wikimedia Commons, the free media repository
Jump to navigation Jump to search

To create your own DiscussionIndex, do the following:

  • Choose a page where the index will reside, and select the pages you want to index.
  • Add somewhere on that page the following configuration template:
{{User:BryanBot/DiscussionIndex
|template=User:BryanBot/DiscussionIndex/Item
|page=...|level=...
|page=...|level=...
}}
  • You can add up to 25 pages. The level paramater, is the header level of the page. Standard is 2 (==), but also 3 (===) is common.
  • Put on the page somewhere where you want to show the index the following code: <!--discussion index--><!--discussion index-->.
  • You can customize the item template, by creating your own version of User:BryanBot/DiscussionIndex/Item and specifying that as template parameter.
  • The index will be three-hourly updated.

See for examples Commons:Discussion index and Commons:Administrators' discussion index.