Sgwrs:Telesgop Pegwn y De

Ni chefnogir cynnwys y dudalen mewn ieithoedd eraill.
Oddi ar Wicipedia

Croeso i chi gywiro'r erthygl hon, ond peidiwch a chyffwrdd y Nodyn:Infobox telescope. Mae'r Nodyn yma'n un arbrofol, gyda'r data'n cael ei dynnu o Wicidata. Diolch. Llywelyn2000 (sgwrs) 08:20, 11 Gorffennaf 2016 (UTC)[ateb]

Mae'n ymddangos i mi'n eitha cywir (ar wahan i destun y llun). Ond mae na beryglon gyda dod a data o Wicidata. Cyn belled a'n bod yn medru rheoli pa data'n sy'n cael ei gymryd, mae'n dderbyniol yn fy marn i. Llywelyn2000 (sgwrs) 09:21, 11 Gorffennaf 2016 (UTC)[ateb]

Infobox[golygu cod]

@RexxS: Seems ok; the text under the image, however, is in English - seems to pick up the 1st in the list rather than the local language. Many thanks! Llywelyn2000 (sgwrs) 09:26, 11 Gorffennaf 2016 (UTC)[ateb]

The [*] has text 'The article does not exist...' needs to be changed; can you give me a link please? Llywelyn2000 (sgwrs) 09:29, 11 Gorffennaf 2016 (UTC)[ateb]
@Llywelyn2000: The image caption defaulted to English because the Nodyn:Infobox telescope needed an update to the latest version. I've fixed that now.
To fix the second part, you'll need to edit the Modiwl:Wikidata. Line 28 contains ["local-article-not-found"] = "Article is not yet available in this wiki". Change it to ["local-article-not-found"] = "Nid yw Erthygl ar gael eto yn y wici hwn" or whatever the correct Welsh translation is. You can do the other messages as well if you want - only change the second piece of text (not the bit in [square brackets]). All of the messages from line 17 to line 80 contain the translations that have to be made for each language Wikipedia (but hopefully none of the other lines of code). Let me know how that goes! Cheers --RexxS (sgwrs) 11:44, 11 Gorffennaf 2016 (UTC)[ateb]
@RexxS: Thanks Doug! Is there a list of other infoboxes? And... don't forget the Wikidata Taxobox. Gwyn (User:Cell Danwydd) is now in a digital quagmire! Thanks! Llywelyn2000 (sgwrs) 13:01, 11 Gorffennaf 2016 (UTC)[ateb]
@Llywelyn2000: You're welcome, Robin! Have a look on en-wp at https://en.wikipedia.org/wiki/Special:WhatLinksHere/Template:Infobox_telescope for a list of telescope articles that use [Infobox telescope]. There is also a category https://en.wikipedia.org/wiki/Category:Templates_using_data_from_Wikidata that shows other templates that fetch data from Wikidata, so see what might interest you.
I've just spotted the mess around Taxobox - unfortunately I've never played any part in writing that one, and I wouldn't have done it that way! I try to make all my modules self-contained so that they can be exported as a single unit. Nevertheless, I'll have a look when I've got a few hours to go through all the code and see if I can work out what could be done here. Cheers --RexxS (sgwrs) 13:15, 11 Gorffennaf 2016 (UTC)[ateb]