![]() | This is an archive of past discussions. Do not edit the contents of this page. If you wish to start a new discussion or revive an old one, please do so on the current talk page. |
Archive 1 | Archive 2 | Archive 3 |
To use this at Julio-Claudian family tree, I would need a dotted, dashed intersect tile for Augustus' adoption of Lucius and Gaius or else face a really convoluted adoption line. Such a problematic family tree. — Laura Scudder ☎ 00:07, 11 February 2008 (UTC)
<table> <tr> <td style="border-bottom: 1px dashed black; border-right: 1px dotted black;"> Cell content </td> </tr> </table>
Every time I try to use this, it hardly ever turns out right. The connecting lines are never in the center of the tops or bottoms of the boxes. Could someone please contact me here or on my talk page about creating a chart for me that actually looks good. What I am trying to chart out is here. If anyone can help me, it would be appreciated. I have no clue what the differences are between the solid, dotted, or dashed lines mean. - LA @ 08:33, 24 February 2008 (UTC)
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:43, 27 August 2008 (UTC)
Anyone know how to import Chart into another wiki?
I've tried export/import, but only succeed in generating a page that looks partially parsed:-
If I hit edit to see the templates actually being used, there's only 2 listed instead of the ~150 that I expect:-
Templates used on this page:
|
Any ideas where I'm going wrong? —Preceding unsigned comment added by Bradley Milton (talk • contribs) 16:53, 6 October 2008 (UTC)
#ifeq:{{padright:{{{1}}}|2|?}}|{{{1}}}?
Would be shorter and probably easier to follow. --Scandum (talk) 06:40, 26 January 2009 (UTC)
I am working on Gilbert du Motier, marquis de Lafayette and Adrienne de La Fayette Family Tree, which uses this template/function. I am interested to learn if there is a global setting for decreasing the font size? Ohconfucius (talk) 07:49, 4 February 2009 (UTC)
This template makes some nice-looking charts. But when I tried to generate a PDF from an article with a chart, the result was downright awful. I wonder if that can be improved in the template, or whether it's a general flaw of tables. --SlothMcCarty (talk) 10:24, 28 March 2009 (UTC)
Resolved
Dear Wikipedians,
I'm Very new to Wikipedia.
This is my First Wikipedia Article.
It's my long time desire to write a Quality Article for Wikipedia.
I have spend many days in learning & understanding codes & rules of Wiki'P before posting my article. Few of our fellow wikipedian (Chevy),ɳorɑfʈ Talk!, Slon02 has reviewed my article & helped me to improve my article.
I tried Chart in my article.
Almost everything is working fine , but at the top of the chart i'm getting a kind of error mesg "Template:Chart/celltTemplate:Chart/celltTemplate:Chart/cellbTemplate:Chart/cellbTemplate:Chart/celltTemplate:Chart/cellbTemplate:Chart/celltTemplate:Chart/celltTemplate:Chart/cellbTemplate:Chart/cellb".
please review my article & provide your 'valuable feedback'.'Pls help me..' Raj6644 (talk) 09:05, 2 July 2010 (UTC)
Hi, please take a look at this diagram User:Sameboat/sandbox#2, it generates 2 unneeded templates Template:Chart/cellt and Template:Chart/cellb. I've already followed everything in the Migration from familytree section but still encounter this problem and cannot figure out how it happens. In addition, the diagram can be shown in English Wikipedia using Familytree (User:星光下的人/test) but not in Chinese Wikipedia, even I've already updated the syntax to be on par with EN version. I wonder if MediaWiki rations preprocessor node count differently between Wiki projects. -- Sameboat - 同舟 (talk) 14:03, 7 February 2011 (UTC)
Resolved
I would like to add a single row at the bottom of the chart where I can right align a few footnotes. How can I do that? The general problem I am trying to solve is that some trees (like Template:Kim Jong-il family) are too big to give the whole family. The chart should note that it is selectively incomplete. Either a comment at the bottom to that affect or footnote markers to mark missing missing/spouses would be good. Jason Quinn (talk) 14:38, 15 December 2012 (UTC)
Is it just me, or do a lot of the lines not quite connect? The solid top left corner (",") always seems to be missing a pixel in the corner, and the top right (".") intermittently (e.g. sometimes in preview mode) has the pixel below that corner missing as do the "T"s ("v"), both with {{Chart}} and {{Family tree}}. I'm using Windows 7, but have tried it in Chrome 26, Firefox 19 & 20 and Explorer 10; all display it the same way, which makes the whole thing look badly drawn and inconsistent. --xensyriaT 20:04, 5 April 2013 (UTC)
I have translated the Spanish entry for Fabaceae into English but the family tree template has been updated since the Spanish article was first published and I have not the least idea how to use the new chart template. Can anyone update the following to get a family tree. The following gets the lines in place but none of the labels or boxes appear. Thanks — Preceding unsigned comment added by English Fig (talk • contribs) 17:13, 18 November 2013 (UTC)
Surianaceae | |||||||||||||||||||||||||||||
Faboideae | |||||||||||||||||||||||||||||
Polygalaceae | |||||||||||||||||||||||||||||
Surianaceae | |||||||||||||||||||||||||||||
Fabales | |||||||||||||||||||||||||||||
Quillajaceae | |||||||||||||||||||||||||||||
Tribe Cercideae, Detarieae and the genus Duparquetia | |||||||||||||||||||||||||||||
Fabaceae | |||||||||||||||||||||||||||||
Caesalpinioideae | |||||||||||||||||||||||||||||
Mimosoideae | |||||||||||||||||||||||||||||
Faboideae | |||||||||||||||||||||||||||||
||
), which added more of those redlinks above the chart. ‑‑xensyriaT 23:48, 18 November 2013 (UTC)Trying to get started over there. Family tree works fine but, being the nice guy I am, I was trying to respect the desire to migrate to using {{chart}}. Could someone please explain what the problem with the syntax below is, that is causing this thing to not even be able to display simple lines?
The kings of [[Qin (state)|Qin]] claimed descent from "the granddaughter" of "a remote descendant" of the Emperor [[Zhuanxu]], the grandson of the [[Yellow Emperor]].<ref>[[Sima Qian]]. ''[[Records of the Grand Historian]]'' translated by Nienhauser, William Jr. ''The Grand Scribe's Records: The Basic Annals of Pre-Han China'', [http://books.google.com.hk/books?id=qDo3xBcsX-UC&pg=PA87 pp. 87 ff]. Indiana University Press, 1994. Accessed 4 December 2013.</ref>
{{chart/start}} {{chart| | | | | | | | | | | | | | }} {{chart| | | | | | | | | | | | NX | v | BB | NX='''[[Nüxiu]]'''<br>{{lang|zh|女脩}}</br>Lady Xiu | BB = A bird{{refn|Called a black bird in Nienhauser but a swallow in Lao Kan.}}}} {{chart| | | | | | | | | | | | | ! | }} {{chart| | | | | | | | | | | | | DY | DY='''[[Daye]]'''<br>{{lang|zh|大業}}</br>Ye the Great}} {{chart/end}}
Nüxiu 女脩 Lady Xiu | A bird | ||||||||||||||||||||||||||||||||||
Daye 大業 Ye the Great | |||||||||||||||||||||||||||||||||||
I've got the newest Chrome but, if you can't see it, this thing is just making boxes with no lines and then giving me the error messages "Template:Chart/cell v tTemplate:Chart/cell v bTemplate:Chart/cell ! tTemplate:Chart/cell ! b". — LlywelynII 07:37, 6 December 2013 (UTC)
{{chart/start}}
{{chart| | | | | | | | | | | | NXU |v| BBD | NXU='''[[Nüxiu]]'''<br>{{lang|zh|女脩}}</br>Lady Xiu | BBD = A bird}}
{{chart| | | | | | | | | | | | | | |!| | | }}
{{chart| | | | | | | | | | | | | | DYE | DYE='''[[Daye]]'''<br>{{lang|zh|大業}}</br>Ye the Great}}
{{chart/end}}
Nüxiu 女脩 Lady Xiu | A bird | ||||||||||||||||||||||||||||||||||
Daye 大業 Ye the Great | |||||||||||||||||||||||||||||||||||
Is it possible to add an image to the background of a node to act as a portrait? If so, is there a way to also sort of...fade or make it less visible/opaque, so that overlying text can be clearly read? I would really be great if so, as I'd like to add it to some trees I made, starting with: Template:T'ai chi ch'uan lineage tree. Thanks. ~ InferKNOX (talk) 15:38, 3 January 2014 (UTC)
{{{boxstyle_}}}
. Make sure though that you use the Template:Chart/sandbox until you've tested that it's stable (i.e. works won't mess up any existing charts), and also that you keep the style fitting as closely with the rest of Wikipedia and as encyclopedic as possible. ‑‑xensyriaT 22:36, 3 January 2014 (UTC)Boxes without some sort of line next to them collapse, causing problems such as in https://en.wikipedia.org/wiki/Roosevelt_family#Family_tree Vertical lines (solid, dashed) are not being treated as real connective elements, so this affects any parent or child elements only touched by straight lines. Adding any line except vertical next to an element causes the box to form correctly, but I can find no symbol that would make sense next to these lone boxes.--Martin Berka (talk) 17:40, 10 January 2014 (UTC)
{{chart/start}}
{{chart| | | EX1 |EX1=a}}
{{chart| |,|-|^|-|.}}
{{chart| EX2 | | EX3 |EX2=b|EX3=c}}
{{chart/end}}
a | |||||||||||||
b | c | ||||||||||||
{{chart/start}}
{{chart| | | EX1 |EX1=a}}
{{chart| |,|-|^|-|.| }}
{{chart| EX2 | | EX3 |EX2=b|EX3=c}}
{{chart/end}}
a | |||||||||||||
b | c | ||||||||||||
There is clearly an on-going problem. On Nicomachean Ethics an IP editor has been trying to fix this problem by adding spaces, and things like this will continue to happen if there is no fix. This tree looked fine for a long time. I also see collapsed boxes there, and also even on the template page examples, and on examples on this page. (I use Chrome.)--Andrew Lancaster (talk) 10:40, 18 February 2014 (UTC)
<table cellspacing="0" cellpadding="0" border="0" style="{{{style|}}}">
<table style="border:0 padding: 0px; border-spacing: 0px; border-collapse: separate; {{{style|}}}">
padding: 0px;
the boxes are bigger than they were before. ‑‑xensyriaT 22:34, 20 February 2014 (UTC)Tried the above fix at another wiki and it did not help. Finally figured out the problem. Seems the editors have been using the template in way Chrome doesn't like, as you can see in a number of cases above on this talk page. Chrome wants to see table rows of equal numbers of cells, or you get the collapsed rows (both content box rows and border only rows). What I found worked was to make certain that all table rows have the exact same number of cells. Example below:
{{chart/start}} {{chart| | | EX1 |EX1=a}} {{chart| |,|-|^|-|.| }} {{chart| EX2 | | EX3 |EX2=b|EX3=c}} {{chart/end}}
a | |||||||||||||
b | c | ||||||||||||
{{chart/start}} {{chart| | | EX1 | | |EX1=a}} {{chart| |,|-|^|-|.| | }} {{chart| EX2 | | EX3 |EX2=b|EX3=c}} {{chart/end}}
a | |||||||||||||||
b | c | ||||||||||||||
We have hundreds of these templates in use on our wiki and the fix is working well. Hope this helps.108.74.21.38 (talk) 02:32, 1 March 2014 (UTC)
Example: Template:Ender's Game chronology chart. I'm not sure when this occured, but it's sufficently breaking to cause me to re-architect the entire template/display to make it work. I'd like to have the straight vertical pipes in all formats be restored. Hasteur (talk) 19:25, 21 March 2014 (UTC)
Y - Fixed. קיפודנחש (aka kipod) (talk) 04:00, 23 March 2014 (UTC)
Hey; I've been trying to update the Nerva-Antonine family tree template, adding figures, but it keeps giving me this Template:Chart/celltTemplate:Chart/cellb error message. I know that's caused by too much or too little white space between | | , but I've gone over the template with a fine-tooth comb and can't find anything resembling what would make this pop up. Could someone PLEASE help me? :-S Stolengood (talk) 04:32, 2 April 2014 (UTC)
|}}
to| }}
. Updated the error documentation.<small>
so that the font size is the same across browsers<small>
to{{smallcaps}} (though this doesn't address the accessibility issues raised). Also, I've just noticed that this chart needs connectors that aren't currently available (left line dashed, bottom and right lines solid, no top line above Marcus Aurelius and Faustina Minor, and the opposite above "two infant sons" and Lucius Verus). Since each connector essentially consists of 4 lines, each one of four styles (none, solid, dashed or dotted)—making 256 possible combinations—I wonder if rather than adding extra arbitrary symbols for new connectors as they occur, it would be a better idea to add a "custom connector" option, perhaps 4-numerical digits, representing the four lines in turn (top, bottom, left, right) each of which can be either 0 (none), 1 (solid), 2 (dashed) or 3 (dotted)? The downside would be that it would break the fixed width of the chart code (though this is often ignored/not noticed anyway), but this could be fixed by adding extra spacing to the lines above/below as appropriate, and would allow complete control, without complicating the docs too much further. ‑‑xensyriaT 17:27, 2 April 2014 (UTC)Is there any way we could have a parameter in the template to dispaly a connecting line in a particular color ?, if there is, it will help the editors to define complex and special relations between different tree nodes. At present we have only three type of lines (continued after the illustration)
(continued from top) and their respective horizontal and vertical combinations. It will be better, if we could assign colors to those to distinguish a new relation between the nodes, as a start it will be good, if we could have at least the basic colors. Kindly take this into consideration.
(harith (talk) 03:27, 15 July 2014 (UTC))
Hello
I'm trying to convert to chart by writing chart instead of familytree. I tried it manualy, or using familytree.js. . The last two columns are disappearing, with the exception of the last three boxes. I don't know how to fix this. Can someone, please, help me. What should I do for my chart to appear in a normal, complete, way? Thank you. --Daduxing (talk) 09:12, 19 October 2014 (UTC)
I get the impression that spaces are required/forbidden in the input parameters. If so, could that be described in the documentation? -DePiep (talk) 20:25, 20 October 2014 (UTC)
In converting Ptolemaic_dynasty#Ptolemaic_family_tree from family tree to chart I (think :-) I had to change:
If that could be fixed or documented that would save a lot of conversion time.
Thanks. Saintrain (talk) 22:07, 11 December 2014 (UTC)
The documentation say that {{Chart/start}} accept a summary
parameter but in the code of the template (<table cellspacing="0" cellpadding="0" border="0" style="{{{style|}}}">
) the only parameter used is style
. The parameter summary is present only in the older {{Familytree/start}} template.--Moroboshi (talk) 08:35, 3 August 2014 (UTC)
summary
is obsolete in HTML5. -- Gadget850 talk 17:43, 12 December 2014 (UTC)Is there a proper way of changing the text justification by row or for the entire chart? I have a chart that I would like to have the text left justified rather that centered. Here is part of the chart I am working on in my sandbox. I also seem to not have a grasp on how extra cells affect the box width. I would like the boxes in the 2nd-3rd rows to fit the widest text but there is extra padding there.
John Michael Kohler II 1844–1900 | |||||||||||
m1. 1871 Elizabeth Vollrath dau. of Jacob Vollrath 1848-1883 | |||||||||||
1 Evangelina Kohler 1872–1954 | |||||||||||
2 Robert John Kohler 1873–1905 | |||||||||||
3Walter Jodok Kohler Sr 1875–1940 | |||||||||||
m.1900 Charlotte Henrietta Schroeder 1869–1947 | |||||||||||
border-radius: 0.5em
, use {{border-radius|0.5em}}
. The template has CSS that makes it work across more browsers. -- Gadget850 talk 18:46, 12 October 2014 (UTC)
boxstyle
. I updated your example with text-align: left;
. -- Gadget850 talk 21:06, 12 October 2014 (UTC)
boxstyle=text-align: left; background: #dff; border: 1px solid #ccc; border-radius: 0.5em;;
.
Weird, I looked at in in IE11 and in renders a bit different. I see more whitespace on some lines and less on others. The indentation is about the same with the offset on the third and fourth generations being more than on the second. I understand that there is a 3x tile system underlying the boxes so I am guessing that the length of the text lines and the font size must be affecting this. Nyth83 (talk) 00:13, 13 October 2014 (UTC)
text-align: left;
in the start template would left align the text for the entire chart but this does not seem to be the case. I also found this page about CCS style parameters. What can I use in the chart/start template that will actually affect the entire chart? Nyth83 (talk) 00:28, 13 October 2014 (UTC)
text-align: center;
. I will look at this later. -- Gadget850 talk 00:56, 13 October 2014 (UTC)
{{chart/start|style=font-size:85%;line-height:100%;table-layout: fixed;width: 800px;}}
Most charts I have seen are centered, and many are using obsolete <center>
markup. The proper way to center a chart is to use {{chart/start|style=margin: 1em auto;}}
which is not very user friendly.
Woof | |||||||
Meow | |||||||
In the sandbox I have added an |align=
parameter that defaults to center no align:
Woof | |||||||
Meow | |||||||
And can be set to left with {{chart/start|align=left}}
Woof | |||||||
Meow | |||||||
Or to right with {{chart/start|align=right}}
Woof | |||||||
Meow | |||||||
Or to center with {{chart/start|align=center}}
Woof | |||||||
Meow | |||||||
-- Gadget850 talk 15:24, 5 April 2015 (UTC)
<center>
(it is I who has been adding <center>
). This seems to be for three reasons:
{{navbox}}
and often the tree will expand to full the whole area eg Template:Rosewell family tree or it has been set to occupy the left as in Template:Family of Michelle Robinson Obama<center>
, so I changed the sandbox to default to no alignment to match current use. Axamples above updated. -- Gadget850 talk 23:45, 5 April 2015 (UTC)
{{Ender's Game chronology chart}}
and {{Ender's Game chronology chart/sandbox}}
. -- Gadget850 talk 23:49, 5 April 2015 (UTC)
<pre>
for example) are mangled with unnamed parameters. -- Gadget850 talk 14:16, 6 April 2015 (UTC)<center>
). I suggest that we go for the centre option but be ready to revert. (and it gets away from having to misspell centre {{chart/start}}
in article space. Many still use {{familytree/start}}
(190 in article space and 837 in templates). I make it that 167 out of 232 are preceded with a lead <center>
, and I still have 215 pages go go in my AWB search (may of those will be to articles that include transcludes to templates) but the others will be converted). As most of the templates are already using {{navbox}}
with or without explicit centring but nearly all set to 100% width, I do not see that as an issue to default to "center". -- PBS (talk) 13:38, 7 April 2015 (UTC)
{{family tree}}
, 10 with <center>
and 2 using |style=margin: 1em auto;
. -- Gadget850 talk 14:46, 7 April 2015 (UTC){{ahnentafel-compact5}}
alone, 212 with <center>
for the Ahnentafel series. -- Gadget850 talk 14:57, 7 April 2015 (UTC)
I have finished going through the {{chart/start}} in article space. In article space about 200 now include centre out of a total of about 300 instances. The only case where I have seen that anything other than center would be a problem is in AVATAR (MUD) and I am not sure what the result with that would be if any as I have not looked at it too closely. I think we can put aside {{familytree/start}} as that is not an issue. There are only about 100 ahnentafel4 a handful of ahnentafel3 and no ahnentafel2 in article space. I am no sure how you come to you conclusion that there are only 212 with <center>
, could you please show me the search you used because I get 1000s. -- PBS (talk) 19:34, 7 April 2015 (UTC)
\s*
but it does not seem to work for \n
so I have used [^\{]*
as an alternative
{{chart/start|style=margin: 1em auto;}}
?, which is not only not very user friendly, but seems to add extra margin on top and beneath each box, which drags the chart unnecessarily. Clockworkske (talk) 18:59, 12 April 2015 (UTC)
|style=margin: 0 auto;
. Updated in sandbox with |align=center
. -- Gadget850 talk 19:29, 12 April 2015 (UTC)