Difference between revisions of "Help talk:VisualEditor"

From IoTWiki
Jump to: navigation, search
m
(HTML Attributes)
Line 6: Line 6:
  
 
== Log Issues here ==
 
== Log Issues here ==
:Tables need massaging. See [[https://en.wikipedia.org/wiki/Wikipedia:Advanced_table_formattingWiki  Wiki help notes]]
+
:Tables need massaging.  
 +
===HTML in Table===
 +
*From [https://en.wikipedia.org/wiki/Help:Table 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.
 +
 
 +
*See [[https://en.wikipedia.org/wiki/Wikipedia:Advanced_table_formattingWiki  Wiki help notes]]
 
''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>".''
 
''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>".''
  

Revision as of 04:59, 19 October 2017

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.
===HTML in Table===
  • 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)