Template talk:Wikidata/FamilyTree
This template causes errors
[edit]@Richard Arthur Norton (1958- ): , This template causes errors in File:Schwerin - Freudenberg family tree with Moses Freudenberg (1786-1846) and Moritz Schwerin (1810-1858) and their children.jpg. Can someone fix it or remove from the page? --Jarekt (talk) 20:39, 12 June 2019 (UTC)
- @Jarekt: I fixed the overflow error, as more people were linked it surpassed the number of people it could display. I reduced the number of generations that are displayed. As more photos get scanned at the Jewish Museum Berlin and get scanned before the next tranche is sent to the museum, there are more entries. RAN (talk) 22:15, 12 June 2019 (UTC)
Suggestions 2020-07
[edit]This template is awesome. I was experimenting with it and I have some suggestions:
- the reading order should be standardised? either left to right, or right to left, for all, instead of letting users decide? coz it may cause confusion to users when some are ltr and some rtl.
- it should draw the corresponding Q id automatically (like wikidata infobox)? so that entityid and title dont have to be explicitly defined.
- see Category:Chiang Kai-shek, it couldnt fetch the commons cat for Category:Chiang Ching-kuo. (probably because Category:Chiang Ching-kuo is linked to the cat item Category:Chiang Ching-kuo (Q30969168) but not the topic item Chiang Ching-kuo (Q313598)?)
--RZuo (talk) 11:33, 28 July 2020 (UTC)
Please make collapsible
[edit]Lest this website slide further towards becoming Wikitree 2.0 or Wikipedia Lite, Commons is a media repository first, and a family tree showcase secondarily. Large and highly detailed family trees like those seen at Category:Polly Caton serve only to push media content down further. If we must have these monstrous templates taking up an entire page, can we at least make them collapsible, similar to {{Wikidata Infobox}}? --Animalparty (talk) 03:49, 3 August 2020 (UTC)
- @Animalparty: you can use syntax below see example Category:Erik_Johansson_(Vasa)
{{collapse|title=Family Tree| {{Wikidata/FamilyTree|entityId=Q3742602|title={{Q|Q3742602}}|ancestors=3|descendants=3|compact=true|invert=1|decorate=by-generation|years=0}}}} {{Wikidata Infobox}}
Lua error when using years --> in package.lua at line 80: module 'Module:RomanNumber' not found.
[edit]Thanks for a magic template I get an error on Erik Johansson Vasa (Q3742602)
* syntax with error {{Wikidata/FamilyTree|entityId=Q3742602|title={{Q|Q3742602}}|ancestors=1|descendants=3|compact=true|invert=1|decorate=by-
* no problem {{Wikidata/FamilyTree|entityId=Q3742602|title={{Q|Q3742602}}|ancestors=1|descendants=3|compact=true|invert=1|decorate=by-generation|years=0}}
My guess its something with the data of Johan Kristiernsson (Q5884381) and dates - Salgo60 (talk) 07:25, 20 October 2021 (UTC)
Lua error: not enough memory
[edit]See here for a list of pages where this template runs out of Lua memory. I'm not sure whether this can be fixed by changing the Lua module—the Wikidata items used by these pages might just be too large. LennardHofmann (talk) 11:59, 11 July 2022 (UTC)
class="collapsible autocollapse" not working
[edit]Shouldn't the above in the code display the template in a collapsed form?
On Category:Ulrica Christina Wellingk the tree takes up so much room that one didn't even notice that infobox wasn't working as the page wasn't connected to Wikidata.
∞∞ Enhancing999 (talk) 22:26, 3 September 2024 (UTC)