Template:Show hide box
From Wikipedia, the free encyclopedia
Details about hidden features are hidden below.
[edit] Usage
This template is used to hide certain sections of article content in a 'Show/Hide' drop down bar. This gives readers the opportunity to choose whether or not to view content that may otherwise create a much longer page.
[edit] Standard format
{{Show_hide_box|<content name>|contents=<hidden content>}}
- Example
{{Show_hide_box|season-by-season records|contents= ;Summer :good ;Autumn :all right ;Winter :not bad ;Spring :shocking }}
- produces
Details about season-by-season records are hidden below.
[edit] Options
{{Show_hide_box|title=<title>|colour=<colour>|contents=<hidden content>|show=<1>}}
Parameter | Function |
---|---|
title |
Input the show-hide box title directly over-riding the automatic text Details about ... are hidden below. |
colour |
Use another colour in the header by entering either the hex code or the web colour name. |
show |
Change the default display to "show" instead of "hide" by setting this parameter to any non-empty value. |
- Example
{{Show_hide_box |colour=thistle |title=This is thistle, here are a few other web colours. |contents={{web colours}} |show=1 }}
- produces