Help:Editing: Difference between revisions

→‎Internal links: a bit more correct
No edit summary
(→‎Internal links: a bit more correct)
Line 99: Line 99:
:<tt><nowiki>[[Main Page]]</nowiki></tt>
:<tt><nowiki>[[Main Page]]</nowiki></tt>


If you want to use words other than the article title as the text of the link, you can add an alternative name by adding it after a pipe "|" divider (SHIFT + BACKSLASH on English-layout and other keyboards).
If you want to use words other than the article title as the text of the link, you can add an alternative name by adding it after a pipe "|" divider (Shift + Backslash on most English keyboards).


For example, if you wanted to make a link to the [[Main Page]], but wanted it to say "home page" you would write it as such:
For example, if you wanted to make a link to the [[Main Page]], but wanted it to say "home page" you would write it as such:
Line 117: Line 117:
:[[Party Ball]]s release many [[item]]s.
:[[Party Ball]]s release many [[item]]s.


In some cases, links can lead to places that aren't stated in the brackets, such as <tt><nowiki>[[PK Thunder 2]]</nowiki></tt>, which will lead to the [[PK Thunder]] page. A prime example is character pages; the usage of <tt><nowiki>{{SSB|Pikachu}}</nowiki></tt>will lead to the {{SSB|Pikachu}} page, so writing <tt><nowiki>[[Pikachu (SSB)|Pikachu]]</nowiki></tt> is unnecessary and clutters the page. If this is seen, it is best to replace it with the correct format.
Several templates exist for the purpose of shortening commonly-used link patterns. An example of this is the {{t|SSBM}} template, which can be used to shorten <tt><nowiki>[[Mario (SSBM)|Mario]]</nowiki></tt> into <tt><nowiki>{{SSBM|Mario}}</nowiki></tt>; the two both look and act the same when viewed on a page ([[Mario (SSBM)|Mario]] and {{SSBM|Mario}}), but one is simpler to type than the other. Make sure to preview edits using shortcut link templates so you know you've used them properly.


===Interwiki links===
===Interwiki links===