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

From Fallen Sword Wiki
Jump to: navigation, search
 
(8 intermediate revisions by 2 users 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"
 
<!--                    Below is the coding that I copied from the other WIKI                                  --->
 
  
=== Show/Hide sections ===
+
{| class="toccolours collapsible collapsed" width=100%
Here's an example of collapsed/expandable sections:
+
|-
 +
! 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 class="NavFrame" style="border-style: none; padding: 0px; font-size: 100%;">
+
<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>
<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>
+
<div class="NavContent" style="background: #EEEEFF; display: none; font-size: 100%;">
+
<!--                      Display area is below                                  -->                                                  
+
  
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.
+
<nowiki>
 +
{|style="width:100%; background:none" align="left" colspan="2" cellspacing="5"
  
<!--                       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>
  
<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]]'''
+
<div class="toccolours collapsible collapsed" width:100%>
*'''[[User:The Transhumanist#Contributions / History|My favorite contributions]]'''
+
|-
*'''[[User:The Transhumanist/User page design/Examples|User page links]]'''
+
! colspan="6" | This table will always initially collapse
*'''[[User:The Transhumanist#Awards|Awards, thank yous, and such]]'''
+
|-
*'''[[User:The Transhumanist/About me|Userboxes]]'''
+
| 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>
  
<!--                      Display area is above                                  -->                                                   
 
</div></div></div><br />
 
  
<div class="NavFrame" style="border-style: none; padding: 0px; font-size: 100%;">
+
==Tables==
<div class="NavFrame" style="border-style: none; text-align: left; border: #3232CD solid 2px; -moz-border-radius: 10px; padding: 5px; font-size: 85%;">
+
===Collapsing===
<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>
+
<div class="NavContent" style="background: #EEEEFF; display: none; font-size: 100%;">
+
<!--                      Display area is below                                  -->                                                   
+
  
#fly
+
{| class="wikitable collapsible"
#ride an orca
+
! Simple collapsible table
#visit the moon
+
|-
#achieve immortality or the closest thing to it
+
| Lorem ipsum dolor sit amet
 +
|}
  
<!--                      Display area is above                                  -->                                                   
+
{| class="wikitable collapsible"
</div></div></div><br />
+
|A normal cell in the header row
 +
! colspan="2"| Header cell spans two cols
 +
|-
 +
| colspan="2" | Lorem ipsum dolor sit amet
 +
| Separate body cell
 +
|}
  
<div class="NavFrame" style="border-style: none; padding: 0px; font-size: 100%;">
+
==='collapsed by default'===
<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>Licensing</b></font></div>
+
<div class="NavContent" style="background: #EEEEFF; display: none; font-size: 100%;">
+
<!--                      Display area is below                                  -->                                                   
+
  
<div style="background-color:#c5fcdc; font-color:#00A86B; line-height:1.5; border-width:4px; border-style:solid; border-color:#EEFFEE">
+
{| class="wikitable collapsible collapsed"
 +
! Simple collapsible table
 +
|-
 +
| Lorem ipsum dolor sit amet
 +
|}
  
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.
+
{| class="wikitable collapsible collapsed"
 +
|A normal cell in the header row
 +
! colspan="2"| Header cell spans two cols
 +
|-
 +
| colspan="2" | Lorem ipsum dolor sit amet
 +
| Separate body cell
 +
|}
 +
 
 +
 
 +
==='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
 
|}
 
|}
  
{| style="width:100%; background:none" align="center" cellspacing="5"
+
 
 +
 
 +
 
 +
==='innercollapse' and 'outercollapse'===
 +
 
 +
{| class="wikitable outercollapse"
 +
! This table does not collapse
 +
|-
 +
| But the table inside this cell
 +
 
 +
{| class="wikitable collapsible innercollapse"
 +
! Does collapse
 +
|-
 +
| Hiding this part
 +
|}
 +
 
 +
|}
 +
 
 +
 
 +
===Sortable tables===
 +
 
 +
{| class="wikitable collapsible sortable"
 +
!Name!!Score
 +
|-
 +
|John||59
 +
|-
 +
|Jane||100
 +
|-
 +
|Bob||72
 +
|}
 +
 
 +
 
 +
 
 +
 
 +
 
 +
 
 +
<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"
 +
| <!-- you forgot to put in the beginning of the first table cell -->
 +
==== 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:
 +
 
 +
<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?
 +
*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 [[Portal:Art|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)?
 +
</div>
 +
 
 +
|
 +
 
 
==== Scroll boxes ====
 
==== 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:
 
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="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)?