EcoliWiki:TableEdit Sandbox: Difference between revisions
m →Templated table example: Added Template prefix. |
|||
| Line 43: | Line 43: | ||
== Templated table example == | == Templated table example == | ||
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. 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. | 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--> | <protect><!--box uid=63ce1649aab8b3180235b0af7618f667.105298.M46ac0834b09fd--> | ||
<!--*** 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. *** --> | ||
Revision as of 22:42, 26 September 2008
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 |
| Qualifier | GO ID | GO term name | Reference(s) | Evidence Code | with/from | Aspect | Notes | Status |
|---|---|---|---|---|---|---|---|---|
| edit table |