User:Dbiel/ScratchPad/test

From Wikipedia, the free encyclopedia

{{helpme}}

[edit] {helpme}

Is there any way to get the {{Infobox U.S. state}} to display like the {{Infobox Film}} so that type is not chopped in half when sub or sup scripts are used? See the following examples:

We are not clear on what you want to achieve. Perhaps post at the Help desk with details of your internet browser and be more specific about the problem. Were you trying to get [[Star Wars Episode III: Revenge of the Sith]] linked? You would need to use a pipe (|), eg Star Wars Episode III: Revenge of the Sith.--Commander Keane 04:28, 25 May 2007 (UTC)

Well, I see I did not make myself very clear. It has nothing to due with linking, the Star Wars Example was simply to show how all characters are readable, where as the California example shows characters that are cut in half making them nearly unreadable. Or restated, what I was attempting to show was how the use of sub and sup with in the Infobox Film resulted in readable type but the Infobox U.S. state results in very hard to read type. The titles "Area" "Population" are cut in half horitizanally with only the top half of the letters visible. This is not the case with the Infobox Film, just the infobox U.S. state. Therefor I do not see it as really a browser issue but rather a template issue. --Dbiel 05:32, 25 May 2007 (UTC)

I'm using FireFox 2.0 and it looks fine to me. --Selket Talk 05:53, 25 May 2007 (UTC)

Insert screen shot: Image:California_Infobox_U.S._state.jpg

This is clearly a browser issue. You should probably ask the help desk. You can find people who know about such things there. There may need to be a change to the template or even the .css files. --Selket Talk 06:14, 25 May 2007 (UTC)

The following image is probably a better example which indicates the same text appearing in two different templates. Image:InfoboxUS_states_display_problems.jpg

Star Wars Episode IV:
A New Hope
Directed by George Lucas
Produced by Gary Kurtz
George Lucas
(executive)
Written by George Lucas
Starring Mark Hamill[1]
Harrison Ford[2]
Carrie Fisher[3]
Peter Cushing[4]
Alec Guinness[5]
Music by John Williams
Cinematography Gilbert Taylor[6]
Editing by Richard Chew
Paul Hirsch
Marcia Lucas
Distributed by 20th Century Fox
Release date(s) May 25, 1977 (USA)
December 27, 1977 (UK)
Running time 121 min. (original)
125 min. (Special Edition)
Country USA
Language English
Budget $11,000,000
Preceded by [[Star Wars Episode III: Revenge of the Sith]]
Followed by Star Wars Episode V: The Empire Strikes Back
Official website
Allmovie profile
IMDb profile


State of California
Flag of California [[Image:|100px|State seal of California]]
Flag of California Seal
Nickname(s): The Golden State
Motto(s): Eureka[7]
Before Statehood Known as
The California Republic
Map of the United States with California highlighted
Official language(s) English
Capital Sacramento
Largest city Los Angeles
Area  Ranked 3rd in the US
 - Total 158,302 sq mi
(410,000 km²)
 - Width 250 miles (400 km)
 - Length 770 miles (1,240 km)
 - % water 4.7
 - Latitude 32°30'N to 42°N
 - Longitude 114°8'W to 124°24'W
Population  Ranked 1st in the US
 - Total 33,871,648
 - Density 217.2/sq mi 
83.85/km² (12th in the US)
 - Median income  $49,894 (13th)
Elevation  
 - Highest point Mount Whitney[8]
14,505 ft  (4,421 m)
 - Mean 2,900 ft  (884 m)
 - Lowest point Death Valley[8]
-282 ft  (-86 m)
Admission to Union  September 9, 1850 (31st)
Governor Arnold Schwarzenegger (R)
Lieutenant Governor {{{Lieutenant Governor}}}
U.S. Senators Mark Hamill[9]
Harrison Ford[10]
Carrie Fisher[11]
Peter Cushing[12]
Alec Guinness[13]
Congressional Delegation List
Time zone Pacific: UTC-8/-7
Abbreviations CA Calif. US-CA
Website www.ca.gov

[edit] Archive of question and responses as they appear in the help desk

[edit] Display problems when viewing the { {Infobox U.S. state} } template

Problem restated: if sub or sup type is used, the entire line does not get displayed. Most wiki pages utilize a line spacing large enought so that if sub or sup type is used, as is the case of this entry, the entire line is readable. The {{Infobox U.S. state}} does not do so. Its much tighter line spacing, results in one line of type blanking out the lower and/or upper portion of another line of type, resulting in a very hard, if not impossible at times, to read text block. This problem may be limited to the IE browser, but it is not strictly a browser issue as other infoboxes, such as {{Infobox Film}}, do not create the same display problem; even when all other varibles are removed, which was tested by placing both infoboxes on the same page and inserting the exact same copy into a section of both of them. The result of this test can be seen in the image below and the link to the test page is User:Dbiel/ScratchPad/test, which can be used to test the results using different browsers. Dbiel 17:41, 26 May 2007 (UTC)

Is there any way that the {{Infobox U.S. state}} can be alter to display better. the following is an example of the differences between {{Infobox U.S. state}} and {{Infobox Film}} using the same text block and appearing on the same page. (see the following test page that displays both templates using the same text as well and the associated screen shot) User:Dbiel/ScratchPad/test

Image:InfoboxUS states display problems.jpg

What browser are you using? If Firefox, what extensions do you have installed? I am using Firefox 2.0 on Windows XP, and it is displaying fine on my computer. Hersfold (talk/work) 02:18, 26 May 2007 (UTC)
IE, multiple versions on multiple platforms.
The point is not so much the brower settings as why does one template will display OK and the other one does not under the same conditions and on the same page? There has to be something different between the two templates themselves. I would think that all templates should be using the same base formatting. If the issue was that all templates displayed bad, then one would definately want to look at browser settings.Dbiel 03:25, 26 May 2007 (UTC)
On a quick look, I would guess it has something to do with the way the text with footnotes is dispayed. I don't have much time now, but I'll look at it in more depth later. Mr.Z-mantalk¢ 06:59, 26 May 2007 (UTC)
You have hit the nail on its head. I added an additional line of text at the top of this entry in an attempt to making it clearer as you were the first to understand what I was talking about. I will look forward to hearing what you discover. Dbiel 17:41, 26 May 2007 (UTC)

Continuing the discussion, it would appear that the two info boxes were created very differently as can be seen on the following two test pages:

User:Dbiel/ScratchPad/test/test2 The only entry on that page is {{Infobox U.S. state}} which displays the entire info box in a fill in the blank format.
User:Dbiel/ScratchPad/test/test3 The only entry on that page is {{Infobox Film}} which only displays the following:
Dbiel/ScratchPad/test

Dbiel 18:25, 26 May 2007 (UTC)