Szerkesztővita:Margotbean
A lap korábbi változatát látod, amilyen Margotbean (vitalap | szerkesztései) 2022. július 7., 14:14-kor történt szerkesztése után volt.
Ez az oldal a Szerkesztő:Margotbean megbeszélésre van.. | |
---|---|
|
|
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)