Help:Linking within wiki articles: Difference between revisions

From COLLADA Public Wiki
Jump to navigation Jump to search
Elf (talk | contribs)
more info on links and capitalization
Elf (talk | contribs)
Examples: add explanations to table.
Line 6: Line 6:
{|
{|
|-
|-
!width=25%|Description
!Link format
!Link format
!Looks like
!Looks like
|-
|-
|Basic link to article title (see capitalization info below).
|
|
  <nowiki>[[wiki]]</nowiki>
  <nowiki>[[wiki]]</nowiki>
|[[wiki]]
|[[wiki]]
|-
|-
|Plurals and other suffixes adjacent to the link display as part of the link.
|
|
  <nowiki>[[wiki]]s</nowiki>
  <nowiki>[[wiki]]s</nowiki>
|[[wiki]]s
|[[wiki]]s
|-
|-
|Adjacent suffixes display as part of the link, but not prefixes.
|
|
  <nowiki>re[[wiki]]fication</nowiki>
  <nowiki>re[[wiki]]fication</nowiki>
|re[[wiki]]fication
|re[[wiki]]fication
|-
|-
|Piping: Display the text after the vertical bar as the link text.
|
|
  <nowiki>[[wiki|some wiki software]]</nowiki>
  <nowiki>[[wiki|some wiki software]]</nowiki>
|[[wiki|some wiki software]]
|[[wiki|some wiki software]]
|-
|-
|URL displayed as link ("external link" icon appears automatically for all URL links).
|
|
  <nowiki>http://www.collada.org</nowiki>
  <nowiki>http://www.collada.org</nowiki>
|http://www.collada.org
|http://www.collada.org
|-
|-
|URL displayed as automatically incremented number; particularly useful for references within an article.
|
|
  <nowiki>[http://www.collada.org]</nowiki>
  <nowiki>[http://www.collada.org]</nowiki><BR><nowiki>[http://www.khronos.org]</nowiki>
|[http://www.collada.org]
|[http://www.collada.org]<BR>[http://www.khronos.org]
|-
|-
|Text following URL displayed as link.
|
|
  <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]
|-
|-
|Full [[namespace]] title displayed as link.
|
|
  <nowiki>[[Help:Adding a new article]]</nowiki>
  <nowiki>[[Help:Adding a new article]]</nowiki>
|[[Help:Adding a new article]]
|[[Help:Adding a new article]]
|-
|-
|Shortcut to suppress [[namespace]] when displaying link.
|
|
  <nowiki>[[Help:Adding a new article|]]</nowiki>
  <nowiki>[[Help:Adding a new article|]]</nowiki>

Revision as of 00:59, 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.

Description 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
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]
[http://www.khronos.org]
[1]
[2]
Text following URL displayed as link.
[http://www.collada.org Collada web site]
Collada web site
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

Capitalization

The wiki software is somewhat sensitive to capitalization: