Template:Hidden/doc: Difference between revisions

From Citizendium
Jump to navigation Jump to search
imported>Drew R. Smith
imported>Drew R. Smith
 
(7 intermediate revisions by the same user not shown)
Line 6: Line 6:
===Example===
===Example===
<pre>{{Hidden
<pre>{{Hidden
| title = Ancestors of Kamehameha the Great
| title = Title Here
| state = collapsed
| state = collapsed
| list1  = Hidden Stuff
| list1  = Hidden Stuff
}}</pre>
}}</pre>
{{Hidden
{{Hidden
| title = Ancestors of Kamehameha the Great
| title = Title Here
| state = collapsed
| state = collapsed
| list1  = Hidden Stuff
| list1  = Hidden Stuff
Line 21: Line 21:
<pre>{{Hidden
<pre>{{Hidden
| name  = Hidden/doc
| name  = Hidden/doc
| title = Tite
| title = Title
| image = [[Image:KamehamehaI.jpg|80px]]
| image = [[Image:KamehamehaI.jpg|80px]]


Line 46: Line 46:
{{Hidden
{{Hidden
| name  = Hidden/doc
| name  = Hidden/doc
| title = Tite
| title = Title
| image = [[Image:KamehamehaI.jpg|80px]]
| image = [[Image:KamehamehaI.jpg|80px]]


Line 67: Line 67:


| below  = Website: [http://www.citizendium.org citizendium]
| below  = Website: [http://www.citizendium.org citizendium]
}}
===Another Example===
<pre>{{Hidden
| name  = Hidden/doc
| title = [[Multimedia Super Corridor|MSC Malaysia]]
| image = [[Image:Flag of Malaysia.svg|80px]]
| above = Above text goes here
| group1 = Centre
| list1  = [[Cyberjaya]]
| group2 = Area
| list2  = [[Klang Valley]]
| group3 = Major landmarks
| list3  = [[Petronas Twin Towers]]{{·}} [[Kuala Lumpur Tower]]{{·}}[[Kuala Lumpur Sentral]]{{·}} [[Technology Park Malaysia]]{{·}}[[Putrajaya]]{{·}} [[Cyberjaya]]
| group4 = Infrastructure
| list4  = [[Express Rail Link]]{{·}} [[KL-KLIA Dedicated Expressway]]
| group5 = Prime applications
| list5  = [[EGovernment]]{{·}} [[MyKad]]
| below  = Website: [http://www.msc.com.my/ www.msc.com.my]
}}
</pre>
{{Hidden
| name  = Hidden/doc
| title = [[Multimedia Super Corridor|MSC Malaysia]]
| image = [[Image:Flag of Malaysia.svg|80px]]
| above = Above text goes here
| group1 = Centre
| list1  = [[Cyberjaya]]
| group2 = Area
| list2  = [[Klang Valley]]
| group3 = Major landmarks
| list3  = [[Petronas Twin Towers]]{{·}} [[Kuala Lumpur Tower]]{{·}}[[Kuala Lumpur Sentral]]{{·}} [[Technology Park Malaysia]]{{·}}[[Putrajaya]]{{·}} [[Cyberjaya]]
| group4 = Infrastructure
| list4  = [[Express Rail Link]]{{·}} [[KL-KLIA Dedicated Expressway]]
| group5 = Prime applications
| list5  = [[EGovernment]]{{·}} [[MyKad]]
| below  = Website: [http://www.msc.com.my/ www.msc.com.my]
}}
}}

Latest revision as of 04:39, 7 August 2009

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 = Title Here
| state = collapsed
| list1   = Hidden Stuff
}}

More complex stuff

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

Example

{{Hidden
| name  = Hidden/doc
| title = Title
| 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{{·}}FooII{{·}}FooIII{{·}}FooIV{{·}}FooV{{·}}FooVI{{·}}FooVII

| group5 = Why
| list5  = Bar

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

Another Example

{{Hidden
| name  = Hidden/doc
| title = [[Multimedia Super Corridor|MSC Malaysia]]
| image = [[Image:Flag of Malaysia.svg|80px]]

| above = Above text goes here

| group1 = Centre
| list1  = [[Cyberjaya]]

| group2 = Area
| list2  = [[Klang Valley]]

| group3 = Major landmarks
| list3  = [[Petronas Twin Towers]]{{·}} [[Kuala Lumpur Tower]]{{·}}[[Kuala Lumpur Sentral]]{{·}} [[Technology Park Malaysia]]{{·}}[[Putrajaya]]{{·}} [[Cyberjaya]]

| group4 = Infrastructure
| list4  = [[Express Rail Link]]{{·}} [[KL-KLIA Dedicated Expressway]]

| group5 = Prime applications
| list5  = [[EGovernment]]{{·}} [[MyKad]]

| below  = Website: [http://www.msc.com.my/ www.msc.com.my]
}}