Editing Help:Wikitext Examples

From TemeraireWiki
Jump to: navigation, search

Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.

The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision Your text
Line 81: Line 81:
 
=== HTML tags ===
 
=== HTML tags ===
 
You can use some '''HTML tags''' too.  For a list of HTML tags that are allowed, see [[Help:HTML|HTML]]. However, you should avoid HTML in favor of Wiki markup whenever possible.
 
You can use some '''HTML tags''' too.  For a list of HTML tags that are allowed, see [[Help:HTML|HTML]]. However, you should avoid HTML in favor of Wiki markup whenever possible.
 +
  
 
{| border="1" cellpadding="2"
 
{| border="1" cellpadding="2"
Line 174: Line 175:
  
 
Start with 2 equals signs not 1 because 1 creates H1 tags which should be reserved for page title.
 
Start with 2 equals signs not 1 because 1 creates H1 tags which should be reserved for page title.
|}
+
|<pre>
 +
=== Links ===
  
=== Links ===
 
 
You will often want to make clickable ''links'' to other pages.
 
You will often want to make clickable ''links'' to other pages.
  
Line 246: Line 247:
 
the link text.
 
the link text.
  
*[[Help:Links|About Links]]
+
*[[Help:Link|About Links]]
 
*[[List of cities by country#Morocco|
 
*[[List of cities by country#Morocco|
 
Cities in Morocco]]
 
Cities in Morocco]]
Line 260: Line 261:
 
the link text.
 
the link text.
  
*[[Help:Links|About Links]]
+
*[[Help:Link|About Links]]
 
*[[List of cities by country#Morocco|
 
*[[List of cities by country#Morocco|
 
Cities in Morocco]]
 
Cities in Morocco]]
Line 316: Line 317:
 
|-
 
|-
 
|
 
|
[[Help:Categories|Category links]] do not show up in line
+
[[Help:Category|Category links]] do not show up in line
 
but instead at page bottom ''and cause the page to be
 
but instead at page bottom ''and cause the page to be
 
listed in the category.''
 
listed in the category.''
<nowiki>[[Category:Help]]</nowiki>
+
[[Category:Help]]
  
 
Add an extra colon to ''link'' to a category in line
 
Add an extra colon to ''link'' to a category in line
Line 325: Line 326:
 
[[:Category:Help]]
 
[[:Category:Help]]
 
|<pre>
 
|<pre>
<nowiki>[[Help:Category|Category links]] do not show up in line
+
[[Help:Category|Category links]] do not show up in line
 
but instead at page bottom ''and cause the page to be
 
but instead at page bottom ''and cause the page to be
 
listed in the category.''
 
listed in the category.''
[[Category:Help]]<nowiki>
+
[[Category:Help]]
  
 
Add an extra colon to ''link'' to a category in line
 
Add an extra colon to ''link'' to a category in line
Line 354: Line 355:
 
|}
 
|}
  
[[Category:Help|Wikitext Examples]]
+
=== Links ===
 +
 
 +
