Wiki templates for OHM

In the process of preparing what I suggested last Idea: OHM-Boundaries
For the purpose of learning templates in wiki at the same time, I created {{OHM/node}} , {{OHM/way}} , and {{OHM/rel}} , from an {{OHM/obj}} Template:OHM/obj - OpenStreetMap Wiki
Made the style to my personal liking, and not using any more advanced syntax for laziness. So you can’t hide the id, or either icon for now.
I will focus my attention on making other templates now. Will update in this post. But if you have any comments, they are welcomed here, or at the discussion page. Feel free to edit it yourself too. https://wiki.openstreetmap.org/wiki/Template_talk:OHM/obj

2 Likes

Thanks for creating these templates! I had been dreading having to modify the existing, convoluted Module:Element - OpenStreetMap Wiki to handle OHM links for Template:Relation - OpenStreetMap Wiki, but these separate templates will be easier to manage.

By the way, I’ve configured some interwiki prefixes for OHM, so you can use the simpler internal link syntax instead of the external link syntax in these templates, for example, [[ohmway:199975067|3nmi line]]. This suppresses the little external link icon. It works in the visual editor too, though it isn’t as discoverable as a template.

Indeed, don’t want to touch Lua scripts, so didn’t use the Module: from the Node| etc I do use. I don’t find the tools, or languages, needed either.
Totally forgot about interwiki link. Have only been using the Wikipedia| templates.