Template:Book

From Little-Known Galaxy Wiki
Jump to navigation Jump to search
Template-info.svg Documentation Edit this documentation at Template:Book/doc.

This template uses one or more modules written in the Lua programming language.

For more information, see Wikipedia:Lua or the Lua reference manual on mediawiki.org. Modules used include: Book.

This template displays book data. This should be placed on the individual book pages.

Related templates, modules, and tables:

Syntax

{{Book
|collapsed = true or false (default is false)
|header =
|title = 
|The body of the text
}}

Examples

Open

{{Book|collapsed=false
|header=Arts Literature
|title=Jokes: Quick Space Funnies
|What is an astrophysicist's favorite part of their computer?<br><br><i>The space bar.</i><br><br><br>What is the funniest book ever written about space?<br><br><i>A comet book.</i><br><br><br>Why do aliens never come to Earth?<br><br><i>Because its only rated with one star.</i>}}
Arts Literature
Jokes: Quick Space Funnies
What is an astrophysicist's favorite part of their computer?

The space bar.


What is the funniest book ever written about space?

A comet book.


Why do aliens never come to Earth?

Because its only rated with one star.

Collapsed

{{Book|collapsed=true
|header=Alliance
|title=Space Alliance Principles
|The basic principles of Space Alliance:<br><br>1. Always try your best.<br>2. Remain honest and truthful.<br>3. Lead with compassion and empathy.<br>4. Keep an open mind to new ideas and principles.<br>5. Strive to achieve perfect equality among all living beings.<br>6. Explore and expand our understanding of the little-known universe.}}
Alliance
Space Alliance Principles
The basic principles of Space Alliance:

1. Always try your best.
2. Remain honest and truthful.
3. Lead with compassion and empathy.
4. Keep an open mind to new ideas and principles.
5. Strive to achieve perfect equality among all living beings.
6. Explore and expand our understanding of the little-known universe.

This template adds rows to the table "Books", which is declared by the template Book/Cargo declare. View table.