Help:Embedding wikilogs

It is possible to embed a list of wikilog articles in other wiki pages. Any listing that may be generated by Special:Wikilog can also be embedded like a template in other wiki pages.

This has many interesting uses:


 * In the front page of the wiki, a list of the latest wikilog articles.
 * In users pages, a list of that user's wikilog articles in all wikilogs.

Simple embedding
Simple embedding is possible by adding Special:Wikilog as a template call to any wiki page. The syntax is very similar to simple wiki link, except that  brackets are replaced by   braces.

For example, to embed a list of the last five articles from all wikilogs filled in the History category in the current page, this markup must be added:

 

Articles are formatted like in Special:Wikilog page itself, except that the query form isn't shown and no navigation links are provided, only the last articles are listed.

When including or embedding a list of wikilog articles in another page, it may be desired to have the articles presented in a different format, more visually suitable for the page it is being embedded to. In this case, templated embedding is possible.

Templated embedding
By providing a template name to Special:Wikilog, the article listing will be formatted according to the provided template. Wikilog loads the template and expands it once for each article, filling its parameters with data from the articles.

For example, to embed a list of wikilog articles from the user John Smith using the template WikilogTempl1:

The following parameters are provided to the template: