Open main menu

Wikibooks β


Markup Display
The title given to this book is incorrect due to technical limitations. The correct title is Title.

There is also the {{incomplete}} template. While there may be justified usages for this, be advised against using it whenever text should be expanded on. Be specific in what is lacking to make collaboration easier and inform readers. Maybe you are looking for {{TODO}} or one of the templates listed on Help:Stub. Some wikibooks have book-specific to-do templates such as {{Japanese todo}}.

The {{spoiler}} and {{endspoiler}} templates came with the Muggles' Guide to Harry Potter from Wikipedia. While there was a case for using it there (encyclopaedia articles contain various information and some are looking for general information but others synopses) try to do without in your wikibooks. Place spoiling content in separate modules and alert readers before they go there.

Page details

The {{Displaytitle}} template can set the page title and tab. The former is useful for modifying page titles to something not possible due to technical limitations. The latter is used in the Cookbook to differentiate between recipes and ingredients. See the template page for documentation.

Text boxes

Generic text boxes

These text box templates are used to set aside a block of text from the rest of the page.

Markup Display
  • Floats on the right
  • Text is centered
  • 250px wide
  • Floats on the left
  • Text is centered
  • 250px wide
  • Floats on left
  • 50% of screen width
  • Floats on right
  • 50% of screen width
  • 90% of screen width


  • Same format as previous text boxes, but can be shown or hidden
  • Adjustable width/floating (see examples at Template:DropBox)


{{Body note|a short text in the body text}} A paragraph


a short text in the body

A paragraph of main text
{{Side note|a short text on left}}
a short text on left
A paragraph of main text
{{Side note|side=right|a short text on right}}
a short text on right
A paragraph of main text

Formatted text boxes

Markup Display
{{message box|heading=You should contribute to Wikibooks.|message=Wikibooks is a collection of free textbooks that anyone can edit.}}
{{message box|image=stop_hand.png|alt=stop sign|backgroundcolor=yellow|heading=You can change the image and background color.|message=This template has optional parameters.}}

Special text boxes

These templates make it easy to quickly add formatting to your Wikibooks. Should you wish to modify them, please try not to do so in a backwards incompatible fashion as they are used across a number of different books.

Markup Display
{{Example|example text}}

example text

{{Proof|proof text}}
Proof: proof text
{{Helpful hint|hint=Give a hint here}}
Helpful Hint!
Give a hint here
{{Warning|warning text}}
{{Yellow Warning|warning text}}
{{Sample|caption=Caption|sampletext=Some sample text.}}

Software Versions

Many books are instructional manuals on computer software. It is important to clearly convey which version of the software the book refers to.

Markup Display
{{Software header|name=software|version=number|type=>}}
See template page for more usage information.

This book applies to version number of software.

{{Software sidebox|name=software|version= number|type=<}}

This section applies to version number of software, an older version.