Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

UniWiki:Manual of Style/Linking: Difference between revisions

From EVE University Wiki
Djavin novienta (talk | contribs)
Djavin novienta (talk | contribs)
Line 164: Line 164:
*'''Piping and redirects.''' As per {{section link||Link specificity}} above, do not use a piped link where it is possible to use a redirected term that fits well within the scope of the text. For example, let's assume that the page {{xt|[[Wikipedia:Papageno|Papageno]]}} is a redirect to the article about Mozart's opera ''[[Wikipedia:The Magic Flute|The Magic Flute]]''. While editing some other article, you might want to link the term {{xt|Papageno}}; here, you might be tempted to avoid the redirect by using a pipe within the link, as in {{!xt|<code><nowiki>[[Wikipedia:The Magic Flute|Papageno]]</nowiki></code>}}. Instead, write simply {{xt|<code><nowiki>[[Papageno]]</nowiki></code>}} and let the system handle the rest. This has two advantages: first, if an article is written later about the more specific subject (in this case, "Papageno"), fewer links will need to be changed to accommodate the new article; second, it indicates that the article is [[Wikipedia:WP:Most wanted articles|wanted]].
*'''Piping and redirects.''' As per {{section link||Link specificity}} above, do not use a piped link where it is possible to use a redirected term that fits well within the scope of the text. For example, let's assume that the page {{xt|[[Wikipedia:Papageno|Papageno]]}} is a redirect to the article about Mozart's opera ''[[Wikipedia:The Magic Flute|The Magic Flute]]''. While editing some other article, you might want to link the term {{xt|Papageno}}; here, you might be tempted to avoid the redirect by using a pipe within the link, as in {{!xt|<code><nowiki>[[Wikipedia:The Magic Flute|Papageno]]</nowiki></code>}}. Instead, write simply {{xt|<code><nowiki>[[Papageno]]</nowiki></code>}} and let the system handle the rest. This has two advantages: first, if an article is written later about the more specific subject (in this case, "Papageno"), fewer links will need to be changed to accommodate the new article; second, it indicates that the article is [[Wikipedia:WP:Most wanted articles|wanted]].


===={{anchor|Linking to sections of articles}}Piped links and redirects to sections of articles====
====Piped links and redirects to sections of articles====
{{shortcut|MOS:LINK2SECT}}
{{see also|UniWiki:Manual of Style/Linking#Section links}}
{{see|Wikipedia:Manual of Style/Linking#Section links|Help:Link#Section linking (anchors)}}


Linking to particular [[Wikipedia:Section|sections]] of articles can be useful, inasmuch as it can take the reader immediately to the information that is most focused on the original topic. Use of a piped link here avoids the unsightly ''Article name#Section name'' in the display text (alternative methods are to use a [[#Redirects|redirect]] or {{Tl|Section link}}). The format for a link to a page section is {{xt|<code><nowiki>[[Article#Section|name of link]]</nowiki></code>}}. For example, to link to the "Culture" subsection of the article {{xt|[[Oman]]}}, type {{xt|<code><nowiki>[[Oman#Culture|culture of Oman]]</nowiki></code>}}; this displays as {{xt|[[Oman#Culture|culture of Oman]]}} (note that the section name is case-sensitive). When doing this, add a [[MOS:COMMENT|hidden comment]] to the target section such as <code><nowiki><!-- the article ''X'' links here --></nowiki></code> so that if another user edits the title of that section, they can fix the incoming links (alternatively, use {{tlx|Anchor}} in cases where a section has a large number of incoming links).
Linking to particular [[Wikipedia:Wikipedia:Section|sections]] of articles can be useful, inasmuch as it can take the reader immediately to the information that is most focused on the original topic. Use of a piped link here avoids the unsightly ''Article name#Section name'' in the display text (alternative methods are to use a [[#Redirects|redirect]] or {{Tl|Section link}}). The format for a link to a page section is {{xt|<code><nowiki>[[Article#Section|name of link]]</nowiki></code>}}. For example, to link to the "Culture" subsection of the article {{xt|[[Wikipedia:Oman|Oman]]}}, type {{xt|<code><nowiki>[[Oman#Culture|culture of Oman]]</nowiki></code>}}; this displays as {{xt|[[Wikipedia:Oman#Culture|culture of Oman]]}} (note that the section name is case-sensitive). When doing this, add a [[UniWiki:Manual of Style#Invisible comments|hidden comment]] to the target section such as <code><nowiki><!-- the article ''X'' links here --></nowiki></code> so that if another user edits the title of that section, they can fix the incoming links.


{| align=right style="margin-left:24px; margin-bottom:20px"
{| align=right style="margin-left:24px; margin-bottom:20px"
Line 177: Line 176:
  |}
  |}


Many topics useful for linking may currently appear only as sections of other Wikipedia articles, but are potentially notable enough to become articles on their own. For example, the article {{xt|Eastern Anyshire}} might have a small "History" section, but this does not prevent the article {{xt|History of Eastern Anyshire}} being written eventually. Usually, a [[WP:redirect|redirect]] page from such a sub-topic to a general topic will exist already; if not, they can be created when the occasion arises. It is bad practice to create links in article text using the format <code><nowiki>[[Article#Section]]</nowiki></code>; navigation then becomes difficult if the section is expanded into a new article. Instead, link using a redirect to the main topic; [[WP:NOTBROKEN|it costs little]] and makes improvements easier.
Many topics useful for linking may currently appear only as sections of other UniWiki articles, but are potentially notable enough to become articles on their own. For example, the article {{xt|Eastern Anyshire}} might have a small "History" section, but this does not prevent the article {{xt|History of Eastern Anyshire}} being written eventually. Usually, a [[Wikipedia:WP:redirect|redirect]] page from such a sub-topic to a general topic will exist already; if not, they can be created when the occasion arises. It is bad practice to create links in article text using the format <code><nowiki>[[Article#Section]]</nowiki></code>; navigation then becomes difficult if the section is expanded into a new article. Instead, link using a redirect to the main topic; [[Wikipedia:WP:NOTBROKEN|it costs little]] and makes improvements easier.


===Links to Wikipedia's categories===
===Links to Wikipedia's categories===