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
Kevin (talk | contribs)
Kevin (talk | contribs)
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   = 0298765432
| phone = 0298765432
| id      = 5922
| cab  = CAB-001
| suburb  = Parramatta
| 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 || Yes
| <code>phone</code> || The payphone's full phone number. Also used as the page heading. || Yes
|-
| <code>display</code> || Override for the displayed phone number (e.g. formatted differently). Defaults to <code>phone</code> if not set. || No
|-
| <code>id</code> || The unique payphone ID number || Yes
|-
| <code>suburb</code> || Suburb where the payphone is located || Yes
|-
|-
| <code>state</code> || Australian state or territory (e.g. NSW, VIC, QLD) || Yes
| <code>cab</code> || The cabinet ID for the payphone unit. || No
|-
|-
| <code>postcode</code> || Postcode || Yes
| <code>id</code> || The unique payphone ID number. Used to embed the live status widget. || Yes
|-
|-
| <code>lat</code> || Latitude coordinate || Yes
| <code>locationnotes</code> || A written description of where the payphone is. Include nearby landmarks, street corners, or notable features. || No
|-
| <code>lng</code> || Longitude coordinate || Yes
|-
| <code>status</code> || Current status of the payphone. Common values: '''Operational''', '''Removed''', '''Damaged''', '''Unknown''' || Yes
|-
| <code>location</code> || A written description of where the payphone is. Include nearby landmarks, street corners, or notable features. || No
|-
| <code>history</code> || Any known history about this payphone. || 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   = 0298765432
| phone         = 0298765432
| id      = 5922
| cab          = CAB-042
| suburb  = Parramatta
| id            = 5922
| state    = NSW
| locationnotes = Corner of Church Street and Darcy Street, next to Parramatta train station's western entrance.
| postcode = 2150
| gallery       = [[File:Payphone-5922.jpg|thumb|Payphone 5922, Church St Parramatta]]
| lat      = -33.8136
| notes         = One of the few remaining operational booths in the Parramatta CBD.
| lng      = 150.9986
| status  = Operational
| location = Located on the corner of Church Street and Darcy Street, adjacent to Parramatta train station's western entrance.
| history  = Installed circa 2003. Reported as still active as of 2024.
| gallery = [[File:Payphone-5922.jpg|thumb|Payphone 5922, Church St Parramatta]]
| notes   = This payphone is one of the few remaining operational booths in the Parramatta CBD.
}}
}}
</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, you can leave the parameter out entirely. The template will display "Unknown" in its place.
* The payphone ID can be found in the URL when viewing a payphone on [[https://payphonetag.com|payphonetag.com]], or on the map popup.
* Coordinates can be found using Google Maps. Right-click a location and copy the latitude/longitude values shown.
* 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.
* The <code>status</code> field is freeform but try to use consistent values across articles so they can be categorised easily later.
* 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 they will appear under the References section automatically.

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

  1. 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.
  2. 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 gallery parameter.