From CommunityTest
Template: Custom:
test1
- Lorem1!!
- Lorem1!!
- Lorem1!!
|
test2 "collapsed"
- Lorem2!!
- Lorem2!!
- Lorem2!!
|
test3 "autocollapse"
- Lorem3!!
- Lorem3!!
- Lorem3!!
|
test4 "display:none"
- Lorem4!!
- Lorem4!!
- Lorem4!!
|
| Title1
|
| Column 1.1 | Column 1.2
|
|
| Title1 "collapsed"
|
| Column 1.1 | Column 1.2
|
|
| Title1 "autocollapse"
|
| Column 1.1 | Column 1.2
|
|
| "innercollapse"
|
| Hiding this part
|
|
| This table does not collapse "outercollapse"
|
But the table inside this cell
| Does collapse "innercollapse"
|
| Hiding this part
|
|
|
|
| name
|
| Lorem Ipsum information
|
| Homeworld
| Lorem
|
| Born
| Ipsum
|
| Died
| dolor
|
|
| name
|
| Lorem Ipsum information
|
| Homeworld
| Lorem
|
| Born
| Ipsum
|
| Died
| dolor
|
|
| name
|
| row1 col1
| row1 col2
| row1 col3
|
| row2 col1
| row2 col2
| row2 col3
|
| row3 col1
| row3 col2
| row3 col3
|
| row1 col1
| row1 col2
| row1 col3
|
- Table with alternating color rows must be wrap in a
table/div with class infobox
- Header cells
hr/! are not taken into account for the alternating
- Adding class "infoboxstopalt" inside table rows
tr/|- will stop the alternation at that spot.
|
{| id="infoboxinternal"
|-
|CONTENT
|}
<div class="infoboxfooter plainlinks" style="text-align:center; background:#94C7D1"><span id="infoboxend"></span></div>
- Only 1 instance of this per page, following instances will not work
- Table requires to have id
infoboxinternal
- A separate div/table with class
infoboxfooter any info can be there and inside with no info inside this will function as the button, the separate table can be put any where
|
<div class="hidable">hicks<span class="hidable-button"></span>hicks
<div class="hidable-content"> bla bla bla </div>
- Like NavFrame: NavFrame=hidable, NavHead=span.hidable-button, NavContent=hidable-content
- hidable-content all what will be hidding, text outside of it but still wrap on hidable will not hide.
- for autohidding aka "
collapsed" put class "start-hidden" where hidable is.
- can be used with divs (as above) by nesting or with tables (below) tricky on content
{| class="hidable"
|-
| style="text-align: center" | <span class="hidable-button"></span>
|- class="hidable-content"
| bla bla bla bla
|}
|
<insert name here>
test={{PAGENAME}}
test1 <insert name here>
left
Cizagna made an edit on February 20, 2009
|
|