You will often want to make clickable ''links'' to other pages.
 +
 
 +
{|width="100%"  border="1" cellpadding="2" cellspacing="0"
 +
|-
 +
!What it looks like
 +
!What you type
 +
|-
 +
|
 +
Here's a link to a page named [[HMS Reliant]].
 +
You can even say [[HMS Reliant]]'s
 +
and the link will show up correctly.
 +
|<pre>
 +
Here's a link to a page named [[HMS Reliant]].
 +
You can even say [[Official position]]s
 +
and the link will show up correctly.
 +
</pre>
 +
|-
 +
|
 +
You can put formatting around a link.
 +
Example: ''[[William Laurence]]''.
 +
|<pre>
 +
You can put formatting around a link.
 +
Example: ''[[William Laurence]]''.
 +
</pre>
 +
|-
 +
|
 +
The ''first letter'' of articles is automatically
 +
capitalized, so [[Temeraire]] goes to the same place
 +
as [[temeraire]]. Capitalization matters after the
 +
first letter.
 +
|<pre>
 +
The ''first letter'' of articles is automatically
 +
capitalized, so [[Temeraire]] goes to the same place
 +
as [[temeraire]]. Capitalization matters after the
 +
first letter.
 +
</pre>
 +
|-
 +
|
 +
[[The weather in Moscow]] is a page that doesn't exist
 +
yet. You could create it by clicking on the link.
 +
|<pre>
 +
[[The weather in Moscow]] is a page that doesn't exist
 +
yet. You could create it by clicking on the link.
 +
</pre>
 +
|-
 +
|
 +
You can link to a page section by its title:
 +
 
 +
*[[List of cities by country#Morocco]].
 +
 
 +
If multiple sections have the same title, add
 +
a number. [[#Example section 3]] goes to the
 +
third section named "Example section".
 +
|<pre>
 +
You can link to a page section by its title:
 +
 
 +
*[[List of cities by country#Morocco]].
 +
 
 +
If multiple sections have the same title, add
 +
a number. [[#Example section 3]] goes to the
 +
third section named "Example section".
 +
</pre>
 +
|-
 +
|
 +
You can make a link point to a different place
 +
with a [[Help:Piped link|piped link]]. Put the link
 +
target first, then the pipe character "|", then
 +
the link text.
 +
 
 +
*[[Help:Link|About Links]]
 +
*[[List of cities by country#Morocco|
 +
Cities in Morocco]]
 +
 
 +
Or you can use the "pipe trick" so that text in
 +
brackets does not appear.
 +
 
 +
*[[Spinning (textiles)|Spinning]]
 +
|<pre>
 +
You can make a link point to a different place
 +
with a [[Help:Piped link|piped link]]. Put the link
 +
target first, then the pipe character "|", then
 +
the link text.
 +
 
 +
*[[Help:Link|About Links]]
 +
*[[List of cities by country#Morocco|
 +
Cities in Morocco]]
 +
 
 +
Or you can use the "pipe trick" so that text in
 +
brackets does not appear.
 +
 
 +
*[[Spinning (textiles)|]]
 +
</pre>
 +
|-
 +
|
 +
You can make an external link just by typing a URL:
 +
http://www.temeraire.org
 +
 
 +
You can give it a title:
 +
[http://www.temeraire.org Temeraire Site]
 +
 
 +
Or leave the title blank:
 +
[http://www.temeraire.org]
 +
|
 +
<pre>
 +
You can make an external link just by typing a URL:
 +
http://www.temeraire.org
 +
 
 +
You can give it a title:
 +
[http://www.temeraire.org Temeraire Site]
 +
 
 +
Or leave the title blank:
 +
[http://www.temeraire.org]
 +
</pre>
 +
|-
 +
|
 +
Linking to an e-mail address works the same way:
 +
mailto:someone@domain.com or
 +
[mailto:someone@domain.com someone]
 +
|
 +
<pre>
 +
Linking to an e-mail address works the same way:
 +
mailto:someone@domain.com or
 +
[mailto:someone@domain.com someone]
 +
</pre>
 +
|-
 +
|
 +
You can [[Help:Redirect|redirect]] the user to another page.  If you feel a page may
 +
requires a redirect from another page, simply create the page from which you want to redirect the reader.
 +
The only text on it should be #REDIRECT and the link to the desired page.
 +
 
 +
For example, [[HMS Reliant]] redirects to [[H.M.S. Reliant]].
 +
 
 +
|<pre>
 +
The only text on the HMS Reliant page:
 +
 
 +
#REDIRECT [[H.M.S. Reliant]]
 +
</pre>
 +
|-
 +
|
 +
[[Help:Category|Category links]] do not show up in line
 +
but instead at page bottom ''and cause the page to be
 +
listed in the category.''
 +
[[Category:Help]]
 +
 
 +
Add an extra colon to ''link'' to a category in line
 +
without causing the page to be listed in the category:
 +
[[:Category:Help]]
 +
|<pre>
 +
[[Help:Category|Category links]] do not show up in line
 +
but instead at page bottom ''and cause the page to be
 +
listed in the category.''
 +
[[Category:Help]]
 +
 
 +
Add an extra colon to ''link'' to a category in line
 +
without causing the page to be listed in the category:
 +
[[:Category:Help]]
 +
</pre>
 +
|-
 +
|
 +
The Wiki reformats linked dates to match the reader's
 +
date preferences. These three dates will show up the
 +
same if you choose a format in your
 +
[[Special:Preferences|Preferences]]:
 +
* [[July 20]], [[1969]]
 +
* [[20 July]] [[1969]]
 +
* [[1969]]-[[07-20]]
 +
|<pre>
 +
The Wiki reformats linked dates to match the reader's
 +
date preferences. These three dates will show up the
 +
same if you choose a format in your
 +
[[Special:Preferences|]]:
 +
* [[July 20]], [[1969]]
 +
* [[20 July]] [[1969]]
 +
* [[1969]]-[[07-20]]
 +
</pre>
 +
|}

Please note that all text contributions to the Temeraire Wiki may be used and edited by others.
If you don't want your writing to be edited mercilessly and redistributed at will, then don't submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource.
DO NOT SUBMIT COPYRIGHTED TEXT OR IMAGES WITHOUT PERMISSION!

To edit this page, please answer the question that appears below (more info):

Cancel | Editing help (opens in new window)