Difference between revisions of "User:DavidAHare/Test Page Section A"

From Fallen Sword Wiki
Jump to: navigation, search
(Scroll boxes)
 
(5 intermediate revisions by one user not shown)
Line 1: Line 1:
 +
__NOTOC__
 +
 
{| style="width:100%; background:none" align="center" cellspacing="5"
 
{| style="width:100%; background:none" align="center" cellspacing="5"
 
| style="background-color:#cd9e4b; color:#000; border:1px solid #cd9e4b; font-size:90%; text-align:left; -moz-border-radius:15px" | &nbsp;http://66.7.192.165/skin/online.gif '''Test Section A''' <span class="plainlinks">[{{fullurl:User:DavidAHare/Test Page Section A|action=edit}}<small><span style="color:#060">+</span></small>]</span>
 
| style="background-color:#cd9e4b; color:#000; border:1px solid #cd9e4b; font-size:90%; text-align:left; -moz-border-radius:15px" | &nbsp;http://66.7.192.165/skin/online.gif '''Test Section A''' <span class="plainlinks">[{{fullurl:User:DavidAHare/Test Page Section A|action=edit}}<small><span style="color:#060">+</span></small>]</span>
Line 6: Line 8:
 
|}
 
|}
  
{| style="width:100%; background:none" align="center" cellspacing="5"
 
  
 +
{| class="toccolours collapsible collapsed" width=100%
 +
|-
 +
! colspan="6" | This table will always initially collapse
 +
|-
 +
| Column 1 || Column 2 || Column 3 || Column 4 || Column 5 || Column 6
 +
|-
 +
| Column 1 || Column 2 || Column 3 || Column 4 || Column 5 || Column 6
 +
|}
  
<!--                    Below is the coding that I copied from the other WIKI                                  --->
+
<big>'''I have tried to take the above code with the collapssible function in it and put a 2nd set next to it like what is below with the scroll bar.  Here is the final code that I tried w\hich did not turn out very good.  I just need to know if it can be done where I can have more than 1 collapsible field in a table type format.  To look at the way the code is writen please press edit to look at the code below since I have had to use the <nowiki><nowiki></nowiki></nowiki> function to stop the miss up of the code below my trial of putting 2 collapsible fields next to each other.'''</big>
  
=== Show/Hide sections ===
+
<nowiki>
Here's an example of collapsed/expandable sections:
+
{|style="width:100%; background:none" align="left" colspan="2" cellspacing="5"
  
<div class="NavFrame" style="border-style: none; padding: 0px; font-size: 100%;">
+
<div class="toccolours collapsible collapsed" width:100%>
<div class="NavFrame" style="border-style: none; text-align: left; border: #3232CD solid 2px; -moz-border-radius: 10px; padding: 5px; font-size: 85%;">
+
|-
<div class="NavHead" style="{{Round corners}}; background: #dcc5fc;  text-align: center; padding: 2px; font-size: 160%;"><font face="arial" color="#6B00A8" size="+1"><b>About me</b></font></div>
+
! colspan="6" | This table will always initially collapse
<div class="NavContent" style="background: #EEEEFF; display: none; font-size: 100%;">
+
|-
<!--                      Display area is below                                  -->                                                   
+
| Column 1 || Column 2 || Column 3 || Column 4 || Column 5 || Column 6
 +
|-
 +
| Column 1 || Column 2 || Column 3 || Column 4 || Column 5 || Column 6
 +
</div>
  
Sample text. Sample text. Sample text. Sample text. Sample text. Sample text. Sample text. Sample text. Sample text. Sample text. Sample text. Sample text. Sample text. Sample text. Sample text. Sample text. Sample text. Sample text.
+
|
  
<!--                       Display area is above                                  -->                                                   
+
<div class="toccolours collapsible collapsed" width:100%>
</div></div></div><br />
+
|-
 +
! colspan="6" | This table will always initially collapse
 +
|-
 +
| Column 1 || Column 2 || Column 3 || Column 4 || Column 5 || Column 6
 +
|-
 +
| Column 1 || Column 2 || Column 3 || Column 4 || Column 5 || Column 6
 +
</div>
 +
|}
 +
</nowiki>
  
<div class="NavFrame" style="border-style: none; padding: 0px; font-size: 100%;">
 
<div class="NavFrame" style="border-style: none; text-align: left; border: #3232CD solid 2px; -moz-border-radius: 10px; padding: 5px; font-size: 85%;">
 
<div class="NavHead" style="{{Round corners}}; background: #dcc5fc; text-align: center; padding: 2px; font-size: 160%;"><font face="arial" color="#6B00A8" size="+1"><b>Subpages</b></font></div>
 
<div class="NavContent" style="background: #EEEEFF; display: none; font-size: 100%;">
 
<!--                      Display area is below                                  -->                                                   
 
  
*'''[[User:The Transhumanist/Sandbox|Sandbox]]'''
+
==Tables==
*'''[[User:The Transhumanist#Contributions / History|My favorite contributions]]'''
+
===Collapsing===
*'''[[User:The Transhumanist/User page design/Examples|User page links]]'''
+
*'''[[User:The Transhumanist#Awards|Awards, thank yous, and such]]'''
+
*'''[[User:The Transhumanist/About me|Userboxes]]'''
+
  
<!--                      Display area is above                                  -->                                                   
+
{| class="wikitable collapsible"
</div></div></div><br />
+
! Simple collapsible table
 +
|-
 +
| Lorem ipsum dolor sit amet
 +
|}
  
<div class="NavFrame" style="border-style: none; padding: 0px; font-size: 100%;">
+
{| class="wikitable collapsible"
<div class="NavFrame" style="border-style: none; text-align: left; border: #3232CD solid 2px; -moz-border-radius: 10px; padding: 5px; font-size: 85%;">
+
|A normal cell in the header row
<div class="NavHead" style="{{Round corners}}; background: #dcc5fc; text-align: center; padding: 2px; font-size: 160%;"><font face="arial" color="#6B00A8" size="+1"><b>To do</b></font></div>
+
! colspan="2"| Header cell spans two cols
<div class="NavContent" style="background: #EEEEFF; display: none; font-size: 100%;">
+
|-
<!--                      Display area is below                                  -->                                                   
+
| colspan="2" | Lorem ipsum dolor sit amet
 +
| Separate body cell
 +
|}
  
#fly
+
==='collapsed by default'===
#ride an orca
+
#visit the moon
+
#achieve immortality or the closest thing to it
+
  
<!--                      Display area is above                                  -->                                                   
+
{| class="wikitable collapsible collapsed"
</div></div></div><br />
+
! Simple collapsible table
 +
|-
 +
| Lorem ipsum dolor sit amet
 +
|}
  
<div class="NavFrame" style="border-style: none; padding: 0px; font-size: 100%;">
+
{| class="wikitable collapsible collapsed"
<div class="NavFrame" style="border-style: none; text-align: left; border: #3232CD solid 2px; -moz-border-radius: 10px; padding: 5px; font-size: 85%;">
+
|A normal cell in the header row
<div class="NavHead" style="{{Round corners}}; background: #dcc5fc; text-align: center; padding: 2px; font-size: 160%;"><font face="arial" color="#6B00A8" size="+1"><b>Licensing</b></font></div>
+
! colspan="2"| Header cell spans two cols
<div class="NavContent" style="background: #EEEEFF; display: none; font-size: 100%;">
+
|-
<!--                      Display area is below                                  -->                                                   
+
| colspan="2" | Lorem ipsum dolor sit amet
 +
| Separate body cell
 +
|}
  
<div style="background-color:#c5fcdc; font-color:#00A86B; line-height:1.5; border-width:4px; border-style:solid; border-color:#EEFFEE">
 
  
I authorize all my mainspace contributions under the Multi-licensed with the Creative Commons Attribution Share-Alike License versions 1.0 and 2.0. I'll authorize usage to all other spaces and any talk page post upon request and at my discretion.
+
==='autocollapse'===
  
{{DualLicenseWithCC-BySA-Dual}}
 
</div>
 
  
<!--                      Display area is above                                  -->                                                   
+
{| class="wikitable collapsible autocollapse"
</div></div></div><br />
+
! Simple collapsible table
 
|-
 
|-
 +
| Lorem ipsum dolor sit amet
 
|}
 
|}
  
