Create Repair service template with semantic properties and map support (via create-page on MediaWiki MCP Server)
 
Add warning message when coordinates are missing (via update-page on MediaWiki MCP Server)
Line 36: Line 36:
</noinclude><includeonly>__NOCACHE__
</noinclude><includeonly>__NOCACHE__
{{#default_form:Repair service}}
{{#default_form:Repair service}}
{{#if:{{{coordinates|}}}||<div style="background: #fee; border: 1px solid #c00; padding: 0.75em; margin-bottom: 1em; border-radius: 4px;">
'''⚠️ Missing coordinates''' — This repair service will not appear on the [[Repair Services Map]]. Please add coordinates (latitude, longitude) to display it on the map. You can get coordinates from [https://www.latlong.net/ LatLong.net] or by right-clicking on Google Maps.
</div>}}
{| class="infobox" style="width: 300px; border: 1px solid #aaa; padding: 0.5em; margin: 0 0 1em 1em; float: right; background: #f9f9f9;"
{| class="infobox" style="width: 300px; border: 1px solid #aaa; padding: 0.5em; margin: 0 0 1em 1em; float: right; background: #f9f9f9;"
! colspan="2" style="background: #ccc; text-align: center; font-size: 1.2em; padding: 0.5em;" | {{{name|{{PAGENAME}}}}}
! colspan="2" style="background: #ccc; text-align: center; font-size: 1.2em; padding: 0.5em;" | {{{name|{{PAGENAME}}}}}
Line 101: Line 104:
}}
}}


[[Category:Repair services]]
[[Category:Repair services]]{{#if:{{{coordinates|}}}||[[Category:Repair services needing coordinates]]}}
</includeonly>
</includeonly>

Revision as of 02:01, 13 January 2026

This template is used to create repair service listings. Use Form:Repair service to create or edit entries.

Parameters

Parameter Description
name Business or individual name
address Street address
city City
state State/province/region
country Country
coordinates Latitude, longitude for map display
phone Phone number
email Email address
website Website URL
device_types Types of devices repaired (multi-value)
service_types Types of services offered (multi-value)
mail_in Whether mail-in service is available (Yes/No)
notes Additional notes, specialties, hours, etc.
MediaWiki Appliance - Powered by TurnKey Linux