Difference between revisions of "Help talk:VisualEditor"
ArvindIOTF (talk | contribs) (HTML Attributes) |
ArvindIOTF (talk | contribs) m (ArvindIOTF moved page Help talk:Visual Editor to Help talk:VisualEditor: CamelCase) |
||
(3 intermediate revisions by the same user not shown) | |||
Line 6: | Line 6: | ||
== Log Issues here == | == Log Issues here == | ||
− | :Tables need massaging. | + | :Use Wikipedia Sandbox |
− | + | Please create a account on Wikipedia. The configure to use the wikEd editor by Select wikEd under Gadgets in your wiki preferences. | |
− | *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. | + | Now Copy&Paste the formatted text, table you want into sandbox. Most of time content will come thru but some formatting may need tweaks as mentioned earlier esp HTML attributes --[[User talk:ArvindIOTF|Arvind Tiwary ]] 22:14, 18 October 2017 (PDT) |
− | 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. | + | |
+ | ---- | ||
+ | |||
+ | :Tables need massaging with HTML | ||
+ | See Wikipedia help https://en.wikipedia.org/wiki/Help:Introduction_to_tables_with_Wiki_Markup/5 | ||
+ | |||
+ | *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. | ||
+ | |||
+ | |||
+ | CSS attributes can be added to the whole table by editing the first line of the table using <code><nowiki>{| style=" "</nowiki></code> in the first line. Similarly, attributes can be added to a row using <code><nowiki>|- style=" "</nowiki></code> The example below would fill the ''whole'' table yellow. | ||
+ | <pre style="width:70%"> | ||
+ | {| class="wikitable" style="background: yellow" | ||
+ | </pre> | ||
*See [[https://en.wikipedia.org/wiki/Wikipedia:Advanced_table_formattingWiki Wiki help notes]] | *See [[https://en.wikipedia.org/wiki/Wikipedia:Advanced_table_formattingWiki Wiki help notes]] |
Latest revision as of 11:35, 20 October 2017
Please indent your comments by begining the line with :
Add your signature by using ~~~~ at the end. See Signature
Log Issues here[edit]
- Use Wikipedia Sandbox
Please create a account on Wikipedia. The configure to use the wikEd editor by Select wikEd under Gadgets in your wiki preferences. Now Copy&Paste the formatted text, table you want into sandbox. Most of time content will come thru but some formatting may need tweaks as mentioned earlier esp HTML attributes --Arvind Tiwary 22:14, 18 October 2017 (PDT)
- Tables need massaging with HTML
See Wikipedia help https://en.wikipedia.org/wiki/Help:Introduction_to_tables_with_Wiki_Markup/5
- 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.
CSS attributes can be added to the whole table by editing the first line of the table using {| style=" "
in the first line. Similarly, attributes can be added to a row using |- style=" "
The example below would fill the whole table yellow.
{| class="wikitable" style="background: yellow"
- See [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>".
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)