Sandbox: Difference between revisions
No edit summary |
No edit summary |
||
Line 9: | Line 9: | ||
---- | ---- | ||
===Links and URLs=== | |||
{| border="1" cellpadding="2" cellspacing="0" | |||
|- style="width=100%" | |||
! What it looks like | |||
! What you type | |||
|- valign="top" | |||
| | |||
London has [[public transport]]. | |||
* A link to another Wiki article. | |||
* Internally, the first letter of the target page is automatically capitalized and spaces are represented as underscores (typing an underscore in the link has the same effect as typing a space, but is not recommended). | |||
* Thus the link above is to the [[URL]] en.wikipedia.org/wiki/Public_transport, which is the Wikipedia article with the name "Public transport". See also [[Wikipedia:Canonicalization]]. | |||
| | |||
<pre><nowiki> | |||
London has [[public transport]]. | |||
</nowiki></pre> | |||
|- valign="top" | |||
| | |||
San Francisco also has [[public transport| | |||
public transportation]]. | |||
* Same target, different name. | |||
* The target ("piped") text must be placed '''first''', then the text that will be displayed second. | |||
| | |||
<pre><nowiki> | |||
San Francisco also has | |||
[[public transport| | |||
public transportation]]. | |||
</nowiki></pre> | |||
|- valign="top" | |||
| | |||
San Francisco also has | |||
[[public transport]]ation. | |||
Examples include [[bus]]es, [[taxicab]]s, | |||
and [[streetcar]]s. | |||
* Endings are blended into the link. | |||
* Preferred style is to use this instead of a piped link, if possible. | |||
* Blending can be suppressed by using <nowiki><nowiki></nowiki></nowiki> tags, which may be desirable in some instances. Example: a [[micro]]<nowiki>second</nowiki>. | |||
| | |||
<pre><nowiki> | |||
San Francisco also has | |||
[[public transport]]ation. | |||
Examples include [[bus]]es, | |||
[[taxicab]]s, and [[streetcar]]s. | |||
a [[micro]]<nowiki>second</nowiki> | |||
</nowiki></pre> | |||
|- valign="top" | |||
| | |||
See the [[Wikipedia:Manual of Style]]. |
Revision as of 12:14, 5 June 2007
This is a test page for checking formatting of pages.
Text would go in here - as much is needed |
Links and URLs
What it looks like | What you type |
---|---|
London has public transport.
|
London has [[public transport]]. |
San Francisco also has public transportation.
|
San Francisco also has [[public transport| public transportation]]. |
San Francisco also has public transportation. Examples include buses, taxicabs, and streetcars.
|
San Francisco also has [[public transport]]ation. Examples include [[bus]]es, [[taxicab]]s, and [[streetcar]]s. a [[micro]]<nowiki>second </nowiki> |
See the Wikipedia:Manual of Style. |