Jump to content

Template:Curiosity

From Wikibase
Documentationview · edit

The curiosity box is a blue, blockquote-style division for additional context on classic (wikitext) content pages. Two templates build it: {{Curiosity}} opens the box and {{End special}} closes it. Ordinary wikitext inside — paragraphs, lists, math, code and links — renders as usual.

Usage

{{Curiosity}}
The derivative of a constant is zero, because a constant does not change.
{{End special}}

A box can hold several paragraphs, a list, math or code:

{{Curiosity}}
A short remark.

* first point
* second point
{{End special}}

Always close the box with {{End special}}. A box left open swallows the rest of the page.

Appearance

The box is styled by the .curiosity class in MediaWiki:Common.css:

  • a blue left bar and a pale blue background, like a quotation;
  • a round ? badge in the left margin.

The templates emit only <div class="curiosity"> and </div>; all styling lives in the site CSS, so the box follows the skin and dark mode.

Opener Closer Purpose
{{Curiosity}} {{End special}} Additional context (this box)
{{Hidden solution}} {{End hidden}} Collapsible worked solution
{{Hidden proof}} {{End hidden}} Collapsible proof
{{Hidden example}} {{End hidden}} Collapsible example
{{Hidden explanation}} {{End hidden}} Collapsible explanation

{{End solution}} redirects to {{End hidden}}.

See also