Saltar para o conteúdo


Origem: Wikilivros, livros abertos por um mundo aberto.

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:
  • 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:Commons:Discussion index and commons:Commons:Administrators' discussion index.