Difference between revisions of "SgWiki:Guidebook/Links"
(Created page with "{| style="text-align:left;background-color:none;margin:auto;min-width:300px;border-collapse:collapse" cellspacing=0 cellpadding=0 width=95% |- style="text-align:center;" !styl...") |
m |
||
Line 20: | Line 20: | ||
===Internal Link=== | ===Internal Link=== | ||
An Internal Link refers to a link that direct to a page or a section within sgWiki. | 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> | ||
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>}} | ||
Line 31: | Line 29: | ||
===External Link=== | ===External Link=== | ||
An External Link refers to a link that direct to another website not within sgWiki. | 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> | ||
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''' are 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''' are text that you want to display. The default are 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 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. | |||
===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. | |||
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> | |||
{{dottedbox|@=Syntax|#=<nowiki>[[Category: [category name] ]]</nowiki>}} | |||
'''Notes:'''<br> | |||
'''Category Name''' are the category you wish the article to belong to. | |||
Please ensure that a category must consist of 2 or more related articles. | |||
|} | |} |
Revision as of 18:35, 8 December 2015
Introductions | Editing & Formatting | Links | Citing sources | Templates | sgWiki Buses | sgWiki Trains | 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 LinkAn Internal Link refers to a link that direct to a page or a section within sgWiki. To add an Internal Link, simply add "[[" before the link and "]]" after the link.
Notes: External LinkAn External Link refers to a link that direct to another website not within sgWiki. To add an External Link, simply add "[" before the link and "]" after the link.
Notes: When to linkAdding 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. CategoriesCategories are useful if you wish to group a article with others in 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.
Notes: Please ensure that a category must consist of 2 or more related articles. |