Help talk:Table/Archive 3
Column equivalent to line word wrap for long two column tablesI have a two column table where I can sort on each column and each column is of minimal width. So with my many entries I get a very long but narrow table and so have to scroll up and down many pages to find my entries as I switch back and forth between sorts. How can I make the length of the page presentation shorter by breaking the long table into three (or even more) parts that are beside each other and still be able to have the sorts include all row data from my original long table? I will also post this at the Help desk. (Also, not sure if I should post at top or bottom of this page - let me know - thanks.) Newwhist (talk) 00:41, 7 June 2009 (UTC) Entire cell is a link?Is it possible to make the entire cell a link? I was hoping to build a large grid where the background color of each cell indicates a status, and is a link. Is this possible or would I have to do something like {| |- |[[User:na85/link| ]] |} ? Na85 (talk) 09:57, 15 January 2009 (UTC) Table title overlapping with textIn the article European Patent Convention, the table title "Contracting States to the European Patent Convention, with respective date of entry into force" overlaps with the text (I am using Firefox 3.0.5 on Windows Vista). Can anybody help me to solve this? Thank you in advance. (The problem does not arise using Safari 3.2.1, while the layout on Internet Explorer 7.0.6001... is just awful..) Cheers. --Edcolins (talk) 13:12, 24 January 2009 (UTC)
Useless sectionThe Wikitable as image gallery section is completely unintelligble. It needs to be rewritten by a native English speaker. SharkD (talk) 01:01, 27 January 2009 (UTC)
Swap columns in large tables?Is there a way to easily swap two columns over in a table? In the past I've done this by hand, but that takes a long time for large tables. Thanks. Mike Peel (talk) 14:49, 14 February 2009 (UTC)
How do i centre whole columns in a table?Is this possible? Thanks, IAmTheCoinMan (talk) 15:05, 14 February 2009 (UTC) 1. Images and right-floating tables 2. Borders and cellpaddingTwo problems: 1. How can I locate images to the right when there is already a right-floating table (a chronology)? I have used a table kludge at the top of Dura-Europos. I hope there's a better more consistent way. There are a few other images that I have moved left because of the chronology, but would like on the right and if there is a better way I'd happily use it. Using a table will make editing difficult. 2. How would I get a table which was a border like class="wikitable", but which allows me to use cellpadding. When I tried cellpadding to give text a bit of air in a wikitable, it didn't work. So, how would I get both cellpadding and a fine border? Thanks for any pointers. -- spincontrol 21:53, 21 February 2009 (UTC)
Coloured columnsI've created People who have served in both Houses of the Australian Parliament, and I want to colour some of the columns. I want the 3 columns under Senate to be a light red or pink and the 3 columns under House of Representatives to be a light green. These colours reflect the colours used by those chambers, and this will make the table more readily comprehensible. I think I've worked out how to colour a single cell, but there seems to be no info on how to colour an entire column in a single command. I don't want to have to apply colour to every cell separately. Is there a quick way to do this that has escaped my notice? Thanks. -- JackofOz (talk) 03:06, 24 March 2009 (UTC)
Added subsection: Setting borders8-April-2009: I have added subsection "Setting borders" as a new subsection about using the typical thin, solid box-borders. It has a few short examples about putting borders around the table, or individual cells, using a style-parameter (style="border:1px solid darkgray;"). -Wikid77 (talk) 21:56, 8 April 2009 (UTC) Archived rest of 200710-April-2009: I have moved the remainder of 2007 topics into the Archive_1 page, to keep all of 2007 in one archive file. If a topic isn't covered on this page, the archive file might have that topic, with answers or examples.
I kept 2008's topics in this file for easy review of answers/examples. -Wikid77 17:41, 10 April 2009
2nd generation Help:Table10-April-2009: I have begun reformatting the Help:Table page, as a 2nd-generation level, to expand more about setting table borders, describe image formatting, and condense the page by shortening examples and removing excess blockquote boxes. The changes are as follows:
The intent is to broaden the coverage of Help:Table, while streamlining the level of detail to avoid excessive formatting. Although more than 350 small changes have been made, the overall effect is a massive copyedit activity, while adding or removing sections, but NOT a radical change in appearance. The page will still seem generally familiar to previous readers. -Wikid77 (talk) 00:21, 11 April 2009 (UTC) tables within text?Hi! Is there a way to use tables within paragraphs, similar to the way we can use images? What I want to do is something like this [with image]
but with the image replaced by a table. [not like this - the table should be between the "Mongolian" and the "Kökeqota", not somewhere outside the paragraph!]
Is there some way to achieve this? Yaan (talk) 13:52, 15 April 2009 (UTC)
Table helpHi, Could someone with the know-how fix the results tables on Pop Idol (UK series 1) and Pop Idol (UK series 2). I copied the format from the The X Factor (UK series 5) article but have had difficulty with alignment. Thanks. 03md 20:00, 30 April 2009 (UTC) Table appears at bottom of pageCan someone make this table appear in the proper location: Wikipedia_talk:Lists#Lists.2FTables? Thanks! --Ronz (talk) 18:43, 1 May 2009 (UTC)
Decimal point alignment issuesIt seems to me that the decimal point alignment guidelines need to be updated. The current recommendation creates semantically broken html output. For example, this wiki code: |align="right"| 432 || .1 Generates this output: <tr><td align="right">432</td><td>.1</td></tr> This does not appear to be broken for a typical visitor. However, the html in fact contains two numbers, 432 and 0.1 - instead of one number, 432.1. This is a problem for search engines (like Google) and semantic engines, and also for text-only browsers and text readers. I think that it would be a good idea to remove the decimal point alignment section until a better alternative is found. --Kuteni (talk) 10:26, 16 May 2009 (UTC) What is this color?![]() What is the name or HEX code for the background color of talkpages (like this page, or your user talkpage)? This is also the background color of help, and category pages. Debresser (talk) 10:50, 19 May 2009 (UTC) Is there a choice "transparent"? Debresser (talk) 11:01, 19 May 2009 (UTC)
Frankly I don't know why we don't use this by default in common.css: table { background:transparent; } White tables against a non-white background look really bad. — CharlotteWebb 02:08, 5 July 2009 (UTC) Margin
If you use class "wikitable" it does not overlap. — CharlotteWebb 01:54, 5 July 2009 (UTC) Proposed enhancements to table sorting (rowspan/colspan support)See en:Wikipedia:Village pump (proposals)#Proposed enhancements to table sorting (rowspan/colspan support). -- Tcncv (talk) 02:55, 27 May 2009 (UTC) Swap Rows and ColumnsIs there a tool for switching the rows and columns in a Table ("inverting" it) ? Where are there tools for working with WP tables? -96.233.30.237 (talk) 19:28, 6 July 2009 (UTC)
Yesterday I stumbled on an article with a big bad table [Comparison of S.M.A.R.T. tools]. It would be so much work to fix (swap the rows and columns) by hand that no one is going to do it -- the article will just hang around and fester... In general, working with WP tables is a nuisance, harder than it should be -- and not just for newbies. And often the results grow to be unusable -- there needs to be good ways to have big tables underlying the article, but view just the parts that interest you at the moment. I often read "comparison of" articles that contain info I am very interested in, but I give up because the info is spread over multiple tables in a way that makes it hard to digest (which program is no-cost, current, runs on Linux, and offers feature X?) The csv2wp tool is not well supported. And there seems to be no complementary wp2csv table tool. That sounds pretty simple, and then simple tables could get converted to spreadsheets, where I guess it is easy (transpose or switch Excel row or column data) to do useful things. Hope you get inspired to work on this! -96.233.30.237 (talk) 11:28, 7 July 2009 (UTC) Centering a wiki tableI've been trying this:
Weird results now, not sure what happened, in google chrome it doesn't center, in firefox only the table text at the top centers, in ie centers, an example:http://www.koreanwikiproject.com/wiki/index.php?title=Getting_started. My basic code: <div> {| class="wikitable" align="center" |- |+Grammar Syntax ! Syntax !! Meaning !! Example !! Comment |- | A || Adjective (descriptive verb) || [[A + 구나]] || Adjective (descriptive verb) only pattern. |- | A/V || Adjective or Verb || [[A/V + 지만]] ||Adjective or verb may be used in this pattern. |- | N || Noun || [[N + (으)로]] || Noun only pattern |- | S || Sentence || || |- | V || Verb (action verb) || [[V + (으)ㄹ 게요]] || Verb (action verb) only pattern. |- | + || Attach the thing before and after the + symbol. || The adjective 춥다: 춥 + 지요 → 춥지요 || The verb stem is 춥 from 춥다(to be cold), gets joined with 지요. |- | (으) || If there is a [[받침]] add a 으. || [[A/V + (으)니까]] || - |- | (으)ㄹ || If there is a [[받침]] add 을 (으 being the optional grammar) otherwise add ㄹ as the [[받침]]. || [[A/V + (으)ㄹ지도 모르다]] |If there is |- - | (으)ㄴ || If there is a [[받침]] add 은 (으 being the optional grammar) otherwise add ㄴ as the [[받침]]. || [[A + (으)ㄴ가요]] || - |- | (스)ㅂ || If there is a [[받침]] add 습 (스 being the optional grammar) otherwise add ㅂ as the [[받침]]. || [[A/V + (스)ㅂ니다]] || - |- | (이) || If there is a [[받침]] attach 이. Often used in conjunction with nouns. || [[N + (이)나]] || - |- | ( ) || The part inside the parenthesis is optional. || [[V + (으)ㄹ 수(가) 있다]] || The 가 is optional. |- | a/b || Either a or b || [[A/V + 아/어/여]] || Depending on the rule, you either pick 아, 어 or 여. |} </div> Bluesoju (talk) 11:12, 2 August 2009 (UTC)
---— Gadget850 (Ed) talk 11:24, 2 August 2009 (UTC)
Alt textHello. Would whoever is maintaining tables please consider adding an "alt=" field so that editors may comply with WP:ALT? Thanks. -SusanLesch (talk) 03:25, 15 July 2009 (UTC)
how to align whole column to the right? col-styleThere is broadly explained the decimal alignning Help:Table#Decimal_point_alignment, but how to align whole column to the right? How to assign a style to a whole column? ...It is possible to put there such style rule to EVERY row of the table, but a) that is really annoying at log tables, and b) a source of mistakes beause of repeated "worthless typing". Any clue? Thanks. --Franta Oashi (talk) 01:50, 16 July 2009 (UTC) The first idea I had was related to "col-group", but I doubt such is supported by all (enough) browsers. Another solution I can imagine is to make such param to the wiki-col syntax for tables:
Tool to add a columnIs there are tool which will add a column into the middle of an existing wiki-markup table? Perhaps a third-party WYSIWYG editor, into which the markup is pasted? Andy Mabbett (User:Pigsonthewing); Andy's talk; Andy's edits 20:00, 18 July 2009 (UTC)
Help on sorting numbers
The sorting is wrong as 1, 10, 100, 2, 20, 200. How to sort the table as 1, 2, 10, 20, 100, 200. Kasaalan (talk) 12:30, 14 August 2009 (UTC)
Desynchronizing where rows in different columns endI broke my user page. :( It looks perfect on my resolution, but on others' it stretches the right-column boxes so they end where each row on the left does. Figured this was as good a time as any for an education: How would I "free" each row to end based only on the size of its own contents, rather than based on where the longer of the two boxes in that row stretches to? Visually, in effect, I suppose I want two side-by-side, one-column tables that ideally end in the same place, but have unequally long rows. But with the current bells 'n' whistles. :\\ Example (C1R1 is column-1 row-1, etc.):
-Silence (talk) 03:41, 18 August 2009 (UTC) Header cell in rowAn example of how to produce:
would be useful, please. Andy Mabbett (User:Pigsonthewing); Andy's talk; Andy's edits 20:32, 19 September 2009 (UTC) Retrofit talk-page year headers/subpages10-April-2009: I have added subheaders above as "Topics from 2007" (etc.) to emphasize the dates of topics in the talk-page. Older topics might still apply, but using the year headers helps to focus on more current issues as well. Afterward, I dated/named unsigned comments and moved entries (including "Entire cell...") into date order for 2009. -Wikid77 (talk) 16:45, 8 April 2009 (UTC) Borderless tableHello everyone, I was wondering if anyone could tell me (or show me) how to make a borderless table, not one with a white border but with no border at all, thanks. Supaman89 (talk) 23:12, 6 October 2009 (UTC)
Text failing to make way for boxDoes anyone know why, in the lead section of Wikipedia:List of guidelines, the text is failing to wrap around the side navigation box (at least, in IE6)? (I mean, part of the text is under the box.)--Kotniski (talk) 11:28, 27 October 2009 (UTC)
imagesThis page has a lot of images that, quite frankly, don't need to be here. Take the blinds section. Why is this here? Sure it helps illustrate the invisible table, but it crushes any hope of a reasonable loading time. Nezzadar [SPEAK] 18:07, 2 November 2009 (UTC) Alignment problemHow do I properly align the numbers in the second table (the small "Age/National Treasure" table) in List_of_National_Treasures_of_Japan_(paintings)#Statistics? They got disaligned by the references. bamse (talk) 23:33, 6 November 2009 (UTC) Help meI've made a mess of this table. How do i even out the the cullums under the Vehicle section? username 1 (talk) 22:51, 18 November 2009 (UTC) Template in a table?
Table HelpCould some kind person take a look at this and give me some formatting tips so its not so gangly. Thanks. WVBluefield (talk) 17:16, 25 November 2009 (UTC)
Nested table within WikitableI've created a table at User:Dream out loud/List of SEPTA City Transit Division routes and the second column featured a nested table in each cell. I created a template for the nested table at User:Dream out loud/table and it works well, except for the fact that there is too much padding in the cells. I've tried messing with all the style options and other parameters, but I think it has something to do with the presets for the wikitable class. Any suggestions? Thanks. –Dream out loud (talk) 01:10, 13 December 2009 (UTC) Need HelpHi. How to align the content of a cell while assigning the rowspan? {| class="wikitable" tnx. --Ghazy Kelay (talk) 17:20, 11 January 2010 (UTC)
View only selected rows in tableI would like to set option in the table to view selected rows base on the value of one of the column. For example: One of the value in the column III is "A". Therefore, if I choose "A" (I don't know how) -> display only rows with value "A" in the column III. --WlaKom (talk) 00:18, 12 January 2010 (UTC)
Display firstname lastname but sort by lastname, firstname?Is it possible to do that somehow with the automatic table? Шизомби (Sz) (talk) 17:28, 6 January 2010 (UTC) View only selected/empty columns/rows in tableHello! My problem is similar to the above. I would like empty columns (maybe even rows) to optionally hide in case they're empty. Is that possible? If not, maybe we could make a new template...? Thanks a lot for any advice! --Pet'usek [petrdothrubisatgmaildotcom] 14:58, 22 January 2010 (UTC) ToolbarI just restored the instructions If "Insert a table" is not on the toolbar—which may be the case on many MediaWiki wikis—follow these directions to add it. This may be skin dependent, and certainly for non-Mediawiki wikis which refer to this as a reference this simple sentence is highly valuable. —EncMstr (talk) 18:14, 10 February 2010 (UTC)
Multiple tables aligned next to each otherIs there any real way in aligning these 3 different tables right next to each other ? Thanks a lot.
Polylepsis (talk) 11:46, 30 January 2010 (UTC)
Sorting numerics with references
Top table sort on peak position fails. 1 comes after 19 etc. Compare to second table, that works but there are no citations. Obviously in the WP:V world of wikipedia, citations for WP:RS are required, hence the issue. SunCreator (talk) 02:54, 14 February 2010 (UTC)
A method to display the row numberThis would be really helpful for "ranked" tables with multiple sort columns such as this: http://en.wikipedia.org/w/index.php?title=List_of_countries_by_infant_mortality_rate&oldid=352338881. I'd like to see the ranked number for each of the columns upon sorting, without having to manually count. Unless someone implements this, it seems like we'd have to make an extra column of rank numbers for each of the sortable parameter columns. --99.96.100.176 (talk) 02:36, 15 April 2010 (UTC) Leading and trailing whitespace in column headings?In this format where the column headings are concatenated, the bar and exclamation point enclose a text string that may include leading and trailing whitespace. {| class="wikitable" style="width:98%;" |- ! width="5%"|# !! width="26%"| Title !! width="22%"| Topic !! width="23%"| Equipment !!... In this format where the column headings are on separate lines, there appears to be no demarcation for trailing whitespace. Or if the end of line is the demarcation, then trailing whitespace is invisible - not a good thing if leading and trailing whitespace affect header centering and column width. {| class="wikitable" style="width:98%;" |- ! width="5%"|# ! width="26%"| Title ! width="22%"| Topic ! width="23%"| Equipment ... So, is leading and trailing whitespace in column header strings significant? Or is it trimmed? Dmforcier (talk) 17:33, 19 April 2010 (UTC)
"Help"?This honestly has to be the least helpful "Help" page in WP! Looking up "color" for example doesn't explain the difference between "color" and "background" and claims that there are "Two ways of specifying color" but doesn't really specify what they are but rather leaves it to readers to realise that two methods really are used in the markup shown. Worse, Help:Table#Positioning tells us the postioning is possible but doesn't explain how beyond pointing to a discussion on WikiMedia and another horribly convoluted section that I can never quite get my head around. Is there any chance of creating a summary table explaining all the markup at a glance? I would try but I really am lost when I try to read this page. Thanks --Jubilee♫clipman 23:38, 24 April 2010 (UTC) SortingCan you make only certain columns sortable? I tried the following: |- but it didn't seem to work. Thanks! --SteelersFanUK06 HereWeGo2010! 17:01, 21 June 2010 (UTC)
Unnatural History (TV series)Hi Can someone try and fix the table on Unnatural History (TV series) I have made it much better but cannot fix the border thanks Chaosdruid (talk) 22:27, 22 June 2010 (UTC)
Conditional Table RowGood day, all. I am creating an infobox template on an external wiki what will conditionally display rows depending on parameters passed. The rows in question are defined as such: {{ #if: {{{property2|}}}|{{!}}- valign="top" ! {{!}} align="center" {{!}} {{{property2}}}}} I have 11 properties just like that, and the table (when completely filled) would have 2 columns and 11 rows (although there is code to add "Properties" in the first column as a collective row header). My question is this, everything works right, except that the table is always sized as if all of the rows are created. After turning border="1" to view the cells, it turns out the last cell is larger than all the others and makes up the balance of the space of the table. If there are 11 properties, the table is X pixels tall and all rows are evenly sized. If there are 4 properties, the table is still x pixels tall, and three rows are evenly sized, and the last takes up the remaining space. I have not set a hard coded height for the table, and none of the rows have a height spec. Any help would be appreciated. The template in question can be seen as a whole here. Tigey (talk) 23:31, 22 June 2010 (UTC)
{| border="1" style="width: 25em; text-align: left; font-size: 95%; border: 1px solid #aaaaaa; background-color: #CCD0FF;color: black; margin-bottom: 0.5em; margin-left: 1em; padding: 0.2em; float: right; clear: right;" |+ style="font-size: larger;" | '''{{{item_name}}}''' |- | colspan="2" style="text-align:center;" | {{#if: {{{item_image|}}}|[[Image:{{{item_image}}}|300px| ]]<br />}}<i>{{{caption|}}}</i> {{ #if: {{{description|}}}|<nowiki/> {{!}}- valign="top" ! Description: {{!}} align="center" {{!}} {{{description}}}}}{{ #if: {{{property1|}}}|<nowiki/> {{!}}- valign="top" ! Properties: {{!}} align="center" {{!}} {{{property1}}}}}{{ #if: {{{property2|}}}|<nowiki/> {{!}}- valign="top" ! {{!}} align="center" {{!}} {{{property2}}}}}{{ #if: {{{property3|}}}|<nowiki/> {{!}}- valign="top" ! {{!}} align="center" {{!}} {{{property3}}}}}{{ #if: {{{property4|}}}|<nowiki/> {{!}}- valign="top" ! {{!}} align="center" {{!}} {{{property4}}}}}{{ #if: {{{property5|}}}|<nowiki/> {{!}}- valign="top" ! {{!}} align="center" {{!}} {{{property5}}}}}{{ #if: {{{property6|}}}|<nowiki/> {{!}}- valign="top" ! {{!}} align="center" {{!}} {{{property6}}}}}{{ #if: {{{property7|}}}|<nowiki/> {{!}}- valign="top" ! {{!}} align="center" {{!}} {{{property7}}}}}{{ #if: {{{property8|}}}|<nowiki/> {{!}}- valign="top" ! {{!}} align="center" {{!}} {{{property8}}}}}{{ #if: {{{property9|}}}|<nowiki/> {{!}}- valign="top" ! {{!}} align="center" {{!}} {{{property9}}}}}{{ #if: {{{property10|}}}|<nowiki/> {{!}}- valign="top" ! {{!}} align="center" {{!}} {{{property10}}}}}{{ #if: {{{property11|}}}|<nowiki/> {{!}}- valign="top" ! {{!}} align="center" {{!}} {{{property11}}}}} |}
|