Open main menu

Changes

Help:Links

2,828 bytes added, 23:52, 11 December 2009
no edit summary
{{Help}}
'''Linking''' hitchwiki articles together is very important. These easily created links allow users to access information related to the article they are reading and greatly add to hitchwiki's utility.

=== How to link ===
To make a link to another hitchwiki page (called a <em>wiki link</em>), put it in double square brackets, like this:
:<tt><nowiki>[[Afghanistan]]</nowiki></tt> = [[Afghanistan]]

If you want to link to an article, but display some other text for the link, you can do so by adding the pipe "|" divider (SHIFT + BACKSLASH on English-layout and other keyboards) followed by the alternative name. You can also find the pipe divider as second in the ''special chars'' list just below the ''Save Page'' button. An example:
:<tt><nowiki>[[Target page|display text]]</nowiki></tt> = [[Target page|display text]]

You can make a link to a specific section of a page like this:
:<tt><nowiki>[[Target page#Target section|display text]]</nowiki></tt> = [[Target page#Target section|display text]]

If you want the display text of the link to appear in italics or bold, nest the double square brackets for the link within the multiple apostrophes that delimit the italicized or bold text, like this:
:<tt><nowiki>''[[Afghanistan]]''</nowiki></tt> = ''[[Afghanistan]]''

Please check your links to ensure they point to the correct article. For example, [[Georgia]] points to a disambiguation page -- these are not articles, but pages which contain links to articles with similar titles. These differing titles make piped links especially useful, as a link to [[Georgia (country)]] is far less readable than a piped link called [[Georgia (country)|Georgia]].

=== When to link ===
Adding links to an article makes it more useful, but too many links can be distracting. This is why you should only link the first occurrence of a word. Lead sections can have more links.

Looking at other hitchwiki articles can also help you learn when to add links.

=== Categories ===
You can also put the article in a category with others in a related topic. Just type <nowiki>[[Category:]]</nowiki>, and put the name of the category between the colon and the brackets.

'''It is very important to put in the correct categories so that other people can easily find your work.''' The best way to find which categories to put in is to look at pages on similar subjects, and check which categories they use. Most common, a city article is put into the related state/nation category. (Kabul is categorized under Afghanistan, Afghanistan under Asia, etc.)

Test what you have learned in the [[Help:Editing/sandbox|sandbox]]!

----
''This article contains text from the Wikipedia article on [http://en.wikipedia.orghttp://en.wikipedia.org/wiki/Wikipedia:Tutorial_%28Wikipedia_links%29 Wikipedia Links].

[[Category:Help]]
__NOTOC__