Forum:How to add a new row into chart?
Hello, explain please, how can i put some new rows into charts.
Unfortunately I can't give you exact code for the tables (since I'm not sure which one you're referring to), but I can give you some of the basics.
Make sure you're editing using the Classic Editor and place each of the following on their own line unless specified otherwise.
To add a Table place {| where the top of the table is to go. By default class="article-table" should be added to the right of the {|give the table basic styling.
Place ! wherever a new table header is needed. The header content should be placed directly to the right of this.
Place | wherever a new table cell is needed. The cell content should be placed directly to the right of this.
To separate each row of cells place a |- to denote a new row
To end the table place |}
An example of a basic table:
The Code:
{| class="article-table"
! Header 1
! Header 2
|-
| Row 1 Cell 1
| Row 1 Cell 2
|-
| Row 2 Cell 1
| Row 2 Cell 2
|}
How the above code looks in the article:
| Header 1 | Header 2 |
|---|---|
| Row 1 Cell 1 | Row 1 Cell 2 |
| Row 2 Cell 1 | Row 2 Cell 2 |
Hope that helps.
Emailformygames (talk) 07:34, January 13, 2015 (UTC)