Szerkesztővita:Margotbean

Innen: Stardew Valley Wiki
A lap korábbi változatát látod, amilyen Mihokjol (vitalap | szerkesztései) 2022. július 8., 12:55-kor történt szerkesztése után volt. (→‎Question about syntax 02: (új szakasz))
Ugrás a navigációhoz Ugrás a kereséshez
Ez az oldal a Szerkesztő:Margotbean megbeszélésre van..
  • Írjuk be és dátumozzuk be az üzeneteinket négy hullámos vonal beírásával (~~~~).
  • Helyezzünk új szöveget a régi szöveg alá.
  • Legyen udvarias.
  • Tegyük fel, hogy mindenki jóhiszemű.
  • Ne töröljünk a beszélgetéseket.

Question about syntax 01

Hello Margotbean,

I feel a bit confused about the naming of the items in the infoboxes.

  • The day before yesterday you corrected my edit in Coffee Bean from "name = Coffee Bean" to "eng = Coffee Bean". It is a simple Infobox. I thought it is general. So I corrected the infoboxes of every item I edited.
  • Today you corrected my edit in Triple Shot Expresso from "eng = Triple Shot Expresso2 to "name = Tripla eszpresszó". It is an infobox cooking. So it differs from the above.

Is there a rule to differentiate between infoboxes regarding naming? What you suggest me to follow? Where to use "eng" with english name and where to use "name" with the hungarian.

I hope you can help me in the topic.

Thank you for your reply.

Mihokjol (vita) 2022. július 6., 19:04 (UTC)

Oh boy... I know it's confusing, and all infobox templates should be the same. Unfortunately they're not. Sablon:Infobox and Sablon:Infobox fish require "eng" to work properly. Sablon:Infobox cooking requires "name" because it is transcluded onto other pages. I think (without checking them all) that most others will accept "name" and "image" --or-- "eng" without problems. Sablon:Infobox cooking is the odd one.
You can check the documentation on the English page, there is a link on every Template page, and that may help. The documentation should tell you which to use. If you find an error in the documentation, I can update it! :)
I hope this helps... margotbean (vita) 2022. július 7., 14:13 (UTC)

Question about syntax 02

Hello Margotbean,

I started to translate the page Travelling Cart. The cart itself offers plenty of items from which many are automatically translated. The other half are not done so. These are mainly the furnitures. The situation is the same on the Furnitures page. Or if I edit a page of a specific furniture, e.g.: Country Lamp in English it shows the image, but in hungarian no. Vidéki lámpa With this I have to edit (translate) at least in three places the same information for all of the furnitures. I know I can do it by adding |alt=Vidéki lámpa|. But three times...

Can this be solved somehow? Can I do it somehow? For Recipes there is a working solution with |RecipeRow.

Thanks for the reply. Mihokjol (vita) 2022. július 8., 12:55 (UTC)