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: Difference between revisions

Template page
initial seed (admin)
 
PayphoneBot (talk | contribs)
Switch hero image hook to parser function {{#heroPhoto:cab}} (strip-marker fix)
 
(16 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<noinclude>
<noinclude>
This is the infobox used on every [[:Category:Payphones|Payphone]] page.
This template is used to document individual payphones. See [[Template:Payphone/doc]] for usage instructions.
The bot fills these parameters from the live game API; humans add prose
</noinclude><includeonly>{{Infobox/Payphone
under <code>== History ==</code> below the infobox.
| phone                = {{{phone|}}}
| cab                  = {{{cab|}}}
| id                    = {{{id|}}}
| image                = {{#heroPhoto:{{{cab|}}}}}
| address              = {{{address|}}}
| state                = {{{state|}}}
| postcode              = {{{postcode|}}}
| lat                  = {{{lat|}}}
| lng                  = {{{lng|}}}
| status                = {{{status|}}}
| tty_messaging_enabled = {{{tty_messaging_enabled|}}}
| wifi_hotspot          = {{{wifi_hotspot|}}}
| card_payment          = {{{card_payment|}}}
| incoming_calls        = {{{incoming_calls|}}}
| tty_hardware          = {{{tty_hardware|}}}
| adsl                  = {{{adsl|}}}
| fibre                = {{{fibre|}}}
| lte                  = {{{lte|}}}
}}
 
== Status ==
{{#if:{{{id|}}}|{{#tag:ptPayphone||id={{{id}}}}}|''No payphone ID set.''}}
 
{{#tag:ptPhotos||cab={{{cab|}}}}}


==Usage==
[[Category:Payphones]]{{#switch:{{{state|}}}
<pre>
| NSW = [[Category:Payphones in NSW]]
{{Payphone
| VIC = [[Category:Payphones in VIC]]
| phone    = 61298765432
| QLD = [[Category:Payphones in QLD]]
| display  = 02 9876 5432
| WA  = [[Category:Payphones in WA]]
| id      = 1234
| SA  = [[Category:Payphones in SA]]
| suburb  = Glebe
| TAS = [[Category:Payphones in TAS]]
| state    = NSW
| ACT = [[Category:Payphones in ACT]]
| postcode = 2037
| NT  = [[Category:Payphones in NT]]
| lat      = -33.879
}}{{#ifeq:{{{wifi_hotspot|}}}|yes|[[Category:Wi-Fi hotspot payphones]]}}{{#ifeq:{{{card_payment|}}}|yes|[[Category:Card payphones]]}}{{#ifeq:{{{incoming_calls|}}}|yes|[[Category:Incoming-call payphones]]}}{{#ifeq:{{{tty_hardware|}}}|yes|[[Category:TTY-equipped payphones]]}}{{#ifeq:{{{adsl|}}}|yes|[[Category:ADSL payphones]]}}{{#ifeq:{{{fibre|}}}|yes|[[Category:Fibre payphones]]}}{{#ifeq:{{{lte|}}}|yes|[[Category:LTE payphones]]}}{{#ifeq:{{{tty_messaging_enabled|}}}|yes|[[Category:Payphones with messaging enabled]]}}{{#ifeq:{{{status|}}}|inoperable|[[Category:Inoperable payphones]]}}</includeonly>
| lng      = 151.187
| status  = active
}}
</pre>
[[Category:Templates]]
</noinclude><includeonly>{| class="infobox" style="float: right; margin: 0 0 1em 1em; width: 22em; border: 1px solid #c8ccd1; background: #fff;"
! colspan="2" style="background: #1f6feb; color: #fff; font-size: 1.2em; padding: 0.5em;" | {{{display|{{{phone|Payphone}}}}}}
|-
! style="text-align: left; padding: 0.3em 0.6em; color: #54595d;" | Phone number
| style="padding: 0.3em 0.6em;" | {{{display|{{{phone|}}}}}}
|-
! style="text-align: left; padding: 0.3em 0.6em; color: #54595d;" | Suburb
| style="padding: 0.3em 0.6em;" | {{{suburb|}}}
|-
! style="text-align: left; padding: 0.3em 0.6em; color: #54595d;" | State
| style="padding: 0.3em 0.6em;" | {{{state|}}}
|-
! style="text-align: left; padding: 0.3em 0.6em; color: #54595d;" | Postcode
| style="padding: 0.3em 0.6em;" | {{{postcode|}}}
|-
! style="text-align: left; padding: 0.3em 0.6em; color: #54595d;" | Coordinates
| style="padding: 0.3em 0.6em;" | {{{lat|}}}, {{{lng|}}}
|-
! style="text-align: left; padding: 0.3em 0.6em; color: #54595d;" | Status
| style="padding: 0.3em 0.6em;" | {{{status|active}}}
|-
! style="text-align: left; padding: 0.3em 0.6em; color: #54595d;" | View on map
| style="padding: 0.3em 0.6em;" | [https://payphonetag.com/?payphone={{{id|}}} payphonetag.com →]
|}</includeonly>

Latest revision as of 02:07, 14 May 2026

This template is used to document individual payphones. See Template:Payphone/doc for usage instructions.