Transitica Wikithe Transitica encyclopedia
Log in

Help:Editing: Difference between revisions

Revision as of 02:06, 21 November 2026
kirklandwaterbot (Greenfield Wiki: Wikipedia-style wiki with auto station and line articles)
Revision as of 02:25, 21 November 2026
kirklandwaterbot (Built-in Wikipedia-style editor with instant publishing)
Line 2:Line 2:
−
title: Help:Editing
categories: [Help]
categories: [Help]
---
---
 
 
−
Every page on Greenfield Wiki is a text file in the wiki's GitHub repository. Click **Edit** at the top of any page, change the text, and press **Commit changes**. The site rebuilds itself within about a minute.
+
To change a page, click **Edit** at the top (or **[edit]** next to a section heading), make your changes, write a short **Summary**, and press **Save changes**. Your edit is live the moment you save. Every edit is kept in **View history**, where you can compare versions (**cur** / **prev**) or view an old one.
 
 
−
## Writing
+
You need to **Log in** (top right) before editing.
 
 
−
Pages use Markdown with a few wiki shortcuts:
+
## Writing
 
 
| You type | You get |
| You type | You get |
Line 16:Line 15:
| `'''bold'''` or `**bold**` | **bold** |
| `'''bold'''` or `**bold**` | **bold** |
| `''italic''` or `*italic*` | *italic* |
| `''italic''` or `*italic*` | *italic* |
−
| `## Heading` | a section heading (3+ headings make a table of contents) |
+
| `## Heading` / `### Subheading` | section headings (3+ make a table of contents) |
+
| `- item` / `1. item` | bulleted / numbered lists |
| `[[Category:Buildings]]` | puts the page in a category |
| `[[Category:Buildings]]` | puts the page in a category |
−
| `![caption](/images/photo.png)` | an image from `pages/images/` |
+
| `![caption](/images/photo.png)` | an image (upload it first with **Upload file**) |
+
| `[text](https://example.com)` | an external link |
 
 
+
The toolbar above the edit box inserts all of these for you. **Show preview** shows the page without saving; **Show changes** shows exactly what you changed. Ctrl+S saves.
+
 
## Infoboxes
## Infoboxes
 
 
−
Put an infobox in the header block at the top of a page:
+
Put an infobox in a header block at the very top of a page:
 
 
```
```
---
---
−
title: Greenfield Tower
infobox:
infobox:
image: tower.png
image: tower.png
Line 39:Line 41:
## Station and line pages
## Station and line pages
 
 
−
Station and line pages are generated from the in-game railway map (infobox, services table, route diagram). Clicking **Edit** on one of them opens an extra text file (`pages/stations/…` or `pages/lines/…`) where you can add history and photos; that text appears under the automatic parts.
+
Station and line pages are made automatically from the railway map: the infobox, the services table or route diagram, and the opening sentence. Clicking **Edit** on one lets you add your own text (history, photos, trivia), which appears below the automatic parts.
 
 
## New pages
## New pages
 
 
−
Use **Create a page** in the sidebar, or search for a page that doesn't exist and click the red link. Put the page title in the header block.
+
Click a red link, use **Create a page** in the sidebar, or search for a name that doesn't exist and click **Create the page**.
 
 
−
## Screenshots
+
## Images
 
 
−
Upload images into `pages/images/` on GitHub (**Add file → Upload files**), then use them as `![caption](/images/name.png)` or `image: name.png` in an infobox.
+
Use **Upload file** in the sidebar (PNG/JPG/GIF/WebP, up to 3 MB), then put `![caption](/images/name.png)` in a page, or `image: name.png` in an infobox.

Revision as of 02:25, 21 November 2026

To change a page, click Edit at the top (or [edit] next to a section heading), make your changes, write a short Summary, and press Save changes. Your edit is live the moment you save. Every edit is kept in View history, where you can compare versions (cur / prev) or view an old one.

You need to Log in (top right) before editing.

Writing

You type You get
[[Central station]] a link to another page (red if it doesn't exist yet)
[[Central station|Central]] a link with different text
'''bold''' or **bold** bold
''italic'' or *italic* italic
## Heading / ### Subheading section headings (3+ make a table of contents)
- item / 1. item bulleted / numbered lists
[[Category:Buildings]] puts the page in a category
![caption](/images/photo.png) an image (upload it first with Upload file)
[text](https://example.com) an external link

The toolbar above the edit box inserts all of these for you. Show preview shows the page without saving; Show changes shows exactly what you changed. Ctrl+S saves.

Infoboxes

Put an infobox in a header block at the very top of a page:

---
infobox:
  image: tower.png
  caption: Greenfield Tower at night
  Type: Skyscraper
  Height: 220 blocks
  Nearest station: "[[Central station]]"
categories: [Buildings]
---

Station and line pages

Station and line pages are made automatically from the railway map: the infobox, the services table or route diagram, and the opening sentence. Clicking Edit on one lets you add your own text (history, photos, trivia), which appears below the automatic parts.

New pages

Click a red link, use Create a page in the sidebar, or search for a name that doesn't exist and click Create the page.

Images

Use Upload file in the sidebar (PNG/JPG/GIF/WebP, up to 3 MB), then put ![caption](/images/name.png) in a page, or image: name.png in an infobox.