SgWiki:Guidebook/Links
Jump to navigation
Jump to search
| Introduction | Editing & Formatting | Links | Citing sources | sgWiki Buses | Ban & Warning Points |
Linking articles together is essential. Links allow users to jump to related information quickly, improving article usefulness.
Link
Links add value but must be used carefully.
- Link only at the first occurrence of a word or phrase in an article or section.
- Do not over‑link common words such as "station" or "bus" unless they are keywords central to the article.
Internal Link
An internal link directs to a page or section within sgWiki.
Syntax
| [[ [Article Name] # [Section Name] | [Display Name] ]] |
- Article Name is the page you wish to link.
- Section Name is the header within that page (optional).
- Display Name is the text shown; defaults to article name (optional).
External Link
An external link directs to a website outside sgWiki.
Syntax
| [ [Website] [Display Name] ] |
- Website is the URL.
- Display Name is the text shown; defaults to the URL (optional).
Template
Templates standardise information across multiple pages. They are embedded into the final page when displayed.
Syntax
| {{ [Template Name] | [Parameters] }} |
- Template Name is the template to use.
- Parameters is values passed to customise output. Separate each with " | " (optional).
Categories
Categories group articles by topic. They appear at the bottom of a page.
Syntax
| [[Category: [category name] ]] |
- Category Name is the category to add the article to.
- Each category must contain at least two related articles.