Help:Syntax: Difference between revisions
Jump to navigation
Jump to search
(added gallery syntax) |
m (moved gallery) |
||
Line 59: | 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 | ||
Line 130: | Line 145: | ||
| <code><nowiki><nowiki>[[Link]] ''italic text''</nowiki></nowiki></code> | | <code><nowiki><nowiki>[[Link]] ''italic text''</nowiki></nowiki></code> | ||
| <nowiki>[[Link]] ''italic text''</nowiki> | | <nowiki>[[Link]] ''italic text''</nowiki> | ||
|} | |} |
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) 16:55, 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'' |