Wikipedia:Teahouse/Host lounge/How-to guides/Link guide: Difference between revisions
Content deleted Content added
No edit summary |
Nick Moyes (talk | contribs) Marking page as {{historic}} |
||
(23 intermediate revisions by 6 users not shown) | |||
Line 1:
{{historic}}
{{Wikipedia:Teahouse/Layout-begin}}
{{Wikipedia:Teahouse/Links}}
{{Wikipedia:Teahouse/Intro-form|intro='''This guide explores how to explain Wiki links, interwiki links, and external link usage.'''}}
Line 6 ⟶ 7:
<div style="margin: 2em 4em;">
{{TOC right}}
==Wikilinks==
==How do I add a link to my website or another website to an article?==▼
A wikilink is a link that is included within the article and links to another Wikipedia article. You'll often see these as blue links in articles. Red links mean that an article doesn't exist and needs to be created.
===How do I add a link in my article to another article?===
*[[User:Nolelover|Nolelover's reply]]:
To add a basic link to another article, put two sets of brackets (<nowiki>"[[" and "]]"</nowiki>) around the word or phrase you want to link. For example, if you want to add a link to the word "Wikipedia", it would look like this: <code><nowiki>[[Wikipedia]]</nowiki></code>. Another type of link is the "piped link". With the use of a separating pipe (the "|" character below the backspace button) you can make a link say one phrase, but go somewhere to another target. If you want to link to "Wikipedia", but have your link ''say'' "The Free Encyclopedia", your piped link would look like <code><nowiki>[[Wikipedia|The Free Encyclopedia]]</nowiki></code> and would come out like this: [[Wikipedia|The Free Encyclopedia]].
==External links==
An external link is a link that goes to another website and relates to the subject focus of the article it is being linked from.
▲===How do I add a link to my website or another website to an article?===
*[[User:SarahStierch|Sarah's reply]]:
External links can be added to relevant articles as needed. Not ''every'' website that has ''ever'' existed needs to be added, but, important links like the official website for the article subject (i.e. a town's government website, a musicians website) should be added. If you think that the link you're wanting to add is important enough to help readers learn more about the subject, then go for it! Here is how you can do it:
Line 19 ⟶ 27:
:4. If your addition looks correct, great work! Simply add in the edit summary "added an external link," and click save!
*[[User:Trevj|Trevj's reply]]:
==How do I add a link to another Wikimedia project like Wiktionary?==▼
*:The template {{tl|Official website}} can also be used, e.g. <tt><nowiki>{{</nowiki>Official website|wikimedia.org}}</tt> to give {{Official website|wikimedia.org}}.
:<span style="white-space:nowrap;">-- [[User:Trevj#top|Trevj]]</span> ([[User talk:Trevj#top|talk]]) 09:26, 22 February 2012 (UTC)
*''Please add your own reply here!''
===Another user accused me of spam? Why and how can I avoid being called that?===
''Please share your own reply here!''
==Interwiki links==
An interwiki link is generally used to describe linking a Wikipedia article to another sister project, such as linking a word on an article to its definition on Wiktionary.
▲===How do I add a link to another Wikimedia project like Wiktionary?===
*[[User:Trevj|Trevj's reply:
*Use the prefix markup <tt><nowiki>[[</nowiki>wikt:]]</tt>, e.g. <tt><nowiki>[[</nowiki>wikt:chain]]</tt> will display as [[wikt:chain]]. To suppress display of the prefix, use the [[Help:Pipe trick|pipe character "trick"]] after the destination article name, i.e. <tt><nowiki>[[</nowiki>wikt:chain|]]</tt> will display as [[wikt:chain|chain]].
**To link to a foreign language definition, use the appropriate additional prefix, e.g. <tt><nowiki>[[</nowiki>wikt:fr:lier]]</tt> to give [[wikt:fr:lier]]. (Note that use of the pipe trick only suppresses ''one'' prefix, in which case a fully piped link can be used, i.e. <tt><nowiki>[[</nowiki>wikt:fr:lier|lier]]</tt> to give [[wikt:fr:lier|lier]].)
**Further information about linking to other Wikimedia projects is at [[Help:Interwiki linking]].
''Please add your own reply here!''
===How do I add a link to another language's article on the same topic? ===
*[[User:Rosiestep|Rosiestep's reply]]:
Generally, you don't have to link to another language's wikipedia article if the name is identical as a bot will do it automatically. If there is a difference in the name, such that a bot might not understand the two articles are the same, you'll use a similar format style as linking to another Wikimedia project (such as the Wikitionary example above). Here's the "how to". Go to the bottom of the article page. Add two square brackets, then add the language's abbreviation (such as en is the abbreviation for the English language, fr is the abbreviation for the French language, and de is the abbreviation for the German language). Add the symbol for colon, then add the name of the article in the other language. Add two closing square brackets. Here's how it will look:
<pre>[[language code:Title]]</pre>
Further information about linking to other language articles can be found at [[Help:Interlanguage links]].
{{Wikipedia:Teahouse/Layout-end}}
<noinclude>[[Category:Wikipedia Teahouse]]</noinclude>
|