NOTICE: help.openstreetmap.org is no longer in use from 1st March 2024. Please use the OpenStreetMap Community Forum

I'm trying to add a new row to the table on the amenity=vending_machine page. Most sections and most tables I've seen have a link allowing you to edit but this one uses a template. If there's any available help on this topic it seems to be well hidden. I want to add vending=fuel, which is becoming a very common way to buy fuel in Thailand where I map. I have already uploaded an appropriate image to Wikimedia

Can someone explain how to insert a row into these template controlled pages?

asked 12 Jan '15, 12:28

AlaskaDave's gravatar image

AlaskaDave
5.4k76107164
accept rate: 16%

edited 12 Jan '15, 13:04

aseerel4c26's gravatar image

aseerel4c26 ♦
32.6k18248554

wiki editing aside, what about amenity=fuel and automated=yes? Don't you intentionally not want to use the usual fuel tag?

(12 Jan '15, 12:56) aseerel4c26 ♦

I am using amenity=fuel. I cannot use amenity=vending_machine for that reason. But I do use several other tags, among them are: vending_machine=yes vending=fuel opening_hours=* payment:cash=yes ... etc.

But I want to add vending=fuel to the other vended items in that table.

(12 Jan '15, 13:13) AlaskaDave

There is a link to help you with editing just below the long table …

  1. follow it (then you are at the template's page)
  2. click "edit" (at top of the page – those on the page or from the template's docu)
  3. add your entry (example) (alphabetic ordering seems to be useful)
  4. use the preview (since editing tables easily leads to errors because of their syntax)
  5. save

General help about editing templates is there: Help:Template (quick version). And there about tables.

permanent link

answered 12 Jan '15, 12:59

aseerel4c26's gravatar image

aseerel4c26 ♦
32.6k18248554
accept rate: 18%

edited 12 Jan '15, 13:50

1

On second thought, forget about it. That is possibly the least user friendly method of adding information to a page that I've ever seen!

It's bad enough to use the brackets, double brackets, triple tildes when editing an "ordinary" wiki page. but the template process takes the cake.

Thanks for your help, as always, aseerel4c26. I appreciate it even though I won't do anything with this advice.

(12 Jan '15, 13:38) AlaskaDave

In my ignorance and impatience, I edited the template. Now I'm at a loss as to how to remove my mistake. I added "fuel:desc-" hoping I would then get an opportunity to add items after it (somehow). My apologies.

(12 Jan '15, 13:55) AlaskaDave

@AlaskaDave: That's true. Added for you (copy & paste + search & replace in a texteditor helps). Please replace the filename (placeholder.jpg currently) with your photo file name. Adding a description would be good too.

(12 Jan '15, 13:57) aseerel4c26 ♦

@AlaskaDave: Regarding "remove": Your edit to that documentation page could be undone simply by removing the addition again (again in edit mode). Instead of this you could go to the page's history (linked on top of each page) and use the "undo" link.

(12 Jan '15, 14:02) aseerel4c26 ♦

Thanks again. I added a tag pair in the description that is redundant, (vending=fuel) but I'll be damned if I can figure out how to edit that table again. I need some sleep now. I forgot a leading pipe symbol and my eyes got blurry counting braces until I found the error. Wow! Someone needs to develop a UI for that beast of an editor!!

(12 Jan '15, 14:43) AlaskaDave

@AlaskaDave: finally, this looks fine!

(12 Jan '15, 14:56) aseerel4c26 ♦
showing 5 of 6 show 1 more comments

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:

×352
×71
×1

question asked: 12 Jan '15, 12:28

question was seen: 2,821 times

last updated: 12 Jan '15, 14:56

NOTICE: help.openstreetmap.org is no longer in use from 1st March 2024. Please use the OpenStreetMap Community Forum