Template:Payphone/doc: Difference between revisions
Template page
More actions
PayphoneBot (talk | contribs) Update template for cabinet-id-keyed pages (bot) |
|||
| (2 intermediate revisions by one other user not shown) | |||
| Line 1: | Line 1: | ||
= How to Use the Payphone Template = | = How to Use the Payphone Template = | ||
This page explains the {{[[Template:Payphone|Payphone]]}} template. Most payphone pages are bot-seeded — you'll only need this page if you're hand-editing or hand-creating a page. | |||
== Page title convention == | |||
Page titles use the Telstra cabinet ID, in the form '''Payphone:03524808X2'''. The bot also creates a redirect from '''Payphone:#1234''' (the loadtalk numeric ID) so links from the game site keep working. | |||
== | == Bot-populated parameters == | ||
These come from the game API. Don't edit them — they'll be overwritten on the next resync run. | |||
{| class="wikitable" | {| class="wikitable" | ||
|- | |- | ||
! Parameter !! Description | ! Parameter !! Description | ||
|- | |- | ||
| <code>phone</code> || | | <code>phone</code> || Phone number you'd dial. | ||
|- | |- | ||
| <code> | | <code>cab</code> || Telstra cabinet ID — also the page title. | ||
|- | |- | ||
| <code>id</code> || | | <code>id</code> || Internal loadtalk numeric ID. Used to embed the live status widget. | ||
|- | |- | ||
| <code> | | <code>address</code>, <code>state</code>, <code>postcode</code> || Postal address fields. | ||
|- | |- | ||
| <code> | | <code>lat</code>, <code>lng</code> || Coordinates. | ||
|- | |- | ||
| <code> | | <code>status</code> || <code>active</code> or <code>inoperable</code>. | ||
|- | |- | ||
| <code> | | <code>tty_messaging_enabled</code> || In-game flag — whether the Baudot message board is enabled at this phone. | ||
|- | |- | ||
| <code> | | <code>wifi_hotspot</code>, <code>card_payment</code>, <code>incoming_calls</code>, <code>tty_hardware</code>, <code>adsl</code>, <code>fibre</code>, <code>lte</code> || Telstra-reported capabilities. Each is <code>yes</code>, <code>no</code>, or <code>unknown</code>. | ||
|} | |||
== Editor parameters == | |||
Add these to a bot-seeded page to enrich it. | |||
{| class="wikitable" | |||
|- | |- | ||
! Parameter !! Description !! Required? | |||
|- | |- | ||
| <code> | | <code>locationnotes</code> || Description of where the payphone is — landmarks, street corners, anything that helps a player find it. || No | ||
|- | |- | ||
| <code> | | <code>gallery</code> || One or more <code><nowiki>[[File:…]]</nowiki></code> tags. Upload via [[Special:Upload]] first. || No | ||
|- | |- | ||
| <code> | | <code>notes</code> || Stories, history, anything else worth recording. || No | ||
|} | |} | ||
== | == Categories == | ||
The template auto-categorises pages based on the bot-supplied parameters: | |||
* [[:Category:Payphones]] — root category, every page. | |||
* [[:Category:Payphones in NSW]] / VIC / QLD / WA / SA / TAS / ACT / NT — by state. | |||
* [[:Category:Wi-Fi hotspot payphones]], [[:Category:Card payphones]], [[:Category:Incoming-call payphones]], [[:Category:TTY-equipped payphones]], [[:Category:ADSL payphones]], [[:Category:Fibre payphones]], [[:Category:LTE payphones]] — by capability. | |||
* [[:Category:Payphones with messaging enabled]] — when the in-game Baudot board is on. | |||
* [[:Category:Inoperable payphones]] — when status is <code>inoperable</code>. | |||
</ | |||
== Tips == | == Tips == | ||
* The live "Status" section pulls owner / capture state from the game on every page view, with a 5-minute cache. | |||
* | * To add references, use standard MediaWiki <code><nowiki><ref></nowiki></code> tags and add <code><nowiki><references /></nowiki></code> at the bottom of the page. | ||
* To add references, use standard MediaWiki <code><nowiki><ref></nowiki></code> tags | |||
Latest revision as of 13:57, 4 May 2026
How to Use the Payphone Template
This page explains the {{Payphone}} template. Most payphone pages are bot-seeded — you'll only need this page if you're hand-editing or hand-creating a page.
Page title convention
Page titles use the Telstra cabinet ID, in the form Payphone:03524808X2. The bot also creates a redirect from Payphone:#1234 (the loadtalk numeric ID) so links from the game site keep working.
Bot-populated parameters
These come from the game API. Don't edit them — they'll be overwritten on the next resync run.
| Parameter | Description |
|---|---|
phone |
Phone number you'd dial. |
cab |
Telstra cabinet ID — also the page title. |
id |
Internal loadtalk numeric ID. Used to embed the live status widget. |
address, state, postcode |
Postal address fields. |
lat, lng |
Coordinates. |
status |
active or inoperable.
|
tty_messaging_enabled |
In-game flag — whether the Baudot message board is enabled at this phone. |
wifi_hotspot, card_payment, incoming_calls, tty_hardware, adsl, fibre, lte |
Telstra-reported capabilities. Each is yes, no, or unknown.
|
Editor parameters
Add these to a bot-seeded page to enrich it.
| Parameter | Description | Required? |
|---|---|---|
locationnotes |
Description of where the payphone is — landmarks, street corners, anything that helps a player find it. | No |
gallery |
One or more [[File:…]] tags. Upload via Special:Upload first. |
No |
notes |
Stories, history, anything else worth recording. | No |
Categories
The template auto-categorises pages based on the bot-supplied parameters:
- Category:Payphones — root category, every page.
- Category:Payphones in NSW / VIC / QLD / WA / SA / TAS / ACT / NT — by state.
- Category:Wi-Fi hotspot payphones, Category:Card payphones, Category:Incoming-call payphones, Category:TTY-equipped payphones, Category:ADSL payphones, Category:Fibre payphones, Category:LTE payphones — by capability.
- Category:Payphones with messaging enabled — when the in-game Baudot board is on.
- Category:Inoperable payphones — when status is
inoperable.
Tips
- The live "Status" section pulls owner / capture state from the game on every page view, with a 5-minute cache.
- To add references, use standard MediaWiki
<ref>tags and add<references />at the bottom of the page.