Template:Payphone/doc: Difference between revisions
Template page
More actions
No edit summary |
|||
| Line 1: | Line 1: | ||
= How to Use the Payphone Template = | = How to Use the Payphone Template = | ||
This page explains how to create a new payphone article using the {{[[Template:Payphone|Payphone]]}} template. | This page explains how to create a new payphone article using the {{[[Template:Payphone|Payphone]]}} template. | ||
== Creating a new page == | == 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. | # 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. | # Paste the template call below into the page and fill in the parameters. | ||
== Basic usage == | == Basic usage == | ||
<pre>{{Payphone | <pre>{{Payphone | ||
| phone | | phone = 0298765432 | ||
| | | cab = CAB-001 | ||
| | | id = 5922 | ||
}}</pre> | }}</pre> | ||
== All parameters == | == All parameters == | ||
{| class="wikitable" | {| class="wikitable" | ||
|- | |- | ||
! Parameter !! Description !! Required? | ! Parameter !! Description !! Required? | ||
|- | |- | ||
| <code>phone</code> || The payphone's full phone number | | <code>phone</code> || The payphone's full phone number. Also used as the page heading. || Yes | ||
|- | |- | ||
| <code> | | <code>cab</code> || The cabinet ID for the payphone unit. || No | ||
|- | |- | ||
| <code> | | <code>id</code> || The unique payphone ID number. Used to embed the live status widget. || Yes | ||
|- | |- | ||
| <code> | | <code>locationnotes</code> || A written description of where the payphone is. Include nearby landmarks, street corners, or notable features. || No | ||
|- | |- | ||
| <code>gallery</code> || One or more image tags, e.g. <code><nowiki>[[File:Example.jpg|thumb|Caption]]</nowiki></code> || No | | <code>gallery</code> || One or more image tags, e.g. <code><nowiki>[[File:Example.jpg|thumb|Caption]]</nowiki></code> || No | ||
|- | |- | ||
| <code>notes</code> || Any other relevant information. || No | | <code>notes</code> || Any other relevant information about this payphone. || No | ||
|} | |} | ||
== Full example == | == Full example == | ||
<pre> | <pre> | ||
{{Payphone | {{Payphone | ||
| phone | | 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. | |||
| | |||
| | |||
| gallery | |||
| notes | |||
}} | }} | ||
</pre> | </pre> | ||
== 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 <code>locationnotes</code>, 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 == | == Tips == | ||
* If you do not know a value, leave the parameter out entirely. The template will display "Unknown" or a placeholder in its place. | |||
* If you do not know a value, | * The payphone ID can be found in the URL when viewing a payphone on [[https://payphonetag.com|payphonetag.com]], or on the map popup. | ||
* | * To add references, use standard MediaWiki <code><nowiki><ref></nowiki></code> tags anywhere in the parameters and add <code><nowiki><references /></nowiki></code> at the bottom of the page. | ||
* Photos can be uploaded via [[Special:Upload]] and then referenced in the <code>gallery</code> parameter. | |||
* To add references, use standard MediaWiki <code><nowiki><ref></nowiki></code> tags anywhere in the parameters and | |||
Revision as of 05:11, 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 = 0298765432
| cab = CAB-001
| id = 5922
}}
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. | No |
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.