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)
Add proper documentation on how to use template
 
Kevin (talk | contribs)
Line 10: Line 10:
== Basic usage ==
== Basic usage ==


<pre>
<pre>{{Payphone
{{Payphone
| phone    = 0298765432
| phone    = 0298765432
| id      = 5922
| id      = 5922
| suburb  = Parramatta
| suburb  = Parramatta
| state    = NSW
}}</pre>
| postcode = 2150
| lat      = -33.8136
| lng      = 150.9986
| status  = Operational
}}
</pre>


== All parameters ==
== All parameters ==

Revision as of 05:08, 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
| id       = 5922
| suburb   = Parramatta
}}

All parameters

Parameter Description Required?
phone The payphone's full phone number Yes
display Override for the displayed phone number (e.g. formatted differently). Defaults to phone if not set. No
id The unique payphone ID number Yes
suburb Suburb where the payphone is located Yes
state Australian state or territory (e.g. NSW, VIC, QLD) Yes
postcode Postcode Yes
lat Latitude coordinate Yes
lng Longitude coordinate Yes
status Current status of the payphone. Common values: Operational, Removed, Damaged, Unknown Yes
location A written description of where the payphone is. Include nearby landmarks, street corners, or notable features. No
history Any known history about this payphone. No
gallery One or more image tags, e.g. [[File:Example.jpg|thumb|Caption]] No
notes Any other relevant information. No

Full example

{{Payphone
| phone    = 0298765432
| id       = 5922
| suburb   = Parramatta
| state    = NSW
| postcode = 2150
| lat      = -33.8136
| 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.
}}

Tips

  • If you do not know a value, you can leave the parameter out entirely. The template will display "Unknown" in its place.
  • Coordinates can be found using Google Maps. Right-click a location and copy the latitude/longitude values shown.
  • The status field is freeform but try to use consistent values across articles so they can be categorised easily later.
  • To add references, use standard MediaWiki <ref> tags anywhere in the parameters and they will appear under the References section automatically.