Video Template talk:Family tree
Transcluded template limits
Maintainers of this template may be interested in the issues raised at Wikipedia:Templates for deletion/Log/2007 June 4#Template:Kennedyfamilytree. -Pomte 21:28, 4 June 2007 (UTC)
Maps Template talk:Family tree
Large Family Tree?
Can we do anything about the problem with large trees? Like making the template work with them? I encountered the problem at User:Canaen/ClanFraserLineage. File:Icons-flag-scotland.png Canæn File:Icons-flag-scotland.png 06:24, 8 June 2007 (UTC)
Big trees
I'd also like to request support for big trees. I couldn't finish the Spanish royal tree. Atropos 08:09, 28 July 2007 (UTC)
- The problem appears to be that this template (group) is quite inefficient. Take a look at the history of User:Wknight94/Stuff In Progress from July 28, 2007. When I did a subst: on the whole page, the size jumped from 5,684 bytes to over one million!!! (I bet the software refuses to expand templates past the 1,000,000 byte mark). I'll take a look at improving the efficiency but I'm not particularly experienced in the template technology here. Any help is welcome. --Wknight94 (talk) 13:48, 28 July 2007 (UTC)
-
- One thing that would help would be moving the tile styles into MediaWiki:Common.css. It might not help much with supporting bigger trees, since the problem there seems to mostly involve template transclusion limits on the server side, but it should at least make the HTML output shorter. I think something like the following CSS rules, with appropriate class names on the
<td>
tags, should do it:
- One thing that would help would be moving the tile styles into MediaWiki:Common.css. It might not help much with supporting bigger trees, since the problem there seems to mostly involve template transclusion limits on the server side, but it should at least make the HTML output shorter. I think something like the following CSS rules, with appropriate class names on the
-
- The rules could be made a bit nicer with more advanced CSS selectors, but then we'd get breakage in older browsers, which would be bad. I've been meaning to do something like this for some time, but have never really got around to it. I think I'll try it out in userspace and, if it works, try to implement it within a week or two. (We'll need to wait a while between adding the styles to Common.css and modifying the template, since browsers tend to cache stylesheets rather aggressively.) --Ilmari Karonen (talk) 18:50, 28 July 2007 (UTC)
- This is the type of thing I'm trying to do. I've managed to get the size down about 50%. Unfortunately CSS isn't my strongest point either... User:Wknight94/monobook.css is my modest beginning. --Wknight94 (talk) 19:58, 28 July 2007 (UTC)
- The rules could be made a bit nicer with more advanced CSS selectors, but then we'd get breakage in older browsers, which would be bad. I've been meaning to do something like this for some time, but have never really got around to it. I think I'll try it out in userspace and, if it works, try to implement it within a week or two. (We'll need to wait a while between adding the styles to Common.css and modifying the template, since browsers tend to cache stylesheets rather aggressively.) --Ilmari Karonen (talk) 18:50, 28 July 2007 (UTC)
Okay, try this (whoever is reading). Copy User:Wknight94/monobook.css to your monobook.css, clear your cache, and then take a look at User:Wknight94/Stuff In Progress. Look the same I hope? The HTML that is generated is less than half the size (the top half expanded to 9,423 characters this new way as opposed to 19,970 characters with the original code) which I'm hoping will allow for twice as many templates to be expanded. Leave comments here - if there are no objections, I will go to WP:VPT and propose having my monobook.css appended to MediaWiki:Common.css. Thanks. --Wknight94 (talk) 23:58, 29 July 2007 (UTC)
- Assuming you mean that the top of each half matches the bottom, yes, it looks that way. JPG-GR 00:08, 30 July 2007 (UTC)
The preprocessor update seems to have improved matters significantly, making large trees more feasible. However, you may also want to look at the new {{chart}} template which makes more efficient use of the preprocessor and gives some additional functionality. TimR (talk) 18:19, 10 February 2008 (UTC)
Adoption problem
There's still the problem at Julio-Claudian family tree of having to use dashed lines for both marriages and adoption. If we could either fit more marriage connections (I don't see a way to get more than one horizontal connection per side per row) or get another set of lines like a dotted or double line, then the ambiguity could be solved. I guess it's too much to hope for numbering marriages, too, but any suggestions are welcome as we lost a lot of information switching from Image:JulioClaudian.svg. -- Laura Scudder ? 01:53, 15 August 2007 (UTC)
- For dotted lines, see the new {{chart}} template. TimR (talk) 18:16, 10 February 2008 (UTC)
Minor errors
"]" and "{" don't align properly at the moment, although "C" and "(" do. See
(Nothing major, but if someone is familiar enough with the template syntax, he may be able to fix it. I'd rather not mess with it myself.) - sgeureka toc 15:13, 13 October 2007 (UTC)
- I think I've fixed it. --Ilmari Karonen (talk) 19:27, 13 October 2007 (UTC)
- Woohoo! Thanks. :-) - sgeureka toc 19:32, 13 October 2007 (UTC)
How do I make the boxes wider?
See Habsburg family tree. Thanks, Mark J (talk) 13:31, 23 December 2007 (UTC)
- You can put more boxes with no borders. See pl:template:Tolkienowie. --pl:user:Matma Rex --Preceding unsigned comment added by 83.29.158.246 (talk) 11:37, 31 December 2007 (UTC)
New chart template
I've been extremely impressed with this set of templates, and have made some worthwhile use of them already. However, I became a little frustrated with quite how much preprocessor resource they consumed. On one page I found that putting just a few medium-sized trees on an already-large page was enough to break the rendering, which was a shame.
As a result, I put some considerable effort into rewriting the template set to make more efficient use of the preprocessor, to allow larger trees. Of course, nothing's simple, and shortly after I got a sensible and extensible solution, the preprocessor was updated. The familytree template fares a lot better under the new preprocessor, rendering my changes less urgent.
However, I was able to entend the functionality slightly to include two new solid/dashed mixed tiles and a whole new set of dotted and solid/dotted mixed tiles. For further details on how to use the new set of templates, and how to migrate existing family tree diagrams to new chart diagrams, see the {{chart}} template page. TimR (talk) 18:14, 10 February 2008 (UTC)
Should this page be added to the following category
addition of [ [ Category:Genealogy templates|Family tree ] ]
- No; this template is itself not an actual template of a specific genealogy. It's used to format other genealogy templates. Gary King (talk) 00:11, 15 July 2008 (UTC)
Accessibility
I've raised my concerns about the accessibility of this template. Please comment, and help to improve it. Andy Mabbett | Talk to Andy Mabbett 19:38, 27 August 2008 (UTC)
New tool
I've created a tool to make it easier to create or update diagrams using these templates. It allows you to edit the diagram in pure ASCII art, similar to how Ilmari had originally envisioned. Check out User:GregU/familytree.js and let me know any problems or other feedback, as I'm still adding things. --GregU (talk) 16:40, 20 December 2008 (UTC)
Images/Files/Photos allowed
How can I add an image into these boxes? Ikip (talk) 01:48, 29 March 2009 (UTC)
- opps, nevermind, it works. Ikip (talk) 01:50, 29 March 2009 (UTC)
Dashed line
Looking at the example
do we really want dashes between married partners? To me it suggests they were not married and something like the following
would be better if they are married. --Rumping (talk) 07:55, 31 March 2009 (UTC)
interwiki
Please add this interwiki link : [[tr:?ablon:Ailea?ac?]].
Thanks.
87.67.230.164 (talk) 16:48, 24 January 2010 (UTC)
Doesn't look right in print
Try creating a PDF of Pope Benedict IX for example. I don't know if this is a problem with the template (bad html) or with the renderer. Headbomb {???????????? - WP Physics} 21:04, 20 February 2010 (UTC)
New Option
{{editprotected}}
Can someone Make a variant like option "T", but with a Dashed Line on top & to the left and a solid line to the right? Thanks -- Phoenix (talk) 11:57, 7 July 2010 (UTC)
- This code looks fairly tortuous and I don't think that is going to be a quick job. The only thing I can say at this point is to ask you to try to add the code to the /sandbox version. -- Martin (MSGJ · talk) 15:53, 7 July 2010 (UTC)
- Done. Option U is ready and waiting . -- Phoenix (talk) 21:00, 7 July 2010 (UTC)
- Wow, that wasn't so hard. Can you just confirm that you've fully tested it and that it's working as intended? -- Martin (MSGJ · talk) 07:24, 8 July 2010 (UTC)
- I have, it works, and it is ready for your edit. I thought that the person who made this page would easily edit this and add that function. Glad to see that I can still decipher code that I am not familiar with :) -- Phoenix (talk) 07:38, 8 July 2010 (UTC)
- Done -- Martin (MSGJ · talk) 11:04, 8 July 2010 (UTC)
- It would be nice to have one like U, except the top line is solid. Ideally, to get all the rest of the combinations. I am just missing that one specifically... -- MK (t/c) 23:09, 20 November 2011 (UTC)
- Done -- Martin (MSGJ · talk) 11:04, 8 July 2010 (UTC)
- I have, it works, and it is ready for your edit. I thought that the person who made this page would easily edit this and add that function. Glad to see that I can still decipher code that I am not familiar with :) -- Phoenix (talk) 07:38, 8 July 2010 (UTC)
- Wow, that wasn't so hard. Can you just confirm that you've fully tested it and that it's working as intended? -- Martin (MSGJ · talk) 07:24, 8 July 2010 (UTC)
- Done. Option U is ready and waiting . -- Phoenix (talk) 21:00, 7 July 2010 (UTC)
In practice
I've now used this template on a number of pages - some of the Italian noble families from the 16th an 17th centuries. The names and relationships get complicated (over-use of the same first names makes distinguishing one generation from another very difficult) but this template has made the explaination of inter-generational relationships far easier. The articles for members of these families are full of references to grand-uncle and mother's brother's wife, etc. but this template makes everything far easier. See:
- Pamphili
- Barberini
- House of Mattei
And my sand-box sub-page in all it's code-heavy glory:
- User:Stalwart111/Barberini family tree
Still a few to go but it's a start.
Stalwart111 (talk) 06:16, 17 September 2010 (UTC)
Springett Penn (II), grandson of William Penn
I would like to have Springett Penn (II), grandson of William Penn by his first wife, added to the family tree, but the tree source is intimidating, so I would like someone with the skills needed to add him. --DThomsen8 (talk) 16:17, 24 February 2011 (UTC)
- Done. It gets easier the more you use it - have a look at my user sub-page. I kept hacking and slashing away until I had worked it out. Now I can put them together fairly quickly. Have a good one! Stalwart111 (talk) 23:07, 24 February 2011 (UTC)
Family tree of the Eighteenth dynasty of Egypt
Can someone please fix up the family tree? there are quite a dew hiccups. 1) aahmes wife of thutmose I was his sister, not a daughter of amenhotep I, can we put that in? also mutnofret, his other wife is believed to be the daughter of ahmose I, can we show this? 2) neferure was a wife of thutmose III. can we put her on his left, and put merytre hatshepsut on his right? towards the bottom: 3) can we connect the following as daughters of akhenaten by nefertiti: meketaten, ankhesenamun, meritaten, setepenre, neferneferuaten tasherit and neferneferure 4) can we replace the younger lady with kiya, and connect meritaten tasheit and ankhsenpaaten tasherit as daughters by akhenaten and kiya? 5) can we place smenkhkare and the younger lady as children of amenhotep III and tiye? (the younger lady on smenkhkare's left, and meritaten on his right. she was his queen. if the younger lady and smenkhkare come down past their siblings they can sit on the same level akhenaten's daughters. tutankhamun comes down, and if ankhesenamun comes further down then her sister, you can connect her to tutankhamun and everything still looks good!) 6) tutankhamun needs to be placed as a son of the younger lady and her brother smenkhkare, and he needs to connect with ankhsenamun as his wife. --slimmon --Preceding undated comment added 10:41, 2 October 2011 (UTC).
Colorcoding boxes
Can someone help me color code the boxes on Johanna Marau Ta'aroa#Family tree base on gender? -- Preceding unsigned comment added by KAVEBEAR (talk o contribs) 06:13, 3 November 2011 (UTC)
- Hi, Kavebear. I have partially updated the template. I didn't know the gender of many of the entries so I couldn't complete it. The pattern should be clear now if you wish to finish it. Jason Quinn (talk) 02:23, 22 September 2013 (UTC)
-
- I finished the tree using the genders specified in the article. Note there's a remaining problem over the total number of children (9 vs 10) that I've tagged with a dubious template. Jason Quinn (talk) 02:37, 22 September 2013 (UTC)
More examples
Could the documentation provide more examples(?), as it still is quite confusing using this template. I can do add one or two examples, but not very complex ones. |Randomno| 17:04, 14 March 2012 (UTC)
Rendering issues on Android (4.01) browser
There is background grid and the:
appears as a:
-Oosh (talk) 00:36, 21 March 2012 (UTC)
Family tree of ancient Chinese kings
Hi can someone with a better working knowledge take a look at this (scroll about a full page down):
http://en.wikipedia.org/wiki/Family_tree_of_ancient_Chinese_emperors#Wu_.28state.29
and see what might be causing the empty boxes with {{{}}} in them? Thanks. Hanfresco (talk) 07:53, 20 April 2012 (UTC)
- Done It was caused by double spaced blank cells (
| |
). Shame it went unfixed for almost a year! --xensyriaT 19:55, 5 April 2013 (UTC)
Missing some
I'm working on a little pedigree ATM, and noticed that there are some missing combinations. Can someone add these? For example: "(" but with an added dashed-line coming out of the right side.--Brianann MacAmhlaidh (talk) 09:57, 16 June 2012 (UTC)
Should this be deprecated?
Should this template be deprecated? {{chart}} seems to do everything this does. Am I wrong? Is there something that this does that chart cannot? Jason Quinn (talk) 04:13, 23 September 2013 (UTC)
- Hi Jason. Yeah, there are instructions for converting family tree templates over to chart templates. I've used this one on a few of the articles I've expanded but wouldn't mind if they were changed over. Seems to make sense. Stalwart111 05:16, 23 September 2013 (UTC)
I will wait 7 days or more for further opinions. Barring none, I will add <noinclude>{{Deprecated template|Family tree|Chart|date=October 2013|note=The new template provides all the features of the old one and more. Its usage is very similar.}}</noinclude> to the top of the template. The template {{Deprecated template}} is a banner warning of the deprecation and which new template to use instead. Jason Quinn (talk) 01:41, 2 October 2013 (UTC)
- That's fine by me. Are we actually going to work to transfer existing uses of the template over? Stalwart111 03:20, 2 October 2013 (UTC)
-
- My intention to to eventually mark this template as obsolete, and then perhaps even have it deleted. But it's okay in my opinion even if that takes years, after all we've lived with both for some time already. I have already been converting {{Family tree}} templates to {{chart}} as part of an on-going (but slowly paced) project of mine to add pink and blue gender backgrounds to some of these family trees. There are surprisingly few uses of "Family tree" in Category:Family tree templates but a transclusion count finds almost 2400; so I've only done a drop in the bucket. We could put a request in the deprecated template note above to convert over to the chart template if possible. There's no real pressure to force ourselves to convert all of them in a short time. There's value in just deprecating this template and encouraging only uses of "Chart" in the future. In time, hopefully, uses of "Family tree" will slowly fade away. Jason Quinn (talk) 22:23, 2 October 2013 (UTC)
-
-
- That all sounds very sensible! Stalwart111 23:47, 2 October 2013 (UTC)
-
Rendering issue
I am seeing a consistent rendering problem with all family tree templates. I tried converting one to chart, but this didn't help. See example. Jane (talk) 15:30, 15 November 2013 (UTC)
- Which version of IE are you using? JPG-GR (talk) 20:47, 16 November 2013 (UTC)
I'm getting the same problem using Chrome 32.0.1700.68 beta-m. -- Preceding unsigned comment added by 77.96.49.84 (talk) 21:21, 20 December 2013 (UTC)
-
- Same rendering problem suddenly emerged for me. It was fine only a couple of days ago. (I'm using Chrome). Not sure what changed in that interval. Walrasiad (talk) 01:02, 10 January 2014 (UTC)
- Same problem for me. I am using the latest version of Chrome. Tochozhang (talk) 05:10, 12 January 2014 (UTC)
- Same rendering problem suddenly emerged for me. It was fine only a couple of days ago. (I'm using Chrome). Not sure what changed in that interval. Walrasiad (talk) 01:02, 10 January 2014 (UTC)
I've figured out the issue - Chrome is collapsing the space in the cell. This is a Chrome rendering issue and should be reported to their developers. JPG-GR (talk) 14:45, 12 January 2014 (UTC)
- Template talk:Chart#Lone boxes collapsing. -- Gadget850 talk 03:18, 1 March 2014 (UTC)
- Problem solved. Details at the link the editor listed above. Short version: All table rows must have the same number of cells or Chrome collapses the row. -- Preceding unsigned comment added by 108.74.21.38 (talk) 19:06, 1 March 2014 (UTC)
- The problem continues in Chrome-based Yandex.browser. For example, three items of the last row of the first example in doc, and many a line in {{House of Brutus}}. Ignatus (talk) 10:24, 7 March 2014 (UTC)
Y - Fixed. another discussion ( Wikipedia:Village_pump_(technical)/Archive_124#Kings_of_Wales_family_trees ) contained the solution, and by crazy stroke of luck this template is not protected, so i was able to fix it. it's about adding "hight:1px" to the style of table rows. it *is* a chrome bug, but no reason to suffer for it if there is an easy workaround. peace - ???????? (aka kipod) (talk) 02:09, 23 March 2014 (UTC)
Visual Redactor
When can I use Visual Redactor to edit Template:Family tree?--Kaiyr (talk) 13:54, 29 January 2015 (UTC)
- no clue, but this template is deprecated in favour of using template:chart. Frietjes (talk) 18:34, 7 February 2015 (UTC)
Recent change
The character at the bottom right of each nine-part set is now showing as an inverted T rather than a simple right-angle. Can someone fix this, please. Bikeroo (talk) 06:35, 9 March 2015 (UTC)
-
- There is indeed a problem. An extra line appear at the bottom right of some boxes. Error picture. Why nobody is fixing it? Daduxing (talk) 16:31, 10 March 2015 (UTC)
- which browser/os? I don't see any problem in Later Tang. Frietjes (talk) 21:26, 15 March 2015 (UTC)
- Hi. The problem was solved some days ago. Wikipedia:Village pump (technical)/Archive 135#Family tree template problem ---Daduxing (talk) 06:09, 16 March 2015 (UTC)
- which browser/os? I don't see any problem in Later Tang. Frietjes (talk) 21:26, 15 March 2015 (UTC)
- There is indeed a problem. An extra line appear at the bottom right of some boxes. Error picture. Why nobody is fixing it? Daduxing (talk) 16:31, 10 March 2015 (UTC)
Source of the article : Wikipedia