EcoliWiki:TableEdit Sandbox: Difference between revisions

From EcoliWiki
Jump to navigation Jump to search
/Volumes/r3/t3/ul/working/touchTables/touch_all_tables.php
 
(24 intermediate revisions by 5 users not shown)
Line 1: Line 1:
This table allows editing of headings.  It was created using the markup:
<protect>This Sandbox page is a place where users can play with the table editor. Additional documentation is at [[Special:TableEdit]]
* Unregistered users can:
** Open the example tables and use the editor. However, any changes will not be saved to the page
* Registered users can:
** Save changes
** Make new tables in the play area
== Freeform table example ==
This table allows editing.  It was created using the markup:
<nowiki><newTableEdit>
<nowiki><newTableEdit>
Heading 1
Heading 1
Heading 2
Heading 2
Heading 3</newTableEdit></nowiki>
Heading 3</newTableEdit></nowiki>
 
You can change the heading text, background color, or alignment, add columns, add data, or rotate the table
<protect><!--box uid=63ce1649aab8b3180235b0af7618f667.0.C46ac07827444c-->
<protect><!--box uid=63ce1649aab8b3180235b0af7618f667.0.C46ac07827444c-->
<!--*** PLEASE DON'T EDIT THIS TABLE DIRECTLY.  Use the edit table link under the table. *** -->
<!--
{|class = 'sortable' {{Prettytable}} id='213180'
******************************************************************************************
*
*  ** PLEASE DON'T EDIT THIS TABLE DIRECTLY.  Use the edit table link under the table. **
*
****************************************************************************************** -->
{|   id="C46ac07827444c"  class=" tableEdit " 
|-
|-
!Heading 1!!Heading 2!!Heading 3
!|[[Template:]] not found
 
|- class="tableEdit_footer"
|<span class="tableEdit_editLink plainlinks">[{{SERVER}}{{SCRIPTPATH}}?title=Special:TableEdit&id=63ce1649aab8b3180235b0af7618f667.0.C46ac07827444c&page=105298&pagename={{FULLPAGENAMEE}}&type=0&template= edit table]</span>
|}
<!--box uid=63ce1649aab8b3180235b0af7618f667.0.C46ac07827444c--></protect>
 
== Templated table example ==
 
In this table the headings are set from a template using the markup <nowiki><newTableEdit>Template:GO_table_product</newTableEdit></nowiki> where [[Template: GO_table_product| GO_table_product]] is a template for the table type.  It illustrates how you can customize the editing interface with pulldown menus, queries to other databases, and simple calculations.  For example GO terms have the form "GO:ddddddd" where ddddddd is a seven digit number.  Try typing GO:0000123 in the GO id field and then click update.  Try putting a PMID in the references cell.
<protect><!--box uid=63ce1649aab8b3180235b0af7618f667.105298.M46ac0834b09fd-->
<!--
******************************************************************************************
*
*  ** PLEASE DON'T EDIT THIS TABLE DIRECTLY.  Use the edit table link under the table. **
*
****************************************************************************************** -->
{|  id="M46ac0834b09fd"  class=" tableEdit " 
|-
|-
!|[[Template:]] not found
|- class="tableEdit_footer"
|<span class="tableEdit_editLink plainlinks">[{{SERVER}}{{SCRIPTPATH}}?title=Special:TableEdit&id=63ce1649aab8b3180235b0af7618f667.105298.M46ac0834b09fd&page=105298&pagename={{FULLPAGENAMEE}}&type=0&template= edit table]</span>
|}
<!--box uid=63ce1649aab8b3180235b0af7618f667.105298.M46ac0834b09fd--></protect>
</protect>
== Play area for registered users==
Table nesting is possible, but if you just use <nowiki><newTableEdit/></nowiki>  on the inside, any edits of the outer table destroy the inner table.  Updates to the inner table are not recorded as changes to the outer table.
<protect><!--box uid=63ce1649aab8b3180235b0af7618f667.105298.P46ac9e72a1a9f-->
<!--
******************************************************************************************
*
*  ** PLEASE DON'T EDIT THIS TABLE DIRECTLY.  Use the edit table link under the table. **
*
****************************************************************************************** -->
{|  id="P46ac9e72a1a9f"  class=" tableEdit " 
|- bgcolor = pink
!|Outside table Heading 1!!Outside table Heading 2
|-
|
This is in the outer table
|
This is in the outer table
|-
|
this is in the outer table
|
|
data 1
<protect><!--box uid=bc145ea147f7e36caf09c1bfeed4ee9d.105298.N4c1a55874b790-->
<!--
******************************************************************************************
*
*  ** PLEASE DON'T EDIT THIS TABLE DIRECTLY.  Use the edit table link under the table. **
*
****************************************************************************************** -->
{|  id="N4c1a55874b790"  class=" tableEdit " 
|-
!|
 
|- class="tableEdit_footer"
|<span class="tableEdit_editLink plainlinks">[{{SERVER}}{{SCRIPTPATH}}?title=Special:TableEdit&id=bc145ea147f7e36caf09c1bfeed4ee9d.105298.N4c1a55874b790&page=105298&pagename={{FULLPAGENAMEE}}&type=0&template= edit table]</span>
|}
<!--box uid=bc145ea147f7e36caf09c1bfeed4ee9d.105298.N4c1a55874b790--></protect>
|-
|
|
data 2
more in the outer table
|
|
data 3
edit the outer table
|-class='sortbottom'
 
|[{{SERVER}}/colipedia/index.php/Special:TableEdit?id=63ce1649aab8b3180235b0af7618f667.0.C46ac07827444c&page=0&pagename={{FULLPAGENAMEE}} edit table] || ||
|- class="tableEdit_footer"
|<span class="tableEdit_editLink plainlinks">[{{SERVER}}{{SCRIPTPATH}}?title=Special:TableEdit&id=63ce1649aab8b3180235b0af7618f667.105298.P46ac9e72a1a9f&page=105298&pagename={{FULLPAGENAMEE}}&type=0&template= edit table]</span> ||
|}
|}
<!--box uid=63ce1649aab8b3180235b0af7618f667.0.C46ac07827444c--></protect>
<!--box uid=63ce1649aab8b3180235b0af7618f667.105298.P46ac9e72a1a9f--></protect>
 
