Difference between revisions of "SgWiki:Guidebook/Links"

From SgWiki
Jump to navigation Jump to search
m (Protected "SgWiki:Guidebook/Links": Existing editors may wish to improve first before locking. ([Edit=Allow only autoconfirmed users] (indefinite) [Move=Allow only autoconfirmed users] (indefinite)))
m
 
(11 intermediate revisions by 3 users not shown)
Line 1: Line 1:
{| style="text-align:left;background-color:none;margin:auto;min-width:300px;border-collapse:collapse" cellspacing=0 cellpadding=0 width=95%
{| style='font-family:"Exo 2";width:100%;border-collapse:collapse;white-space:nowrap;'
|- style="text-align:center;"
|style="padding:0 0.5em;border-bottom:1px solid #888;"|[[SgWiki:Guidebook|Introductions]]
!style="border:2px solid darkgray;"|[[SgWiki:Guidebook|Introductions]]
|style="padding:0 0.5em;border-bottom:1px solid #888;"|[[SgWiki:Guidebook/Editing & Formatting|Editing & Formatting]]
!width=6 style="border-bottom:2px solid darkgray;"|
|style="padding:0 0.5em;border:1px solid #888;border-top:3px solid #F00;border-bottom:none;"|[[SgWiki:Guidebook/Links|Links]]
!style="border:2px solid darkgray;"|[[SgWiki:Guidebook/Editing & Formatting|Editing & Formatting]]
|style="padding:0 0.5em;border-bottom:1px solid #888;"|[[SgWiki:Guidebook/Citation|Citing sources]]
!width=6 style="border-bottom:2px solid darkgray;"|
|style="padding:0 0.5em;border-bottom:1px solid #888;"|[[SgWiki:Guidebook/sgWiki Buses|sgWiki Buses]]
!style="border:2px solid darkgray;border-bottom:none;background-color:#F2F200"|Links
|style="padding:0 0.5em;border-bottom:1px solid #888;"|[[SgWiki:Guidebook/sgWiki Rails|sgWiki Rails]]
!width=6 style="border-bottom:2px solid darkgray;"|
|style="padding:0 0.5em;border-bottom:1px solid #888;"|[[SgWiki:Guidebook/Ban|Ban & Warning Points]]
!style="border:2px solid darkgray;"|[[SgWiki:Guidebook/Citation|Citing sources]]
|style="width:100%;border-bottom:1px solid #888;"|
!width=6 style="border-bottom:2px solid darkgray;"|
|}
!style="border:2px solid darkgray;"|[[SgWiki:Guidebook/Templates|Templates]]
 
!width=6 style="border-bottom:2px solid darkgray;"|
<div style='font-family:"Exo 2" !important;'>
!style="border:2px solid darkgray;"|[[SgWiki:Guidebook/sgWiki Buses|sgWiki Buses]]
Linking articles together is very important. These easily created links allow users to jump to information related to the article they are reading, greatly adding to an article usefulness.
!width=6 style="border-bottom:2px solid darkgray;"|
!style="border:2px solid darkgray;"|[[SgWiki:Guidebook/sgWiki Trains|sgWiki Trains]]
!width=6 style="border-bottom:2px solid darkgray;"|
!style="border:2px solid darkgray;"|[[SgWiki:Guidebook/Ban|Ban & Warning Points]]
|-
|style="border:2px solid darkgray;border-top:none;padding:5px;" colspan=20|Linking articles together is very important. These easily created links allow users to jump to information related to the article they are reading, greatly adding to an article usefulness.


===Internal Link===
===Internal Link===
An Internal Link refers to a link that direct to a page or a section within sgWiki. To add an Internal Link, simply add "<nowiki>[[</nowiki>" before the link and "<nowiki>]]</nowiki>" after the link.<br>
An Internal Link refers to a link that directs to a page or a section within sgWiki. To add an Internal Link, simply add "<nowiki>[[</nowiki>" before the link and "<nowiki>]]</nowiki>" after the link.<br>
{{dottedbox|@=Syntax|#=<nowiki>[[ [article name] # [section name] | [display name] ]]</nowiki>}}
{{dottedbox|@=Syntax|#=<nowiki>[[ [article name] # [section name] | [display name] ]]</nowiki>}}


'''Notes:'''<br>
'''Notes:'''<br>
'''Article Name''' are the article you wish to link to.<br>
'''Article Name''' is the article you wish to link to.<br>
'''Section Name''' are header links that we had previously explained. (Optional)<br>
'''Section Name''' is header links that we had previously explained. (Optional)<br>
'''Display Name''' are text that you want to display. The default are article name. (Optional)
'''Display Name''' is text that you want to display. The default are article name. (Optional)


===External Link===
===External Link===
An External Link refers to a link that direct to another website not within sgWiki. To add an External Link, simply add "<nowiki>[</nowiki>" before the link and "<nowiki>]</nowiki>" after the link.<br>
An External Link refers to a link that directs to another website outside sgWiki. To add an External Link, simply add "<nowiki>[</nowiki>" before the link and "<nowiki>]</nowiki>" after the link.<br>
{{dottedbox|@=Syntax|#=<nowiki>[ [website] | [display name] ]]</nowiki>}}
{{dottedbox|@=Syntax|#=<nowiki>[ [website] [display name] ]</nowiki>}}
'''Notes:'''<br>
'''Notes:'''<br>
'''Website''' are the url that you wish to link to.<br>
'''Website''' is the url that you wish to link to.<br>
'''Display Name''' are text that you want to display. The default are the url address. (Optional)
'''Display Name''' is the text that you want to display. The default is the url address. (Optional)


===When to link===
===When to link===
Adding links to an article makes it more useful, but too many links can be distracting. To avoid over-linking, you should normally create a link in an article only at the first occurrence of a word or phrase within an article or a section. You should not link common words such as "station" and "bus", even when sgWiki has articles for those words, unless these are words that are keywords in the article.
Adding links to an article makes it more useful, but too many links can be distracting. To avoid over-linking, you should create a link in an article only at the first occurrence of a word or phrase within an article or a section. You should not link common words such as "station" and "bus", even if sgWiki has articles for those words; unless those are keywords in the article.
 
===Template===
Using Templates help to synchronise information across multiple pages easily. It does not reduce page size as the template will be embedded into the final page before it is displayed to you. The page size that shrinks is only indicative of the page size stored into the server and not through your screen.<br>
{{dottedbox|@=Template Syntex|#=<nowiki>{{ [template name] | [parameters] }}</nowiki>}}
'''Notes:'''<br>
'''Template Name''' is the template that you wish to add to.<br>
'''Parameters''' is the data that will be pass to the template for customisation effects. Separate each parameter with a '|' character. (Optional)


===Categories===
===Categories===
Categories are useful if you wish to group a article with others in a related topic. Categories are found at the bottom of the article.
Categories are useful if you wish to group an article with other articles to a related topic. Categories are found at the bottom of the article.


To add a category, simply add "<nowiki>[[Category:</nowiki>" before the name of the category and "<nowiki>]]</nowiki>" after the name of the category at the bottom of the article.<br>
To add a category, simply add "<nowiki>[[Category:</nowiki>" before the name of the category and "<nowiki>]]</nowiki>" after the name of the category at the bottom of the article.<br>
Line 45: Line 46:


'''Notes:'''<br>
'''Notes:'''<br>
'''Category Name''' are the category you wish the article to belong to.
'''Category Name''' is the category you wish to add the article to.


Please ensure that a category must consist of 2 or more related articles.
Please ensure that a category consists of 2 or more related articles.
|}
</div>

Latest revision as of 08:22, 7 September 2020

Introductions Editing & Formatting Links Citing sources sgWiki Buses sgWiki Rails Ban & Warning Points

Linking articles together is very important. These easily created links allow users to jump to information related to the article they are reading, greatly adding to an article usefulness.

Internal Link

An Internal Link refers to a link that directs to a page or a section within sgWiki. To add an Internal Link, simply add "[[" before the link and "]]" after the link.
Syntax

[[ [article name] # [section name] | [display name] ]]

Notes:
Article Name is the article you wish to link to.
Section Name is header links that we had previously explained. (Optional)
Display Name is text that you want to display. The default are article name. (Optional)

External Link

An External Link refers to a link that directs to another website outside sgWiki. To add an External Link, simply add "[" before the link and "]" after the link.
Syntax

[ [website] [display name] ]

Notes:
Website is the url that you wish to link to.
Display Name is the text that you want to display. The default is the url address. (Optional)

When to link

Adding links to an article makes it more useful, but too many links can be distracting. To avoid over-linking, you should create a link in an article only at the first occurrence of a word or phrase within an article or a section. You should not link common words such as "station" and "bus", even if sgWiki has articles for those words; unless those are keywords in the article.

Template

Using Templates help to synchronise information across multiple pages easily. It does not reduce page size as the template will be embedded into the final page before it is displayed to you. The page size that shrinks is only indicative of the page size stored into the server and not through your screen.
Template Syntex

{{ [template name] | [parameters] }}

Notes:
Template Name is the template that you wish to add to.
Parameters is the data that will be pass to the template for customisation effects. Separate each parameter with a '|' character. (Optional)

Categories

Categories are useful if you wish to group an article with other articles to a related topic. Categories are found at the bottom of the article.

To add a category, simply add "[[Category:" before the name of the category and "]]" after the name of the category at the bottom of the article.
Syntax

[[Category: [category name] ]]

Notes:
Category Name is the category you wish to add the article to.

Please ensure that a category consists of 2 or more related articles.