EcoliWiki:TableEdit Sandbox: Difference between revisions

From EcoliWiki
Jump to navigation Jump to search
m →Templated table example: Added Template prefix.
No edit summary
Line 92: Line 92:
<!--
<!--
******************************************************************************************
******************************************************************************************
*
*  
*  ** PLEASE DON'T EDIT THIS TABLE DIRECTLY.  Use the edit table link under the table. **
*  ** PLEASE DON'T EDIT THIS TABLE DIRECTLY.  Use the edit table link under the table. **  
*
*  
****************************************************************************************** -->
****************************************************************************************** -->
{|class = 'sortable' {{Prettytable}} id='242205'
{|class = 'sortable' border="2" cellpadding="4" cellspacing="0" style="margin: 1em 1em 1em 0; border: 1px #aaa solid; border-collapse: collapse;" 
|-
|-
!Gene Product!!Qualifier!!GO ID!!Go term name!!Aspect!!Reference!!Annotator!!Date
!|Gene Product!!Qualifier!!GO ID!!Go term name!!Aspect!!Reference!!Annotator!!Date
 
|-class='sortbottom'
|-class='sortbottom'
|[{{SERVER}}{{SCRIPTPATH}}/index.php?title=Special:TableEdit&id=63ce1649aab8b3180235b0af7618f667.105298.U4855f7cb1b81b&page=105298&pagename={{FULLPAGENAMEE}} edit table] || || || || || || ||
|[{{SERVER}}{{SCRIPTPATH}}?title=Special:TableEdit&id=63ce1649aab8b3180235b0af7618f667.105298.U4855f7cb1b81b&page=105298&pagename={{FULLPAGENAMEE}}&type=0&template= edit table] || || || || || || ||
|}
|}
<!--box uid=63ce1649aab8b3180235b0af7618f667.105298.U4855f7cb1b81b--></protect>
<!--box uid=63ce1649aab8b3180235b0af7618f667.105298.U4855f7cb1b81b--></protect>
Line 107: Line 108:
<!--
<!--
******************************************************************************************
******************************************************************************************
*
*  
*  ** PLEASE DON'T EDIT THIS TABLE DIRECTLY.  Use the edit table link under the table. **
*  ** PLEASE DON'T EDIT THIS TABLE DIRECTLY.  Use the edit table link under the table. **  
*
*  
****************************************************************************************** -->
****************************************************************************************** -->{{Product_GO_help}}
{|class = 'sortable' {{Prettytable}} id='242206'
{|class = 'sortable' border="2" cellpadding="4" cellspacing="0" style="margin: 1em 1em 1em 0; border: 1px #aaa solid; border-collapse: collapse;" 
|- {{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'
|-class='sortbottom'
|[{{SERVER}}{{SCRIPTPATH}}/index.php?title=Special:TableEdit&id=63ce1649aab8b3180235b0af7618f667.105298.K4855f81255456&page=105298&pagename={{FULLPAGENAMEE}} edit table] || || || || || || || ||
|[{{SERVER}}{{SCRIPTPATH}}?title=Special:TableEdit&id=63ce1649aab8b3180235b0af7618f667.105298.K4855f81255456&page=105298&pagename={{FULLPAGENAMEE}}&type=0&template=GO_table_product edit table] || || || || || || || ||
|}
|}
<!--box uid=63ce1649aab8b3180235b0af7618f667.105298.K4855f81255456--></protect>
<!--box uid=63ce1649aab8b3180235b0af7618f667.105298.K4855f81255456--></protect>

Revision as of 18:47, 5 October 2009

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>

Heading 1 Heading 2 Heading 3

data 1

data 2

data 3

data 4

data 5

data 6

edit table


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.

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

</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> Create Table Here

|- | more in the outer table | edit the outer table |-class='sortbottom' |edit table || |} </protect>

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


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
edit table