Help:Linking within wiki articles: Difference between revisions
Jump to navigation
Jump to search
→Examples: add explanations to table. |
break examples into subsections |
||
Line 4: | Line 4: | ||
You can either use the name of an article as a link, or you can pipe the link so that text appears that is different from the article's title. Links to external sites are formatted--and appear--slightly differently. | You can either use the name of an article as a link, or you can pipe the link so that text appears that is different from the article's title. Links to external sites are formatted--and appear--slightly differently. | ||
===Main namespace articles=== | |||
{| | {| | ||
|- | |- | ||
!width=25%| | !width=25%| | ||
!Link format | !Link format | ||
!Looks like | !Looks like | ||
Line 29: | Line 30: | ||
<nowiki>[[wiki|some wiki software]]</nowiki> | <nowiki>[[wiki|some wiki software]]</nowiki> | ||
|[[wiki|some wiki software]] | |[[wiki|some wiki software]] | ||
|} | |||
===Other namespace articles=== | |||
{| | |||
|- | |||
!width=25%| | |||
!Link format | |||
!Looks like | |||
|- | |||
|Full [[namespace]] title displayed as link. | |||
| | |||
<nowiki>[[Help:Adding a new article]]</nowiki> | |||
|[[Help:Adding a new article]] | |||
|- | |||
|Shortcut to suppress [[namespace]] when displaying link. | |||
| | |||
<nowiki>[[Help:Adding a new article|]]</nowiki> | |||
|[[Help:Adding a new article|Adding a new article]] | |||
|} | |||
===Subheadings within articles=== | |||
{| | |||
|- | |||
!width=25%| | |||
!Link format | |||
!Looks like | |||
|- | |||
|Use HTML notation for a named link within a document; the subheading of the article is the link. (You do not need to encode spaces or special characters.) | |||
| | |||
<nowiki>[[Softimage XSI extensions#<light> extra]]</nowiki> | |||
|[[Softimage XSI extensions#<light> extra]] | |||
|} | |||
===URLs=== | |||
{| | |||
|- | |||
!width=25%| | |||
!Link format | |||
!Looks like | |||
|- | |- | ||
|URL displayed as link ("external link" icon appears automatically for all URL links). | |URL displayed as link ("external link" icon appears automatically for all URL links). | ||
Line 44: | Line 84: | ||
<nowiki>[http://www.collada.org Collada web site]</nowiki> | <nowiki>[http://www.collada.org Collada web site]</nowiki> | ||
|[http://www.collada.org Collada web site] | |[http://www.collada.org Collada web site] | ||
|} | |} | ||
Revision as of 01:12, 24 April 2007
A Wiki link is an easily formatted link to other articles within the wiki or external to the wiki site.
Examples
You can either use the name of an article as a link, or you can pipe the link so that text appears that is different from the article's title. Links to external sites are formatted--and appear--slightly differently.
Main namespace articles
Link format | Looks like | |
---|---|---|
Basic link to article title (see capitalization info below). |
[[wiki]] |
wiki |
Plurals and other suffixes adjacent to the link display as part of the link. |
[[wiki]]s |
wikis |
Adjacent suffixes display as part of the link, but not prefixes. |
re[[wiki]]fication |
rewikification |
Piping: Display the text after the vertical bar as the link text. |
[[wiki|some wiki software]] |
some wiki software |
Other namespace articles
Link format | Looks like | |
---|---|---|
Full namespace title displayed as link. |
[[Help:Adding a new article]] |
Help:Adding a new article |
Shortcut to suppress namespace when displaying link. |
[[Help:Adding a new article|]] |
Adding a new article |
Subheadings within articles
Link format | Looks like | |
---|---|---|
Use HTML notation for a named link within a document; the subheading of the article is the link. (You do not need to encode spaces or special characters.) |
[[Softimage XSI extensions#<light> extra]] |
Softimage XSI extensions#<light> extra |
URLs
Link format | Looks like | |
---|---|---|
URL displayed as link ("external link" icon appears automatically for all URL links). |
http://www.collada.org |
http://www.collada.org |
URL displayed as automatically incremented number; particularly useful for references within an article. |
[http://www.collada.org] |
[1] [2] |
Text following URL displayed as link. |
[http://www.collada.org Collada web site] |
Collada web site |
Capitalization
The wiki software is somewhat sensitive to capitalization:
- To make it easier to use article titles in sentences, the first character of a title is not case sensitive; for example, wiki and Wiki go to the same article; so do runtime database and Runtime database.
- The rest of the letters are case sensitive. For example, COLLADA and coLLada do not go to the same article; neither do runtime database and Runtime Database.