Help:Syntax: Difference between revisions
Jump to navigation
Jump to search
(Created page with "__NOTOC__ {| class="wikitable" style="width:100%;" ! style="width:33.3%;" | Description ! style="width:33.3%;" | You type ! style="width:33.3%;" | You get |- | Paragraphs | <pre ...") |
m (moved gallery) |
||
(One intermediate revision by the same user not shown) | |||
Line 7: | Line 7: | ||
| Paragraphs | | Paragraphs | ||
| | | | ||
<pre style="padding:0;border:0;">A single newline has no | <pre style="padding:0;border:0;"> | ||
A single newline has no | |||
effect on the layout. | effect on the layout. | ||
But an empty line starts a new paragraph, or ends a list or indented part.</pre> | But an empty line starts a new paragraph, or ends a list or indented part. | ||
</pre> | |||
| | | | ||
A single newline has no | A single newline has no | ||
Line 19: | Line 21: | ||
| Line breaks | | Line breaks | ||
| | | | ||
<pre style="padding:0;border:0;">You can break lines<br /> | <pre style="padding:0;border:0;"> | ||
without starting a new paragraph.</pre> | You can break lines<br /> | ||
without starting a new paragraph. | |||
</pre> | |||
| | | | ||
You can break lines<br /> | You can break lines<br /> | ||
Line 34: | Line 38: | ||
|- | |- | ||
| Bold and italic text | | Bold and italic text | ||
| <code><nowiki> | | <code><nowiki>'''''bold and italic'''''</nowiki></code> | ||
| '''''bold and italic''''' | | '''''bold and italic''''' | ||
|- | |- | ||
Line 55: | Line 59: | ||
| <code><nowiki>[[File:Example.png|thumb|left|alt=Alt text|Caption]]</nowiki></code> | | <code><nowiki>[[File:Example.png|thumb|left|alt=Alt text|Caption]]</nowiki></code> | ||
| [[File:Example.png|thumb|left|alt=Alt text|Caption]] | | [[File:Example.png|thumb|left|alt=Alt text|Caption]] | ||
|- | |||
| Gallery | |||
<div style="padding:.7em .5em;font-size:.9em;">''<code>perrow</code> should be <code>4</code>''</div> | |||
| | |||
<pre style="padding:0;border:0;"> | |||
<gallery perrow="4"> | |||
Image:Example.png|Caption | |||
Image:Example.png|Caption | |||
</gallery> | |||
</pre> | |||
| | |||
<gallery perrow="4"> | |||
Image:Example.png|Caption | |||
Image:Example.png|Caption | |||
</gallery> | |||
|- | |- | ||
| Add a page to a category | | Add a page to a category |
Latest revision as of 05:26, 10 February 2011
Description | You type | You get |
---|---|---|
Paragraphs |
A single newline has no effect on the layout. But an empty line starts a new paragraph, or ends a list or indented part. |
A single newline has no effect on the layout. But an empty line starts a new paragraph, or ends a list or indented part. |
Line breaks |
You can break lines<br /> without starting a new paragraph. |
You can break lines |
Italic text | ''italic''
|
italic |
Bold text | '''bold'''
|
bold |
Bold and italic text | '''''bold and italic'''''
|
bold and italic |
Link to another page | [[Name of page]] [[Name of page|Text to display]]
|
Name of page Text to display |
Link to an external site | [http://www.google.com/] [http://www.google.com/ Text to display]
|
[1] Text to display |
Add an image
Parameters can be omitted.
|
[[File:Example.png|100px|alt=Alt text|Title text]]
|
|
Add a thumbnail
Parameters can be omitted.
The thumbnail will float right if the
left parameter is omitted. |
[[File:Example.png|thumb|left|alt=Alt text|Caption]]
|
|
Gallery
perrow should be 4 |
<gallery perrow="4"> Image:Example.png|Caption Image:Example.png|Caption </gallery> |
|
Add a page to a category | [[Category:Category name]]
|
Categories should be placed at the end of pages. The category name will display in a bar at the bottom when the page is previewed or saved. |
Signature
Sign your contributions when posting to a talk page.
Do not sign when contributing to an article.
|
~~~~
|
Username (talk) 18:45, 24 November 2024 (UTC) |
Redirect to another page
Redirects must be placed at the start of the first line.
|
#REDIRECT [[Target page]]
|
↳ Target page |
Section headings
= Level 1 = should not be used. |
|
Level 2Level 3Level 4Level 5Level 6 |
Bulleted list |
|
|
Numbered list |
|
|
Indented text
This is generally used when replying on a talk page, as it keeps conversations easy to browse.
|
|
no indent (normal)
|
Ignore wiki markup | <nowiki>[[Link]] ''italic text''</nowiki>
|
[[Link]] ''italic text'' |