MiszaBot II (talk | contribs) m Robot: Archiving 2 threads (older than 180d) to Help talk:Table/Archive 5. |
ColonelHenry (talk | contribs) |
||
Line 591: | Line 591: | ||
The color is applied, but the arrows aren't visible in the header cells. It's like applying a color strips away the sortability. Any way to solve this? — [[User:Frecklefoot|Frεcklεfσσt]] | [[User talk:Frecklefoot|Talk]] 02:45, 19 June 2013 (UTC) |
The color is applied, but the arrows aren't visible in the header cells. It's like applying a color strips away the sortability. Any way to solve this? — [[User:Frecklefoot|Frεcklεfσσt]] | [[User talk:Frecklefoot|Talk]] 02:45, 19 June 2013 (UTC) |
||
==Need some quick col/row scope MOS:DTT work on a pending FLC== |
|||
[[User:The Rambling Man]] who is a director at FLC has informed me in reviewing my nomination for [[List of colonial governors of New Jersey]] that I would need to make the tables compliant with [[MOS:DTT]] for col and row scopes. I've told him I don't know what this is. After several requests, he gave me an example to go by that when I tried to implement screwed up the tables. So, please can someone from this page help fix this to make it MOS:DTT-compliant and then tell me what exactly I have to do for future reference? |
|||
See the discussion here (at the bottom of the page): [[Wikipedia:Featured list candidates/List of colonial governors of New Jersey/archive1]] |
|||
Thanks for any assistance someone can offer.--[[User:ColonelHenry|ColonelHenry]] ([[User talk:ColonelHenry|talk]]) 19:00, 14 July 2013 (UTC) |
Revision as of 19:00, 14 July 2013
Wikipedia Help NA‑class | |||||||
|
|
|||||||||
This page has archives. Sections older than 180 days may be automatically archived by Lowercase sigmabot III. |
Table Overflows Into Right Margin
In the Safari browser on an iPad in the Cladograms section a table overflows to the right edge of the right margin and pushes the right edge of the margin to the right, expanding the right margin to nearly half the page. The entire text of the article is squeezed into the left half of the page.
I see this effect in other articles, e.g., a table in the Vocabulary comparison section of the Romance Languages article, but don't know how to fix it. — Preceding unsigned comment added by 173.72.170.69 (talk • contribs) 15:50, 4 December 2011
Clean up table of contents // Restructure
This help page has too many unordered information in it. I'd suggest a massive clean-up. If you dont want to delete whole sections, just improve nesting of headlines. Check these headlines - very hard to understand IMHO (sections 9-16):
9 Other table syntax
9.1 Comparison of table syntax
10 Pipe syntax in terms of the HTML produced
10.1 Tables
10.2 Rows
10.3 Cells
10.4 Headers
10.5 Captions
10.6 Summaries
11 Square monitors
12 Vertically oriented column headers
13 Wikitable as image gallery
13.1 Shifting/centering
14 Generate a chart with a table
15 Converting spreadsheet to wikitable format
16 Tables and WYSIWYG -- — Preceding unsigned comment added by Jesus Presley (talk • contribs) 19:31, 25 November 2012
Need help pls
I would like to add what is below to a page - however I would like to see the text appear beside the cart and not just above and below - is this possible?Moxy (talk) 17:53, 24 January 2013 (UTC)
Text...............here to be seen above chart ............text
- Permanent Residents Admitted in 2010, by Top 10 Source Countries
Rank | Country | Number | Percentage |
---|---|---|---|
1 | Philippines | 36,578 | 13 |
2 | India | 30,252 | 10.8 |
3 | China | 30,197 | 10.8 |
4 | United Kingdom | 9,499 | 3.4 |
5 | United States | 9,243 | 3.3 |
6 | France | 6,934 | 2.5 |
7 | Iran | 6,815 | 2.4 |
8 | United Arab Emirates | 6,796 | 2.4 |
9 | Morocco | 5,946 | 2.1 |
10 | South Korea | 5,539 | 2 |
Top 10 Total | 147,799 | 52.7 | |
Other | 132,882 | 47.3 | |
Total | 280,681 | 100 |
Source:[1]
Text here .............that i would like beside chart............text
- ^ "Citizenship and Immigration Canada, Facts and Figures". Citizenship and Immigration Canada. 2010.
- I am not completely sure what you want, but this should cover it:
Text............... above chart ............text | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Text ........ beside chart ............ text | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||
text .......... below chart ........... text |
- Probably you do not want the wikitable style applied to the outer table, which shows the grid lines. I added it for clarity of the technique. —EncMstr (talk) 19:44, 24 January 2013 (UTC)
- Sorry I should have said were Canadians#Immigration if you scroll down you will see the map (image) File:COB data Canada.PNG - I wish to replace thus old info with the new chart but would like it to function like a image were text can flow around the chart.Moxy (talk) 19:50, 24 January 2013 (UTC)
- How's this?
Rank | Country | Number | Percentage |
---|---|---|---|
1 | Philippines | 36,578 | 13 |
2 | India | 30,252 | 10.8 |
3 | China | 30,197 | 10.8 |
4 | United Kingdom | 9,499 | 3.4 |
5 | United States | 9,243 | 3.3 |
6 | France | 6,934 | 2.5 |
7 | Iran | 6,815 | 2.4 |
8 | United Arab Emirates | 6,796 | 2.4 |
9 | Morocco | 5,946 | 2.1 |
10 | South Korea | 5,539 | 2 |
Top 10 Total | 147,799 | 52.7 | |
Other | 132,882 | 47.3 | |
Total | 280,681 | 100 |
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
Curabitur pretium tincidunt lacus. Nulla gravida orci a odio. Nullam varius, turpis et commodo pharetra, est eros bibendum elit, nec luctus magna felis sollicitudin mauris. Integer in mauris eu nibh euismod gravida. Duis ac tellus et risus vulputate vehicula. Donec lobortis risus a elit. Etiam tempor. Ut ullamcorper, ligula eu tempor congue, eros est euismod turpis, id tincidunt sapien risus a quam. Maecenas fermentum consequat mi. Donec fermentum. Pellentesque malesuada nulla a mi. Duis sapien sem, aliquet nec, commodo eget, consequat quis, neque. Aliquam faucibus, elit ut dictum aliquet, felis nisl adipiscing sapien, sed malesuada diam lacus eget erat. Cras mollis scelerisque nunc. Nullam arcu. Aliquam consequat. Curabitur augue lorem, dapibus quis, laoreet et, pretium ac, nisi. Aenean magna nisl, mollis quis, molestie eu, feugiat in, orci. In hac habitasse platea dictumst.
Fusce convallis, mauris imperdiet gravida bibendum, nisl turpis suscipit mauris, sed placerat ipsum urna sed risus. In convallis tellus a mauris. Curabitur non elit ut libero tristique sodales. Mauris a lacus. Donec mattis semper leo. In hac habitasse platea dictumst. Vivamus facilisis diam at odio. Mauris dictum, nisi eget consequat elementum, lacus ligula molestie metus, non feugiat orci magna ac sem. Donec turpis. Donec vitae metus. Morbi tristique neque eu mauris. Quisque gravida ipsum non sapien. Proin turpis lacus, scelerisque vitae, elementum at, lobortis ac, quam. Aliquam dictum eleifend risus. In hac habitasse platea dictumst. Etiam sit amet diam. Suspendisse odio. Suspendisse nunc. In semper bibendum libero.
Proin nonummy, lacus eget pulvinar lacinia, pede felis dignissim leo, vitae tristique magna lacus sit amet eros. Nullam ornare. Praesent odio ligula, dapibus sed, tincidunt eget, dictum ac, nibh. Nam quis lacus. Nunc eleifend molestie velit. Morbi lobortis quam eu velit. Donec euismod vestibulum massa. Donec non lectus. Aliquam commodo lacus sit amet nulla. Cras dignissim elit et augue. Nullam non diam. Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas. In hac habitasse platea dictumst. Aenean vestibulum. Sed lobortis elit quis lectus. Nunc sed lacus at augue bibendum dapibus.
- Michael Bednarek (talk) 09:48, 25 January 2013 (UTC)
Text Wrapping in Tables?
Peter Piper picked a peck of pickled peppers. |
Just wondering, how do I get the text in the bottom row to wrap? I do not intend on putting headers in this table. (Obviously, this is just a sample.) --UltimateKuriboh (talk) 21:39, 31 January 2013 (UTC)
- By default, tables are set to be wide enough so that wrapping doesn't occur. If you want wrapping, you also have to constrain the width. Since you are using images of a known size, you can force the width to be just wide enough for those images. Applying
style="width:201px;"
to the table will do that. --Redrose64 (talk) 21:48, 31 January 2013 (UTC)- Thanks for that! --UltimateKuriboh (talk) 22:01, 31 January 2013 (UTC)
- Erm, some other unrelated questions. If I wanted to align a table in the center of the page, how would I do that? Also, how would I manage to fit 2 tables together side-by-side? For the second question, how could I provide some space between the tables, and how would I center both the tables together? --UltimateKuriboh (talk) 22:40, 31 January 2013 (UTC)
- Centring a table is easy, if you know how; the style
margin-left:auto; margin-right:auto;
will do this, although it is by no means intuitive. Putting two tables side-by-side may be done by using a third table as a wrapper:
- Centring a table is easy, if you know how; the style
- Erm, some other unrelated questions. If I wanted to align a table in the center of the page, how would I do that? Also, how would I manage to fit 2 tables together side-by-side? For the second question, how could I provide some space between the tables, and how would I center both the tables together? --UltimateKuriboh (talk) 22:40, 31 January 2013 (UTC)
|
|
- Follow-up question: In the second set of tables, what does
| style="width:100%;"
do, and how does that compare to the|style="width:50%;"|
that comes directly after it? --UltimateKuriboh (talk) 23:42, 31 January 2013 (UTC)- The
{| style="width:100%;"
opens a table and forces it to occupy the full page width, regardless of its content. The|style="width:50%;"|
begins a table cell and forces it to 50% of the available width. It might seem that setting each column to 50% width (and leaving the overall width unspecified) would be a better plan, but it's a general rule with HTML tables that when forcing the widths of columns, at least one column should be left without a specified width - this allows for error, also for those browsers with peculiar calculation methods. Thus, when the second cell is started - that's the|
on a line of its own - no width is set for that; and because there are no other cells on the row, the width of this second cell is forced to be 50%. - I don't know if you're familiar with HTML coding, but the equivalent in HTML would be:
- The
- Follow-up question: In the second set of tables, what does
<table style="width:100%;"> <tr> <td style="width:50%;"> (Left-hand inner table goes here) </td> <td> (Right-hand inner table goes here) </td> </tr> </table>
(unindent). I experimented a little. It seems that since the widths of all the images have been specified you can just set an overall width such as style="width:400px;"
for the table that wraps them all.
It is not necessary to specify the 50% width or the 201 pixel width of the inner tables. The overall width of the wrapper table is sufficient. It also forces the text to wrap. It is not necessary to add the extra pixels (201px, 202, 401, 402, etc..) when the image widths are specified. The images will force the tables that wrap them to expand as necessary. So just add the widths of all the inner images. Combine the centering style with the width:
style="width:400px; margin-left:auto; margin-right:auto;"
|
|
--Timeshifter (talk) 02:46, 1 February 2013 (UTC)
Help with List of trade unions in the United Kingdom please?
Could someone help me to make the table allow the sorting? When I click columns (eg by number of employees) it doesn't seem to do anything. Can't figure this out, and would be super grateful for a hand! Many thanks in advance. Wikidea 20:49, 9 March 2013 (UTC)
- Fixed: For a table to be sortable, every row must have the same number of cells as every other row, but one of the rows (Community and Youth Workers' Union) was one cell short.
- On an unrelated matter, there's some nasty misuse of CSS there, such as width values in the
class=
attribute, and class values in thewidth=
attribute. It's also not a good idea to specify widths in terms of pixels, since you don't know how wide the target screen is. --Redrose64 (talk) 23:39, 9 March 2013 (UTC)- I should have put "not a good idea to specify widths in absolute terms". Whether the measurement be pixels (
px
) or points (pt
), it's still an absolute measure which assumes that the users screen is at least as wide as the sum of the specified widths. Relative widths are a better choice, you would usewidth="10%"
etc. but be careful not to exceed 100%. --Redrose64 (talk) 16:45, 10 March 2013 (UTC)
- I should have put "not a good idea to specify widths in absolute terms". Whether the measurement be pixels (
Can someone help here. I'm adding a monarch column but I'm confused on how to have 3 monarchs for one person ,example:
- Person A was Governor General (year 1788-1793)
- Person B was Governor General (1793-1806)
- Person C (1806-1810)
- Monarch 1(-1788)
- Monarch 2 (1788-1808)
- Monarch 2 (1808)
- Monarch 4 (1808-1813)
Three monarchs during Person C's term.
Thanks. --User 50 17:49, 30 March 2013 (UTC)
NOTE: Just check the Spanish monarchs list. By the way, I'm doing the (1764–1898) section first.
- Have a look at the various rowspans I've used here. The entry for the second person is actually three table rows joined together:
# | Picture | Name | From | Until | Monarch |
---|---|---|---|---|---|
1 | Miguel López de Legazpi | April 27, 1565 | August 20, 1572 | Monarch one | |
2 | Guido de Lavezaris | August 20, 1572 | August 25, 1575 | ||
Monarch two | |||||
Monarch three | |||||
3 | Francisco de Sande | August 25, 1575 | April 1580 |
- -- John of Reading (talk) 18:21, 30 March 2013 (UTC)
- (More) A see you posted again here and then changed your mind. I can't be much help to you this evening or tomorrow, but others will be watching this page so do post again if you need to. -- John of Reading (talk) 19:42, 30 March 2013 (UTC)
I'm not sure if what I did was right, but it doesn't look like it was split inbetween the Governor column. It looks like it only goes across one row ? --User 50 12:52, 1 April 2013 (UTC)
- Hmm. I think that you coded row 55 correctly, but the "Monarch two" cell was almost as high as the rest of the row. I've added some white space to the first cell in row 55 so that the different in height is easier to see. Any good? (And, other watchers of this page, is there a better way?) -- John of Reading (talk) 13:33, 1 April 2013 (UTC)
- It seems to be fixed now and everything looks okay, thanks --User 50 14:09, 1 April 2013 (UTC)
- At Template:Rail line three to two I achieved a balanced vertical spacing by using six rows instead of four; two of the rows have cells containing only
. --Redrose64 (talk) 21:20, 1 April 2013 (UTC)
- At Template:Rail line three to two I achieved a balanced vertical spacing by using six rows instead of four; two of the rows have cells containing only
- It seems to be fixed now and everything looks okay, thanks --User 50 14:09, 1 April 2013 (UTC)
Too much texts in a cell?
Hi! I would like to ask if there is a consensus regarding number of texts inside a cell, especially if a table consist of almost a hundred cells (e.g. elimination table)? I would like to address the issue on the accessibility (or should I say, the "reability and flexibility") of the table on different screen resolutions. I am referring to My Kitchen Rules (series 4) elimination table format, and it looks like this on my part. I already proposed a simpler format through abbreviations and they objected it. → FrancDeBx (talk) 18:04, 1 April 2013 (UTC)
2013 Premier league Darts
Can someone explain to me why the league table on the the 2013 Premier League Darts page has the extra |} after the table? I've seen it in the past and never been able to work out how to fix it as there seems to be nothing wrong with it. Spudgfsh (talk) 08:54, 12 April 2013 (UTC)
- If you use {{Fb cs footer}}, you don't need an explicit |} as well. Unfortunately if you can't surround that template with
<small>
tags, so if you want small text there, your best bet may be to not use that template at all. -- John of Reading (talk) 11:09, 12 April 2013 (UTC)
Section link to a row
This bit about linking to a particular row within a table is either broken, both ways of accomplishing this task are the same, and/or both conditions exist. Help:Table#Section_link_to_a_row I tried to do this and it just didn't work. I ended up hardcoding a <span id=.... />. — Preceding unsigned comment added by Shmooth (talk • contribs) 16:58, 25 May 2013 (UTC)
- Both ways were supposed to be different, I found that an overenthusiastic cleanup edit had made them look the same; I've put it back to how it had been previously. Using the first of those techniques, I can do this:
{| class=wikitable |This cell is on the first row |- id="Second row" |This cell is on the second row |}
This cell is on the first row |
This cell is on the second row |
- which creates an anchor for use as the target for Help talk:Table#Second row.
- Anyway, which page did you need to add that
<span id=... />
to? I can't find it in your contributions. --Redrose64 (talk) 18:00, 25 May 2013 (UTC)
Sorting help (please)
I would greatly appreciate a little bit of help. I am creating a sortable aviation-related table and I would really like to be able to individually sort the subcolumns under the heading “deaths”. Right now it will only sort the first value (TOT) but not the others. Thanks in advance for any comments or assistance. --Godot13 (talk) 04:20, 8 June 2013 (UTC)
Deaths | Incident | Aircraft | Location | Phase | Airport | Distance | Date | ASN[1] | ||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
Tot | C | P | G | FR | ||||||||
178 | 5 | 169 | 4 | 97.2% | Aeroflot/East Siberia Flight 3352 | Tupolev Tu-154 | Omsk, Russia, USSR | LDG | OMS/UNOO | 11 Oct 1984 | [2] | |
174 | 10 | 165 | 0 | 83% | Aeroflot Flight 217 | Ilyushin Il-62 | Moscow, Russia, USSR | APR | SVO/UUEE | 11km (6.8mi) | 13 Oct 1972 | [3] |
166 | 8 | 156 | 0 | 92% | Aeroflot Flight 4227 | Tupolev Tu-154B-2 | Almaty, Kazakhstan, USSR | ICL | ALA/UAAA | 5km (3.1mi) | 08 Jul 1980 | [4] |
62 | 8 | 54 | 5 | 43% | Aeroflot Flight 1036 | Ilyushin Il-18V | Black Sea, Adler, Sochi, Russia, USSR | ICL | AER/URSS | 4 km (2.49mi) | 01 Oct 1972 | [5] |
57 | 8 | 49 | 2 | 71% | Aeroflot Flight 3932 | Tupolev Tu-104 | Yekaterinburg, Russia, USSR | ICL | SVX/USSS | 10km (6.2mi) | 30 Sep 1973 | [6] |
- For a column to be sortable, it must have a header cell on the top row; thus there cannot be any
colspan=
on the top row. If you exchange the top two rows, like this
Tot | C | P | G | FR | Incident | Aircraft | Location | Phase | Airport | Distance | Date | ASN[7] |
---|---|---|---|---|---|---|---|---|---|---|---|---|
Deaths |
- it will be sortable.
- Please also note that I altered
scope=”col”
toscope="col"
- whilst the reasons for preferring 'typewriter' or straight quotemarks over 'typographic' or curly quotemarks in running text are mainly stylistic, in Wiki markup only the straight form ("
U+0022 Quotation Mark) will work because other characters which look similar (including, but not limited to,“
U+201C Left Double Quotation Mark”
U+201D Right Double Quotation Mark″
U+2033 Double Prime) are completely different from a technical point of view. --Redrose64 (talk) 08:21, 8 June 2013 (UTC)
- Thank you so much for the help! What you did makes perfect sense... --Godot13 (talk) 14:40, 8 June 2013 (UTC)
- ^ http://aviation-safety.net/index.php
- ^ "ASN Accident Description (Aeroflot/East Siberia-3352)". http://aviation-safety.net. Aviation Safety Network. 1984-10-11. Retrieved 2013-05-27.
{{cite web}}
: External link in
(help)|website=
- ^ "ASN Accident Description (Aeroflot-217)". http://aviation-safety.net. Aviation Safety Network. 1972-10-13. Retrieved 2013-05-27.
{{cite web}}
: External link in
(help)|website=
- ^ "ASN Accident Description (Aeroflot-4227)". http://aviation-safety.net. Aviation Safety Network. 1980-07-08. Retrieved 2013-05-27.
{{cite web}}
: External link in
(help)|website=
- ^ "ASN Accident Description (Aeroflot-1036)". http://aviation-safety.net. Aviation Safety Network. 1972-10-01. Retrieved 2013-06-05.
{{cite web}}
: External link in
(help)|website=
- ^ "ASN Accident Description (Aeroflot-3932)". http://aviation-safety.net. Aviation Safety Network. 1973-09-30. Retrieved 2013-05-27.
{{cite web}}
: External link in
(help)|website=
- ^ http://aviation-safety.net/index.php
I want to make a collapsible table but I want the caption to be the title of it. When I use this code:
{| class="collapsible wikitable collapsed" style="text-align:center;" width="55%" align="center" |+ Performances in ''The X Factor'' (Greece) |- " ! style="text-align:centre" |Show ! style="text-align:centre" |Song choice <small>(original artist) ! style="text-align:centre" |Result |- ! Auditions | {{n/a}} | Through to bootcamp |- ! rowspan="2"| Bootcamp | "[[Just Walk Away]]" <small>([[Céline Dion]]) | rowspan="2"|Through to judge's house |- | "[[I Have Nothing]]" <small>([[Whitney Houston]]) |}
I get this:
Show | Song choice (original artist) | Result |
---|---|---|
Auditions | — | Through to bootcamp |
Bootcamp | "Just Walk Away" (Céline Dion) | Through to judge's house |
"I Have Nothing" (Whitney Houston) |
But I want the [hide]/[show] to be on the Performances in The X Factor (Greece). How can I fix it? Dimitris ♪ (talk) 11:39, 16 June 2013 (UTC)
Color header and sortable?
Is it possible to have a sortable table and set a custom color for the header? Whenver I try it, the table is still sortable, but the arrows don't appear. For example, using this markup:
{| class="wikitable sortable" style="font-size:90%" |- style="text-align:center;" ! style="background:#B0C4DE;" | Award ! style="background:#B0C4DE;" | Year ! style="background:#B0C4DE;" | Category ! style="background:#B0C4DE;" | Work ! style="background:#B0C4DE;" | Outcome |- | [[Academy Awards]] |2007 | [[Academy Award for Best Supporting Actor|Best Supporting Actor]] | ''[[Dreamgirls (film)|Dreamgirls]]'' |{{nom}} |- |rowspan=3| [[Annie Awards]] |1999 |Outstanding Individual Achievement for Voice Acting in an Animated Television Production |''[[The PJs]]'' |{{nom}} |}
I get:
Award | Year | Category | Work | Outcome |
---|---|---|---|---|
Academy Awards | 2007 | Best Supporting Actor | Dreamgirls | Nominated |
Annie Awards | 1999 | Outstanding Individual Achievement for Voice Acting in an Animated Television Production | The PJs | Nominated |
The color is applied, but the arrows aren't visible in the header cells. It's like applying a color strips away the sortability. Any way to solve this? — Frεcklεfσσt | Talk 02:45, 19 June 2013 (UTC)
Need some quick col/row scope MOS:DTT work on a pending FLC
User:The Rambling Man who is a director at FLC has informed me in reviewing my nomination for List of colonial governors of New Jersey that I would need to make the tables compliant with MOS:DTT for col and row scopes. I've told him I don't know what this is. After several requests, he gave me an example to go by that when I tried to implement screwed up the tables. So, please can someone from this page help fix this to make it MOS:DTT-compliant and then tell me what exactly I have to do for future reference?
See the discussion here (at the bottom of the page): Wikipedia:Featured list candidates/List of colonial governors of New Jersey/archive1
Thanks for any assistance someone can offer.--ColonelHenry (talk) 19:00, 14 July 2013 (UTC)