Template:Book

From Stoneshard wiki
Jump to navigation Jump to search
Template-info.png Documentation

This is treatise template created for use together with the Template:Tooltip hover box template on a specific Books & Notes page or Treatises page.

Usage

The book's data is loaded from Book data. This syntax provides the tooltip look and content loaded via the {{Book}} template. Use on pages is combined with float CSS, positioning the result to the right.

<div style="float: right">{{ {{{1|Tooltip hover box}}}|title= {{Book}}}}</div>

By default the page name is used as the book name. If you want to load a specific book on any page, you can provide its name as a parameter, for example:

{{ {{{1|Tooltip hover box}}}|title= {{Book|Pyromantic Treatise IV}}}}
Pyromantic Treatise IV


Book

Book Content

You can also load the text that's written inside a book or treatise by using this transclusion syntax:

{{:Book data|Pyromantic Treatise IV Content}}

Data does not exist.