Sgwrs Nodyn:Cuddiwyd

Latest comment: 15 o flynyddoedd yn ôl by Alan012 in topic Can anyone get this working?

Can anyone get this working? golygu

There's this useful template on Wikipedia called en:Template:Hidden that lets you hide away long sections of a page until you click "show". I put an example here.

So I copied it here as Nodyn:Cuddiwyd, and it doesn't quite work. The English one says "show" when you first load the page, you click "show" and the text appears, then "hide" and it disappears, etc. The Welsh one says "cuddio" when you first load the page, even though the text is already hidden, see e.g. this version of the sandbox. You click "cuddio" and nothing happens. Only after that can you click "dangos" / "cuddio" etc.

What have I done wrong?

Thanks Alan 17:08, 1 Awst 2008 (UTC)Ateb

Not sure. Doesn't seem to use templates we don't have. Suggest you ask Adam to have a look - he's good with this sort of thing. Anatiomaros 17:24, 1 Awst 2008 (UTC)Ateb
Have done. Diolch. Alan 18:19, 1 Awst 2008 (UTC)Ateb
Dwi 'di diweddaru MediaWici:Common.css a MediaWici:Common.js yn ôl y Wikipedia Saesneg; mae côd o fewn y tudalennau yma yn rheoli sut mae'r nodyn hwn yn gweithio. Fel arfer mae'n cymryd cwpl o ddyddiau i hyn gael effaith, ond gobeithio bydd popeth yn iawn. —Adam (sgwrscyfraniadau) 17:59, 3 Awst 2008 (UTC)Ateb
Ardderchog, diolch! Wna i geisio eto wedi dau ddiwrnod. A seren aur ar eich cyfer os mae'n gweithio. Alan 18:17, 3 Awst 2008 (UTC)Ateb
Nôl i'r dudalen "Cuddiwyd".