Template:Repair service map popup: Difference between revisions

Update property names to drop "Has" prefix (via update-page on MediaWiki MCP Server)
Fix: Use explicit Page parameter for link target, Repair service name for display text (via update-page on MediaWiki MCP Server)
Line 1: Line 1:
<noinclude>
<noinclude>
This template formats the popup content for repair services on the map. Used by the #ask query with format=leaflet.
This template formats the popup content for repair services on the map. Used by the #ask query with format=leaflet.
== Parameters ==
Passed from the semantic query:
* '''Page''' - The page name (from mainlabel)
* '''Repair service name''' - Display name for the service
* '''City''' - Location city
* '''Device types''' - Types of devices repaired
* '''Mail-in service''' - Whether mail-in is available


[[Category:Templates]]
[[Category:Templates]]
</noinclude><includeonly><strong>[[{{{1}}}|{{{Repair service name|{{{1}}}}}}]]</strong>{{#if:{{{City|}}}|<br>{{{City|}}}}}{{#if:{{{Device types|}}}|<br><small>{{{Device types|}}}</small>}}{{#ifeq:{{{Mail-in service|}}}|Yes|<br>✓ Mail-in available}}</includeonly>
</noinclude><includeonly><strong>[[{{{Page}}}|{{{Repair service name|{{{Page}}}}}}]]</strong>{{#if:{{{City|}}}|<br>{{{City|}}}}}{{#if:{{{Device types|}}}|<br><small>{{{Device types|}}}</small>}}{{#ifeq:{{{Mail-in service|}}}|Yes|<br>✓ Mail-in available}}</includeonly>
MediaWiki Appliance - Powered by TurnKey Linux