Wiki article
An encyclopedia article in MediaWiki markup, with an infobox, links and references.
What it shows
Write an article in MediaWiki's own marks, with no Markdown at all.
What you learn
Headings between = signs, links with a label, a box that floats beside the text, rows split into cells, a template that takes a colour, references, a wiki table.
Try this
- Link another page with [[its name]], or change
linkin the palette.
Larkford Tramway
The Larkford Tramway is a light rail network serving the city of Larkford and its suburbs. Its four lines meet at Central Station and carry about 112,000 passengers a day, more than any other way of crossing the river except on foot.1
The city had trams once before. The old network closed in 1957, and its last depot is now the covered market.
History
Horse trams first ran along Bridge Street in 1881, and the network was electrified in 1901. At its largest, in 1929, it had fourteen routes. Buses replaced them one by one after the war, and the last tram ran on 30 June 1957.citation needed
In 1996 the city council voted to bring trams back, after traffic on the two river bridges had doubled in ten years. Line 1 opened on 12 September 2004, and the network has grown every few years since.2
The airport extension
Line 4 was the first to run beyond the city boundary. It opened in March 2021, a year late, after the tunnel under the ring road flooded twice during building.
Network
| Line | Route | Opened | Length | Stops |
|---|---|---|---|---|
| 1 | Central Station to Harrow Hill | 2004 | 8.2 km | 13 |
| 2 | Riverside to Northgate | 2007 | 7.4 km | 12 |
| 3 | Old Market to St Bride's Hospital | 2012 | 6.1 km | 10 |
| 4 | Central Station to Larkford Airport | 2021 | 9.8 km | 11 |
Rolling stock
- Series 100
- 24 five-section trams, built from 2003 to 2006.
- Series 200
- 18 seven-section trams, built from 2019 to 2021, each with room for 280 passengers.
- The Series 200 trams charge at the end of each line and run without wires across the old town.
See also
References
How it's made
- This article is written in MediaWiki's own marks, and each one is a rule in the rules block. There is no Markdown here.
'''Bold'''and[[Larkford]]are inline rules. The box at the right is an{{Infoboxblock whose rows are split at the = sign into a label and a value.{{Color box|#d6336c}}is a template that takes a colour, passed on to the square's style. The table is a wiki table, read row by row.
Try it yourself
- Write
[[Larkford bus station]]in a sentence under History. It becomes a blue link to that page. - Add the row
| Depots = 2to the infobox, above the closing braces. A new row appears in the box. - Add a line
|-and then| 5 || Northgate to the university || 2027 || 5.6 km || 9above the table's last line. The table grows by a line. - Change
linkin the palette to#c92a2a. Every link turns red, like a link to a page nobody has written yet.
Next: Org-mode notes reads Org files the same way; Forum post adds tags to BBCode.
~~~ selfscribe
# Lesson: Write an article in MediaWiki's own marks, with no Markdown at all.
# You learn: headings between = signs, links with a label, a box that floats beside the text, rows split into cells, a template that takes a colour, references, a wiki table.
# Try this: link another page with [[its name]], or change `link` in the palette.
# summary: An encyclopedia article in MediaWiki markup, with an infobox, links and references.
# category: syntax
# tags: document, advanced
# uses: markup, table
set title Wiki article
# ---- Colours, each with its shade for dark pages -------------------------------------
palette
link #3366cc dark #8fb3ff
rule color-mix(in srgb, currentColor 20%, transparent)
box color-mix(in srgb, currentColor 4%, transparent)
# ---- "= Title =", "== Section ==", '''bold''', ''italic'' --------------------------------
# A heading takes its face from a value the page reads, so these rules set that value.
line = _ = -> h1.wiki-title { --doc-font-heading: var(--doc-font, Georgia, serif); border-bottom: 1px solid var(--rule); padding-bottom: 0.15em } as wk-title
line == _ == -> h2 fold 2 { --doc-font-heading: var(--doc-font, Georgia, serif); overflow: hidden; border-bottom: 1px solid var(--rule); padding-bottom: 0.15em } as wk-h2
line === _ === -> h3 fold 3
# Three quotes are a longer pattern than two, so '''bold''' wins over ''italic''.
inline '''_''' -> b
inline ''_'' -> i
# <code>…</code> shows marks as typed: `verbatim` stops the other rules inside it.
inline <code>_</code> -> code verbatim
# ---- "* item", "# numbered item", and "; term" with ": its meaning" --------------------------
# `group` wraps neighbouring lines in one list.
line * _ -> li group ul nest
line # _ -> li group ol nest
line ; _ -> dt group dl { font-weight: 700; margin-top: 0.5em } as wk-dt
line : _ -> dd group dl { margin-left: 1.6em } as wk-dd
# ---- Links: [[Page]], [[Page|label]], [https://site label] ----------------------
# The words before the bar fill href=_1, the label after it is what you read.
class wikilink { color: var(--link); text-decoration: none }
inline [[_|_]] -> a.wikilink href=_1 _2 as wk-link
inline [[_]] -> a.wikilink href=_1 _1 as wk-link1
inline [https://_ _] -> a.external href="https://_1" _2
# ---- Templates in {{double braces}}, references and magic words -------------------------
line From _ -> div.tagline keep { font-size: 0.85em; opacity: 0.65; margin-bottom: 1.2em } as wk-tagline
# {{Hatnote|…}}: a short note in italics above the article.
line {{Hatnote|_}} -> div.hatnote { font-style: italic; font-size: 0.92em; padding: 0 0 0.9em 1.6em; opacity: 0.85 } as wk-hatnote
block {{Infobox _ ... }} -> aside.infobox { float: right; width: 18.5em; margin: 0.2em 0 1em 1.6em; padding: 0 0 0.5em; font-size: 0.84em; line-height: 1.45; border: 1px solid var(--rule); background: var(--box) } as wk-infobox
line | name = _ -> div.ib-name { font-weight: 700; font-size: 1.2em; text-align: center; padding: 0.45em 0.6em; background: color-mix(in srgb, var(--link) 14%, transparent) } as wk-ib-name
line | caption = _ -> div.ib-caption { font-size: 0.9em; text-align: center; opacity: 0.7; padding: 0.5em 0.8em } as wk-ib-caption
# Every other "| field = value" row is split at the = into two cells, label and value.
line | _ = _ -> div.ib-row split "=" span { display: grid; grid-template-columns: 6.2em 1fr; gap: 0.6em; margin: 0 0.8em; padding: 0.35em 0; border-top: 1px solid var(--rule) } as wk-ib-row
class ib-row > span:first-child { font-weight: 700 }
# {{Color box|#d6336c}}: a small square in a line's colour.
inline {{Color box|_}} -> span.colorbox style="background: _1" { display: inline-block; width: 0.85em; height: 0.85em; margin-right: 0.35em; vertical-align: -0.08em; border: 1px solid var(--rule) } as wk-colorbox
inline <ref>_</ref> -> sup.ref { font-size: 0.7em; color: var(--link) } as wk-ref
inline {{_}} -> sup.cn { font-size: 0.7em; font-style: italic; color: var(--link) } as wk-cn
line \_\_TOC\_\_ -> hidden
line <references /> -> hidden
line ^ _ -> div.refitem { font-size: 0.85em; padding-left: 1.4em; text-indent: -1.4em; margin: 0.2em 0 } as wk-refitem
# ---- Wiki tables: {| ... |}, ! header cells, | data cells, |- row breaks -----------
block {| _ ... |} -> table.wikitable { border-collapse: collapse; margin: 1em 0; font-size: 0.9em } as wk-table
line |+ _ -> caption { font-weight: 700; padding-bottom: 0.4em } as wk-caption
line |- -> hidden
line ! _ -> tr split "!!" th
line | _ -> tr split "||" td
~~~
= Larkford Tramway =
From Fieldpedia, the free encyclopedia
{{Hatnote|This article is about the present network. For the horse and electric trams of 1881 to 1957, see [[Larkford Corporation Tramways]].}}
__TOC__
{{Infobox tram network
| name = Larkford Tramway
| caption = A Series 200 tram on Bridge Street, 2024
| Locale = [[Larkford]]
| Lines = {{Color box|#d6336c}}1 {{Color box|#1c7ed6}}2 {{Color box|#f08c00}}3 {{Color box|#2f9e44}}4
| Stops = 46
| Opened = 12 September 2004
| Ridership = 112,000 a day (2025)
| Length = 31.5 km
| Gauge = 1,435 mm
| Power = 750 V DC, overhead
| Operator = Larkford Transit
}}
The '''Larkford Tramway''' is a light rail network serving the city of [[Larkford]] and its suburbs.
Its four lines meet at [[Larkford Central station|Central Station]] and carry about 112,000 passengers a day, more than any other way of crossing the river except on foot.<ref>1</ref>
The city had trams once before. The [[Larkford Corporation Tramways|old network]] closed in 1957, and its last depot is now the covered market.
== History ==
Horse trams first ran along Bridge Street in 1881, and the network was electrified in 1901. At its largest, in 1929, it had fourteen routes. Buses replaced them one by one after the war, and the last tram ran on 30 June 1957.{{citation needed}}
In 1996 the city council voted to bring trams back, after traffic on the two river bridges had doubled in ten years. Line 1 opened on 12 September 2004, and the network has grown every few years since.<ref>2</ref>
=== The airport extension ===
Line 4 was the first to run beyond the city boundary. It opened in March 2021, a year late, after the tunnel under the ring road flooded twice during building.
== Network ==
{| class="wikitable"
|+ Lines of the Larkford Tramway
! Line !! Route !! Opened !! Length !! Stops
|-
| {{Color box|#d6336c}}1 || Central Station to Harrow Hill || 2004 || 8.2 km || 13
|-
| {{Color box|#1c7ed6}}2 || Riverside to Northgate || 2007 || 7.4 km || 12
|-
| {{Color box|#f08c00}}3 || Old Market to St Bride's Hospital || 2012 || 6.1 km || 10
|-
| {{Color box|#2f9e44}}4 || Central Station to Larkford Airport || 2021 || 9.8 km || 11
|}
== Rolling stock ==
; Series 100
: 24 five-section trams, built from 2003 to 2006.
; Series 200
: 18 seven-section trams, built from 2019 to 2021, each with room for 280 passengers.
: The Series 200 trams charge at the end of each line and run without wires across the old town.
== See also ==
* [[Larkford Corporation Tramways]]
* [[Trams in Europe]]
* [https://example.com/larkford-transit Larkford Transit]
== References ==
<references />
^ 1. Larkford Transit, ''Annual report 2025'', page 4.
^ 2. ''Back on the rails: the Larkford tram story'', city council, 2005.
== How it's made ==
* This article is written in MediaWiki's own marks, and each one is a rule in the rules block. There is no Markdown here.
* <code>'''Bold'''</code> and <code>[[Larkford]]</code> are inline rules. The box at the right is an <code>{{Infobox</code> block whose rows are split at the = sign into a label and a value.
* <code>{{Color box|#d6336c}}</code> is a template that takes a colour, passed on to the square's style. The table is a wiki table, read row by row.
== Try it yourself ==
# Write <code>[[Larkford bus station]]</code> in a sentence under History. It becomes a blue link to that page.
# Add the row <code>| Depots = 2</code> to the infobox, above the closing braces. A new row appears in the box.
# Add a line <code>|-</code> and then <code>| 5 || Northgate to the university || 2027 || 5.6 km || 9</code> above the table's last line. The table grows by a line.
# Change <code>link</code> in the palette to <code>#c92a2a</code>. Every link turns red, like a link to a page nobody has written yet.
Next: ''Org-mode notes'' reads Org files the same way; ''Forum post'' adds tags to BBCode.