User talk:Anna: Difference between revisions

From Cor ad Cor
Jump to navigation Jump to search
No edit summary
 
(One intermediate revision by the same user not shown)
Line 2: Line 2:


Welcome to the wiki!  [[User:Mxmsj|Mxmsj]] ([[User talk:Mxmsj|talk]]) 22:45, 22 July 2014 (UTC)
Welcome to the wiki!  [[User:Mxmsj|Mxmsj]] ([[User talk:Mxmsj|talk]]) 22:45, 22 July 2014 (UTC)
== Table talk ==
Coding a table is a little bit strange on the wiki.
Each new line starts with pipe-hyphen (|-).
Each new ''cell'' in the line starts on a new line with a pipe in front of it.
In these examples, I've first shown you the code you use by surrounding the code with <nowiki><pre></pre> tags.</nowiki>
<pre>
{|
|-
| first cell
| second cell
|-
| first cell
| second cell
|-
| first cell
| second cell
|}
</pre>
{|
|-
| first cell
| second cell
|-
| first cell
| second cell
|-
| first cell
| second cell
|}
This table uses a lot more formatting instructions than the table above:
# <nowiki>{{Prettytable}}</nowiki>: extra formatting instructions for the table
# <nowiki>valign="top"</nowiki>: make things start at the top of each cell in the line
# <nowiki>|align="right"</nowiki>: make things in this cell align to the right
<pre>
{|{{Prettytable}}
|- valign="top"
|align="right"|
|
|}
</pre>
{|{{Prettytable}}
|- valign="top"
|align="right"|1952-08-21
|My birthday in the best format for sorting dates alphabetically.
|- valign="top"
|align="right"|2014-07-22
|Feast of St. Mary Magdalene.
|}

Latest revision as of 01:00, 23 July 2014

This is Anna's talk page.

Welcome to the wiki! Mxmsj (talk) 22:45, 22 July 2014 (UTC)

Table talk

Coding a table is a little bit strange on the wiki.

Each new line starts with pipe-hyphen (|-).

Each new cell in the line starts on a new line with a pipe in front of it.

In these examples, I've first shown you the code you use by surrounding the code with <pre></pre> tags.


{|
|- 
| first cell
| second cell
|- 
| first cell
| second cell
|- 
| first cell
| second cell
|}

first cell second cell
first cell second cell
first cell second cell

This table uses a lot more formatting instructions than the table above:

  1. {{Prettytable}}: extra formatting instructions for the table
  2. valign="top": make things start at the top of each cell in the line
  3. |align="right": make things in this cell align to the right

{|{{Prettytable}}
|- valign="top"
|align="right"|
|
|}

1952-08-21 My birthday in the best format for sorting dates alphabetically.
2014-07-22 Feast of St. Mary Magdalene.