Jump to content

User:Dbiel/ScratchPad/test

From Wikipedia, the free encyclopedia

{{helpme}}

{helpme}

[edit]

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.

Star Wars Episode IV:
A New Hope
Directed byGeorge Lucas
Written byGeorge Lucas
Produced byGary Kurtz
George Lucas
(executive)
StarringMark Hamill[1]
Harrison Ford[2]
Carrie Fisher[3]
Peter Cushing[4]
Alec Guinness[5]
CinematographyGilbert Taylor[6]
Edited byRichard Chew
Paul Hirsch
Marcia Lucas
Music byJohn Williams
Distributed by20th Century Fox
Release dates
May 25, 1977 (USA)
December 27, 1977 (UK)
Running time
121 min. (original)
125 min. (Special Edition)
CountryUSA
LanguageEnglish
Budget$11,000,000


Dbiel/ScratchPad/test
CountryUnited States
Before statehoodCalifornia Republic
Admitted to the UnionSeptember 9, 1850 (31st)
CapitalSacramento
Largest cityLos Angeles
Largest county or equivalentSan Bernardino, California Other Cities = San Francisco, San Diego, San Jose, Oakland, Long Beach
Government
 • GovernorArnold Schwarzenegger (R)
 • Upper house{{{Upperhouse}}}
 • Lower house{{{Lowerhouse}}}
U.S. senatorsMark Hamill[7]
Harrison Ford[8]
Carrie Fisher[9]
Peter Cushing[10]
Alec Guinness[11]
Population
 • Total33,871,648
 • Density217.2/sq mi (83.85/km2)
 • Median household income
$49,894
 • Income rank
13th
Language
 • Official languageEnglish
Traditional abbreviationCalif.
Latitude32°30'N to 42°N
Longitude114°8'W to 124°24'W

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

[edit]

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

[edit]

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

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)

  1. ^ test
  2. ^ test
  3. ^ test
  4. ^ test
  5. ^ test
  6. ^ effe
  7. ^ test
  8. ^ test
  9. ^ test
  10. ^ test
  11. ^ test
  12. ^ "GOVERNMENT CODE SECTION 420-429.8". Official California Legislative Information. Retrieved 2007-02-26.
  13. ^ a b "Elevations and Distances in the United States". U.S Geological Survey. 29 April 2005. {{cite web}}: Check date values in: |year= (help); Unknown parameter |accessmonthday= ignored (help); Unknown parameter |accessyear= ignored (|access-date= suggested) (help)CS1 maint: year (link)