Template:Payphone/doc: Difference between revisions
Template page
More actions
No edit summary |
|||
| Line 8: | Line 8: | ||
== Basic usage == | == Basic usage == | ||
<pre>{{Payphone | <pre>{{Payphone | ||
| phone = | | phone = 0455462209 | ||
| cab = | | cab = 07552980X1 | ||
| id = | | id = 4733 | ||
}}</pre> | }}</pre> | ||
| Line 20: | Line 20: | ||
| <code>phone</code> || The payphone's full phone number. Also used as the page heading. || Yes | | <code>phone</code> || The payphone's full phone number. Also used as the page heading. || Yes | ||
|- | |- | ||
| <code>cab</code> || The cabinet ID for the payphone unit. || | | <code>cab</code> || The cabinet ID for the payphone unit. || Yes | ||
|- | |- | ||
| <code>id</code> || The unique payphone ID number. Used to embed the live status widget. || Yes | | <code>id</code> || The unique payphone ID number. Used to embed the live status widget. || Yes | ||
Revision as of 05:13, 4 May 2026
How to Use the Payphone Template
This page explains how to create a new payphone article using the {{Payphone}} template.
Creating a new page
- Navigate to the page title for the payphone you want to document. Page titles should follow the format Payphones:5922 where 5922 is the payphone ID. Do not include a # symbol.
- Paste the template call below into the page and fill in the parameters.
Basic usage
{{Payphone
| phone = 0455462209
| cab = 07552980X1
| id = 4733
}}
All parameters
| Parameter | Description | Required? |
|---|---|---|
phone |
The payphone's full phone number. Also used as the page heading. | Yes |
cab |
The cabinet ID for the payphone unit. | Yes |
id |
The unique payphone ID number. Used to embed the live status widget. | Yes |
locationnotes |
A written description of where the payphone is. Include nearby landmarks, street corners, or notable features. | No |
gallery |
One or more image tags, e.g. [[File:Example.jpg|thumb|Caption]] |
No |
notes |
Any other relevant information about this payphone. | No |
Full example
{{Payphone
| phone = 0298765432
| cab = CAB-042
| id = 5922
| locationnotes = Corner of Church Street and Darcy Street, next to Parramatta train station's western entrance.
| gallery = [[File:Payphone-5922.jpg|thumb|Payphone 5922, Church St Parramatta]]
| notes = One of the few remaining operational booths in the Parramatta CBD.
}}
What the template displays
The template renders the following sections on the page:
- Details - a table showing the phone number, cabinet ID, and payphone ID.
- Status - a live status widget pulled automatically from the game using the payphone ID.
- Location - the contents of
locationnotes, or a placeholder if omitted. - Gallery - any images provided, or a placeholder if omitted.
- Notes - any extra notes provided, or a placeholder if omitted.
Tips
- If you do not know a value, leave the parameter out entirely. The template will display "Unknown" or a placeholder in its place.
- The payphone ID can be found in the URL when viewing a payphone on [[1]], or on the map popup.
- To add references, use standard MediaWiki
<ref>tags anywhere in the parameters and add<references />at the bottom of the page. - Photos can be uploaded via Special:Upload and then referenced in the
galleryparameter.