Help talk:VisualEditor

From IoTWiki
Revision as of 05:00, 19 October 2017 by ArvindIOTF (talk | contribs)
Jump to: navigation, search

Please indent your comments by begining the line with :

Add your signature by using ~~~~ at the end. See Signature

Log Issues here

Tables need massaging with HTML
  • From Table Help Each mark, except table end (|}), optionally accepts one or more HTML attributes. Attributes must be on the same line as the mark. Cells and caption (| or ||, ! or !!, and |+) hold content. So separate any attributes from content with a single pipe (|), with attributes preceding content. Table and row marks ({| and |-) do not directly hold content. Do not add a pipe (|) after any attributes.

Commonly included attributes in tables include: class, for example class="wikitable"; style, for CSS styling; scope, to indicate row or column header cells; rowspan, to extend cells by more than one row; colspan, to extend cells by more than one column.

The wikitext for any one row can be compressed onto a single line by joining columns with double-bars "||" between them and ending each row with "<tr>".

Example row 1: |fmtspec|AA||fmtspec|CC||fmtspec|EE<tr> Example row 2: |fmtspec|BB||fmtspec|DD||fmtspec|FF<tr>

(The fmtspec can be bgcolor=beige or style="font-size:91%, width=30%, background-color: orange;" etc.) --Arvind Tiwary 21:02, 18 October 2017 (PDT)