Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:Payphone/doc: Difference between revisions

Template page
PayphoneBot (talk | contribs)
Update template for cabinet-id-keyed pages (bot)
PayphoneBot (talk | contribs)
Update template for cabinet-id-keyed pages (bot)
Line 3: Line 3:


== Page title convention ==
== 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.
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.
 
== Page structure ==
A bot-seeded payphone page looks like this:
 
<pre>
{{Payphone
| phone                = 0436020131
| cab                  = 02624108X2
| id                    = 4
... (more bot-supplied params)
}}
 
== Description ==
&lt;!-- Short description, history, anything worth recording. --&gt;
 
== Location ==
&lt;!-- Where is it? Nearby landmarks, street corners, accessibility. --&gt;
 
== Gallery ==
&lt;!-- Upload photos via Special:Upload then embed [[File:Foo.jpg|thumb]] --&gt;
</pre>
 
The template renders the static [[Template:Infobox/Payphone|infobox]] (right rail) and a live ''Status'' section pulled from the game on every page view. The '''Description''', '''Location''', and '''Gallery''' sections are plain wikitext on the page itself — click any section's edit link to edit that section directly.


== Bot-populated parameters ==
== Bot-populated parameters ==
Line 27: Line 50:
|-
|-
| <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>.
| <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>description</code> || A short description of the payphone — context, history, anything worth recording. || No
|-
| <code>locationnotes</code> || Where the payphone is — landmarks, street corners, anything that helps a player find it. || No
|-
| <code>gallery</code> || One or more <code><nowiki>[[File:…]]</nowiki></code> tags. Upload via [[Special:Upload]] first. || No
|}
|}



Revision as of 12:05, 5 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.

Page structure

A bot-seeded payphone page looks like this:

{{Payphone
| phone                 = 0436020131
| cab                   = 02624108X2
| id                    = 4
... (more bot-supplied params)
}}

== Description ==
<!-- Short description, history, anything worth recording. -->

== Location ==
<!-- Where is it? Nearby landmarks, street corners, accessibility. -->

== Gallery ==
<!-- Upload photos via Special:Upload then embed [[File:Foo.jpg|thumb]] -->

The template renders the static infobox (right rail) and a live Status section pulled from the game on every page view. The Description, Location, and Gallery sections are plain wikitext on the page itself — click any section's edit link to edit that section directly.

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.

Categories

The template auto-categorises pages based on the bot-supplied parameters:

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.