Template:Hidden/doc

From Citizendium
< Template:Hidden
Revision as of 04:28, 7 August 2009 by imported>Drew R. Smith (→‎Example)
Jump to navigation Jump to search

This template was originally developed to serve a simple purpose. However, in its development, it grew into something with a much larger function.


Basic Usage

The basic use of this template is to hide text with a [show/hide] link.

Example

{{Hidden
| title = Ancestors of Kamehameha the Great
| state = collapsed
| list1   = Hidden Stuff
}}

More complex stuff

This template is also capable of making Navboxes, similar to WP's.

Example

{{Navbox
| name  = Navbox/doc
| title = Tite
| image = [[Image:KamehamehaI.jpg|80px]]

| above = Above text goes here

| group1 = Who
| list1  = Some Text

| group2 = What
| list2  = [[Some Linked Text]]

| group3 = When
| list3  = [[List Part One]]{{·}} [[List Part Two]]

| group4 = Where
| list4  = Foo

| group5 = Why
| list5  = Bar

| below  = Website: [http://www.citizendium.org citizendium]
}}

Template:Navbox