X-Git-Url: https://git.openafs.org/?p=openafs-wiki.git;a=blobdiff_plain;f=TWiki%2FEditTablePlugin.mdwn;h=a08fc120474b87da4f1ef2059bf96080e73f75c7;hp=ee06c67c285baf2864037a55f37d0fbeedab4b18;hb=83f7ad62cd9ac5ba5166f6a91e2d6a46fb69ae5e;hpb=bb0699624ac6db2f126694efcc761068aad43f97 diff --git a/TWiki/EditTablePlugin.mdwn b/TWiki/EditTablePlugin.mdwn index ee06c67..a08fc12 100644 --- a/TWiki/EditTablePlugin.mdwn +++ b/TWiki/EditTablePlugin.mdwn @@ -1,15 +1,17 @@ # Edit Table Plugin -This plugin allows you to edit TWiki tables using edit fields and drop down boxes. Tables have an **[ Edit table ]** button if preceeded by an `%EDITTABLE{...}%` variable. Each column can be a text field, a drop down box or a row number. Multiple tables per topic are editable, but only one at a time can be edited. +This plugin allows you to edit TWiki tables using edit fields and drop down boxes. Tables have an **[ Edit table ]** button if preceeded by an `%EDITTABLE{...}%` variable. Each column can be a text field, a drop down box, a date field, etc. Multiple tables per topic are editable, but only one at a time can be edited.
format
| text, <size>, <initial value> |
%BR% - Textarea input field:%BR% Â | textarea, <rows>x<columns>, <initial value> |
%BR% - Drop down box: %BR% Â | select, <size>, <option 1>, <option 2>, etc |
%BR% - Fixed label: %BR% Â | label, 0, <label text> |
%BR% - Row number: %BR% Â | row, <offset> |
%BR% - Date: %BR% Â | date, <size>, <initial value>, <DHTML date format> |
| text, <size>, <initial value> |
%BR% - Textarea input field:%BR% Â | textarea, <rows>x<columns>, <initial value> |
%BR% - Drop down box: %BR% Â | select, <size>, <option 1>, <option 2>, etc |
%BR% - Fixed label: %BR% Â | label, 0, <label text> |
%BR% - Row number: %BR% Â | row, <offset> |
%BR% - Date: %BR% Â | date, <size>, <initial value>, <DHTML date format> |
"text, 16"
%BR% for all cells headerislabel
"on"
; header cells can be edited if "off"
or "0" "on"
editbutton
"Edit this table"
; set button image with alt text, e.g. "Edit table, %PUBURL%/%TWIKIWEB%/TWikiDocGraphics/edittopic.gif"
; hide button, e.g. "hide"
(Note: Automatically hidden if edit button is present in a cell) EDITBUTTON
%BR% Plugin setting