Template talk:Coord
From CruisersWiki
Coordinates in print followed by a lengthy URL
On printed version of a page every instance of Template:Coord is followed by an URL to tools.wmflabs.org (like http://tools.wmflabs.org/geohack/geohack.php?language=en¶ms=37_43.6_N_26_50.6_W).
Currently it's code is:
<span class="plainlinksneverexpand">[{{Coord URL}}{{{1}}}_{{{2}}}_{{{3}}}_{{{4}}}_{{{5}}}_{{{6}}} <span style="white-space:nowrap">{{{1}}}°{{{2}}}′{{{3}}},</span> <span style="white-space:nowrap">{{{4}}}°{{{5}}}′{{{6}}}</span>]</span>
Here is how this could be fixed:
<span class="plainlinks nourlexpansion">[{{Coord URL}}{{{1}}}_{{{2}}}_{{{3}}}_{{{4}}}_{{{5}}}_{{{6}}} <span style="white-space:nowrap">{{{1}}}°{{{2}}}′{{{3}}},</span> <span style="white-space:nowrap">{{{4}}}°{{{5}}}′{{{6}}}</span>]</span>
Associated with MediaWiki:Print.css:
/* CSS placed here will affect the print output */ /* removing url */ .nourlexpansion a.external.text:after { display: none !important; }
--Vadp 18:14, 10 March 2015 (GMT)