Line 75: Line 92:
  
  
{| class="toccolours collapsible collapsed" width=100%
+
==='innercollapse' and 'outercollapse'===
 +
 
 +
{| class="wikitable outercollapse"
 +
! This table does not collapse
 
|-
 
|-
! colspan="6" | This table will always initially collapse
+
| But the table inside this cell
 +
 
 +
{| class="wikitable collapsible innercollapse"
 +
! Does collapse
 
|-
 
|-
| Column 1 || Column 2 || Column 3 || Column 4 || Column 5 || Column 6
+
| Hiding this part
 +
|}
 +
 
 +
|}
 +
 
 +
 
 +
===Sortable tables===
 +
 
 +
{| class="wikitable collapsible sortable"
 +
!Name!!Score
 
|-
 
|-
| Column 1 || Column 2 || Column 3 || Column 4 || Column 5 || Column 6
+
|John||59
 +
|-
 +
|Jane||100
 +
|-
 +
|Bob||72
 
|}
 
|}
  
Line 88: Line 124:
  
  
<big>'''I am somehow missing how to code the following to go side by side instead of below each other.'''</big>
+
 
 +
<big>'''I would like to thank the person who fixed the problem I was having.'''</big>
 +
 
 +
 
  
 
{| style="width:100%; background:none" align="left" colspan="2" cellspacing="5"
 
{| style="width:100%; background:none" align="left" colspan="2" cellspacing="5"
Line 95: Line 134:
 
To create a scrollbox, use the "overflow:auto" style code.  Be sure to also specify a "height: nnpx", where nn is the height you want.  Here's an example of one 150px tall:
 
To create a scrollbox, use the "overflow:auto" style code.  Be sure to also specify a "height: nnpx", where nn is the height you want.  Here's an example of one 150px tall:
  
<div style="width:75%;  height: 150px; overflow:auto; border: thin solid blue; background: white">
+
<div style="width:100%;  height: 150px; overflow:auto; border: thin solid blue; background: white">
*What is the [[meaning of life]]?  And what does that question mean?
+
*What is the meaning of life?  And what does that question mean?
*Where is the line between [[life]] and non-life?
+
*Where is the line between life and non-life?
*Where does [[choice]] come from?
+
*Where does choice come from?
*Why is life proactive, as opposed to nonlife, which simply obeys the laws of [[physics]], without using [[energy]] to—say—defy gravity?
+
*Why is life proactive, as opposed to nonlife, which simply obeys the laws of physics, without using energy to—say—defy gravity?
*Can [[emotion]] be programmed?
+
*Can emotion be programmed?
 
*Where do we feel?
 
*Where do we feel?
 
*Why does [[Portal:Art|art]] move us?
 
*Why does [[Portal:Art|art]] move us?
*What makes us want to be better, to have [[purpose]]?
+
*What makes us want to be better, to have purpose?
 
*Who are you and what do you want?
 
*Who are you and what do you want?
 
** That is, who are you, really?  The true you, deep inside.
 
** That is, who are you, really?  The true you, deep inside.
Line 114: Line 153:
 
To create a scrollbox, use the "overflow:auto" style code.  Be sure to also specify a "height: nnpx", where nn is the height you want.  Here's an example of one 150px tall:
 
To create a scrollbox, use the "overflow:auto" style code.  Be sure to also specify a "height: nnpx", where nn is the height you want.  Here's an example of one 150px tall:
  
<div style="width:50%;  height: 150px; overflow:auto; border: thin solid blue; background: white">
+
<div style="width:100%;  height: 150px; overflow:auto; border: thin solid blue; background: white">
*What is the [[meaning of life]]?  And what does that question mean?
+
*What is the meaning of life?  And what does that question mean?
*Where is the line between [[life]] and non-life?
+
*Where is the line between life and non-life?
*Where does [[choice]] come from?
+
*Where does choice come from?
*Why is life proactive, as opposed to nonlife, which simply obeys the laws of [[physics]], without using [[energy]] to—say—defy gravity?
+
*Why is life proactive, as opposed to nonlife, which simply obeys the laws of physics, without using energy to—say—defy gravity?
*Can [[emotion]] be programmed?
+
*Can emotion be programmed?
 
*Where do we feel?
 
*Where do we feel?
 
*Why does [[Portal:Art|art]] move us?
 
*Why does [[Portal:Art|art]] move us?
*What makes us want to be better, to have [[purpose]]?
+
*What makes us want to be better, to have purpose?
 
*Who are you and what do you want?
 
*Who are you and what do you want?
 
** That is, who are you, really?  The true you, deep inside.
 
** That is, who are you, really?  The true you, deep inside.

Latest revision as of 05:01, 29 January 2010


 online.gif Test Section A +
This section is supposed to go all the way accross the screen. Section B and C are to go half way accross the screen with Section B side by side to Section C.


I have tried to take the above code with the collapssible function in it and put a 2nd set next to it like what is below with the scroll bar. Here is the final code that I tried w\hich did not turn out very good. I just need to know if it can be done where I can have more than 1 collapsible field in a table type format. To look at the way the code is writen please press edit to look at the code below since I have had to use the <nowiki></nowiki> function to stop the miss up of the code below my trial of putting 2 collapsible fields next to each other.

{|style="width:100%; background:none" align="left" colspan="2" cellspacing="5" <div class="toccolours collapsible collapsed" width:100%> |- ! colspan="6" | This table will always initially collapse |- | Column 1 || Column 2 || Column 3 || Column 4 || Column 5 || Column 6 |- | Column 1 || Column 2 || Column 3 || Column 4 || Column 5 || Column 6 </div> | <div class="toccolours collapsible collapsed" width:100%> |- ! colspan="6" | This table will always initially collapse |- | Column 1 || Column 2 || Column 3 || Column 4 || Column 5 || Column 6 |- | Column 1 || Column 2 || Column 3 || Column 4 || Column 5 || Column 6 </div> |}


Tables

Collapsing

Simple collapsible table
Lorem ipsum dolor sit amet
A normal cell in the header row Header cell spans two cols
Lorem ipsum dolor sit amet Separate body cell

'collapsed by default'


'autocollapse'

Simple collapsible table
Lorem ipsum dolor sit amet



'innercollapse' and 'outercollapse'

This table does not collapse
But the table inside this cell
Does collapse
Hiding this part


Sortable tables

Name Score
John 59
Jane 100
Bob 72




I would like to thank the person who fixed the problem I was having.


Scroll boxes

To create a scrollbox, use the "overflow:auto" style code. Be sure to also specify a "height: nnpx", where nn is the height you want. Here's an example of one 150px tall:

  • What is the meaning of life? And what does that question mean?
  • Where is the line between life and non-life?
  • Where does choice come from?
  • Why is life proactive, as opposed to nonlife, which simply obeys the laws of physics, without using energy to—say—defy gravity?
  • Can emotion be programmed?
  • Where do we feel?
  • Why does art move us?
  • What makes us want to be better, to have purpose?
  • Who are you and what do you want?
    • That is, who are you, really? The true you, deep inside.
    • And what do you really want (but for whatever reason haven't committed to getting)?

Scroll boxes

To create a scrollbox, use the "overflow:auto" style code. Be sure to also specify a "height: nnpx", where nn is the height you want. Here's an example of one 150px tall:

  • What is the meaning of life? And what does that question mean?
  • Where is the line between life and non-life?
  • Where does choice come from?
  • Why is life proactive, as opposed to nonlife, which simply obeys the laws of physics, without using energy to—say—defy gravity?
  • Can emotion be programmed?
  • Where do we feel?
  • Why does art move us?
  • What makes us want to be better, to have purpose?
  • Who are you and what do you want?
    • That is, who are you, really? The true you, deep inside.
    • And what do you really want (but for whatever reason haven't committed to getting)?