From electowiki

Template:Book is a MediaWiki template. To edit the examples below, visit Template:Book/en.

Examples[edit | edit source]

Example One[edit | edit source]

This is an example for using "Template:Book"

* {{Book
|author=Daniel J. Barrett
|comment=available to borrow from OpenLibrary.org

Result One[edit | edit source]

Example Two[edit | edit source]

It's even possible to use this template on a single line of wikitext:

* {{Book|title=MediaWiki|author=Daniel J. Barrett}}

Result Two[edit | edit source]

  • MediaWiki (timeless) by Daniel J. Barrett (<FIXME>, )

Leaving parameters out (as above) will just cause the resulting text to look a little weird. But it's a wiki; things often look weird.

Example Three[edit | edit source]

This template is "forgiving". It's possible to leave all of the parameters off:

* {{Book}}

Result Three[edit | edit source]

  • some silly book (timeless) by someone (<FIXME>, )

When the "title" parameter is omitted, some filler text (e.g. "some silly book") is inserted. When the "author" parameter is omitted, different filler text is inserted.