Template talk:Eat

Latest comment: 3 months ago by Seefooddiet in topic Wikipedia article

Bug at Template:Eat?

edit
Swept in from the pub

Whenever complete sentences are typed in to the content= parameter of the "Eat" listing template, the last sentence always ends with two periods (full stops). This does not seem to be a problem with Template:Buy, Template:Drink, etc. I have no knowledge of how to work with templates. Please advise. -- AndreCarrotflower (talk) 06:30, 11 March 2014 (UTC)Reply

Can you point to a specific example? WOSlinker modified Template:Listing today to add a period after the price when there is both template content and a price, but the change doesn't look like it should add an extra period [1]. -- Ryan • (talk) • 06:54, 11 March 2014 (UTC)Reply
Pretty much everything at Buffalo/Allentown and the Delaware District#Eat, for example. -- AndreCarrotflower (talk) 06:57, 11 March 2014 (UTC)Reply
On second look it appears that the change would add an extra period whenever there is both a price and content, so I've reverted it pending further clarification. -- Ryan • (talk) • 07:00, 11 March 2014 (UTC)Reply
Thanks. -- AndreCarrotflower (talk) 07:05, 11 March 2014 (UTC)Reply
Sorry about that. I had added the extra . as I was seeing a number of listings with the content and the price running into each other, for example:
  • Title. Something Price.
As the content did not end with a fullstop.
  • Title. Something
So I'll have to do something that checks to see if the last character of content is a . or a , and if not adds one. -- WOSlinker (talk) 07:10, 11 March 2014 (UTC)Reply

I sometimes see a double .. on listings where the hours ends in a fullstop, so that could do with something similar. -- WOSlinker (talk) 07:13, 11 March 2014 (UTC)Reply

  • Title. Hours.. Something

Wikipedia article

edit

Is it possible to have Wikipedia links for restaurants? Where should we put them if so? Seefooddiet (talk) 19:26, 20 August 2024 (UTC)Reply

Return to "Eat" page.