<protect><!--box uid=63ce1649aab8b3180235b0af7618f667.105298.U4855f7cb1b81b-->
<!--
******************************************************************************************
*
*  ** PLEASE DON'T EDIT THIS TABLE DIRECTLY.  Use the edit table link under the table. **
*
****************************************************************************************** -->
{|  id="U4855f7cb1b81b"  class=" tableEdit " 
|-
!|Gene Product!!Qualifier!!GO ID!!Go term name!!Aspect!!Reference!!Annotator!!Date
 
|- class="tableEdit_footer"
|<span class="tableEdit_editLink plainlinks">[{{SERVER}}{{SCRIPTPATH}}?title=Special:TableEdit&id=63ce1649aab8b3180235b0af7618f667.105298.U4855f7cb1b81b&page=105298&pagename={{FULLPAGENAMEE}}&type=0&template= edit table]</span> || || || || || || ||
|}
<!--box uid=63ce1649aab8b3180235b0af7618f667.105298.U4855f7cb1b81b--></protect>


In this table the headings are set from a template using the markup <nowiki><newTableEdit>GO_table_product</newTableEdit></nowiki> where [[Template: GO_table_product| GO_table_product]] is a template for the table type.
<protect><!--box uid=63ce1649aab8b3180235b0af7618f667.105298.K4855f81255456-->
<protect><!--box uid=63ce1649aab8b3180235b0af7618f667.105298.M46ac0834b09fd-->
<!--
<!--*** PLEASE DON'T EDIT THIS TABLE DIRECTLY.  Use the edit table link under the table. *** -->
******************************************************************************************
{|class = 'sortable' {{Prettytable}} id='213211'
*
*  ** PLEASE DON'T EDIT THIS TABLE DIRECTLY.  Use the edit table link under the table. **
*
****************************************************************************************** -->{{Product_GO_help}}
{|  id="K4855f81255456"  class=" tableEdit GO_table_product dataTable" 
|- {{table_heading_style}}
|- {{table_heading_style}}
!Qualifier!!GO ID!!GO term name!!Reference(s)!!Evidence Code!!with/from!!Aspect!!Notes!!Status
!|Qualifier!!GO ID!!GO term name!!Reference(s)!!Evidence Code!!with/from!!Aspect!!Notes!!Status
|-class='sortbottom'
 
|[{{SERVER}}/colipedia/index.php/Special:TableEdit?id=63ce1649aab8b3180235b0af7618f667.105298.M46ac0834b09fd&page=105298&pagename={{FULLPAGENAMEE}} edit table] || || || || || || || ||
|- class="tableEdit_footer"
|<span class="tableEdit_editLink plainlinks">[{{SERVER}}{{SCRIPTPATH}}?title=Special:TableEdit&id=63ce1649aab8b3180235b0af7618f667.105298.K4855f81255456&page=105298&pagename={{FULLPAGENAMEE}}&type=0&template=GO_table_product edit table]</span> || || || || || || || ||
|}
|}
<!--box uid=63ce1649aab8b3180235b0af7618f667.105298.M46ac0834b09fd--></protect>
<!--box uid=63ce1649aab8b3180235b0af7618f667.105298.K4855f81255456--></protect>

Latest revision as of 17:04, 17 June 2010

This Sandbox page is a place where users can play with the table editor. Additional documentation is at Special:TableEdit

  • Unregistered users can:
    • Open the example tables and use the editor. However, any changes will not be saved to the page
  • Registered users can:
    • Save changes
    • Make new tables in the play area

Freeform table example

This table allows editing. It was created using the markup: <newTableEdit> Heading 1 Heading 2 Heading 3</newTableEdit> You can change the heading text, background color, or alignment, add columns, add data, or rotate the table <protect>

[[Template:]] not found


Templated table example

In this table the headings are set from a template using the markup <newTableEdit>Template:GO_table_product</newTableEdit> where GO_table_product is a template for the table type. It illustrates how you can customize the editing interface with pulldown menus, queries to other databases, and simple calculations. For example GO terms have the form "GO:ddddddd" where ddddddd is a seven digit number. Try typing GO:0000123 in the GO id field and then click update. Try putting a PMID in the references cell.

[[Template:]] not found

</protect>

Play area for registered users

Table nesting is possible, but if you just use <newTableEdit/> on the inside, any edits of the outer table destroy the inner table. Updates to the inner table are not recorded as changes to the outer table.

Outside table Heading 1 Outside table Heading 2

This is in the outer table

This is in the outer table

this is in the outer table

<protect>

|- | more in the outer table | edit the outer table

|- class="tableEdit_footer" |edit table || |} </protect>

Gene Product Qualifier GO ID Go term name Aspect Reference Annotator Date


See Help:Gene_ontology for help entering or editing GO terms and GO annotations in EcoliWiki.

Qualifier GO ID GO term name Reference(s) Evidence Code with/from Aspect Notes Status