SgWiki:Guidebook/Links: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
| (One intermediate revision by the same user not shown) | |||
| Line 1: | Line 1: | ||
{| style='font-family:"Exo 2";width:100%;border-collapse:collapse;white-space:nowrap;' | {| style='font-family:"Exo 2";width:100%;border-collapse:collapse;white-space:nowrap;' | ||
|style="padding:0 0.5em;border-bottom:1px solid #888;"|[[SgWiki:Guidebook| | |style="padding:0 0.5em;border-bottom:1px solid #888;"|[[SgWiki:Guidebook|Introduction]] | ||
|style="padding:0 0.5em;border-bottom:1px solid #888;"|[[SgWiki:Guidebook/Editing & Formatting|Editing & Formatting]] | |style="padding:0 0.5em;border-bottom:1px solid #888;"|[[SgWiki:Guidebook/Editing & Formatting|Editing & Formatting]] | ||
|style="padding:0 0.5em;border:1px solid #888;border-top:3px solid #F00;border-bottom:none;"|[[SgWiki:Guidebook/Links|Links]] | |style="padding:0 0.5em;border:1px solid #888;border-top:3px solid #F00;border-bottom:none;"|[[SgWiki:Guidebook/Links|Links]] | ||
| Line 11: | Line 11: | ||
<div style='font-family:"Exo 2" !important;'> | <div style='font-family:"Exo 2" !important;'> | ||
Linking articles together is essential. Links allow users to jump to related information quickly, improving article usefulness. | 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=== | ===Internal Link=== | ||
| Line 27: | Line 32: | ||
* '''Display Name''' is the text shown; defaults to the URL (optional). | * '''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. | Templates standardise information across multiple pages. They are embedded into the final page when displayed. | ||
{{dottedbox|@= | {{dottedbox|@=Syntax|#=<nowiki>{{ [Template Name] | [Parameters] }}</nowiki>}} | ||
* '''Template Name''' is the template to use. | * '''Template Name''' is the template to use. | ||
* '''Parameters''' is values passed to customise output. Separate each with " | " (optional). | * '''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. | Categories group articles by topic. They appear at the bottom of a page. | ||
Latest revision as of 00:22, 8 July 2026
| 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.