User:Everlong/Sandbox 1

From Wikibooks, open books for an open world
Jump to: navigation, search

[edit] Interactive Self-test Template

I made a template called "Peekaboo" to provide a degree of interactive, self-test abilility to Wikibooks. A question is placed in the first box, then by clicking on the [Show] button to the right, users can reveal the answers in the second box without leaving the page. Everything prints out as currently displayed on-screen. Hopefully this will be useful to a few of you and help some Wikibooks. -- Everlong 02:17, 12 April 2006 (UTC)

Example: Template:Peekaboo

Example code:

{{Peekaboo|Question|Answer}}

[edit] New dictionary entry format

bad adjective
  = huài 坏 (壞)

[edit] Endnotes

Using code:

<div class="{{switch|{{SUBPAGENAME}}|case: Dialogues=|case: Lesson 1=|default=hiddenStructure}}">
text to only appear on pages titled "Language/Dialogues" and "Language/Lesson 1," but not on any other page
</div>
Personal tools
Namespaces
Variants
Actions
Navigation
Community
Toolbox
Sister projects
Print/export