Wikipedia talk:WikiProject Infoboxes/Archive 3

Page contents not supported in other languages.
Source: Wikipedia, the free encyclopedia.

About The Chinese Linguistics Infobox

Hello there:

I'm having some discussions with other contributors about the convenience of adding a chinese linguistics infobox to any china or taiwan related article: I support the linguistics boxes because they classify the appliable transliterations, and are much easier to see, plus being collapsable. I have been looking for some guidelines about it use, and found nothing: Im looking for the creator of the Chinese linguistics infobox, or any other linguistics infobox creator for some tips:

1) Chinese linguistics infobox should include BOTH simplified and traditional scripts, due to wikipedia policy in the matter, right?

2) Contributors should differentiate between the linguistics infobox, which provides BOTH simplified and traditional, and any other related infobox present in the article: an example: "Republic of China" article: linguistics infobox provides both simplified and traditional, and appliable transliterations: however country infobox provides the local name (the official name of the country) ONLY in traditional chinese, because simplified has no legal status in Taiwan. In every article I've edited, I have applied the above policy (see DPP taiwan, red cross society of the ROC, taipei 101, etc...)

3) I always try to put the linguistics infobox on top: its small and collapsable: however, some contributors put the country infobox on top: Is there any policy regarding the issue?

Please, give me an extended answer: whatever the answer is, Id like it to be added to the naming conventions appliable to any china or taiwan related article, cause if not, I'll be starting an editing war with some contributors...

Please, provide with strict guidelines..

talk) 12:01, 5 January 2009 (UTC)[reply
]

Note: Modified section title -> No need for all caps.
Talk Page | Contribs) 13:39, 5 January 2009 (UTC)[reply
]

French Project:"Infobox/V2" style infoboxes

File:Infobox-french-music.jpg
Mock-up of music infoboxes, other examples at Project:Infobox/V2 French (English translation)

Hi, I was wondering if there had ever been any discussion or work on the English Wikipedia similar to Project:Infobox/V2 on the French Wikipedia ( English translation via Google Translate ). I found out about it by stumbling across some of their pictograms in Category:Infobox pictograms on Commons. I realize the English Wikipedia is not big on infobox standardization, but the use of background images in the header is pretty professional/good looking. My coding (lack of) experience is more limited to more basic modification/adapting of existing infoboxes/navboxes... I thought of trying to mimic the header style on existing infobox/table template(s), but a google search suggests that background images in tables are easier said than done on MediaWiki (not to mention possible browser compatibility issues, though that maybe is depending on how it is coded?)

talk) 01:55, 6 January 2009 (UTC)[reply
]

The Hungarian Wiki also has a share of these - for example the Hungarian comics character infobox.
Adding it in looks fairly straight forward, but it becomes a question of should it be done.
- J Greb (talk) 03:19, 6 January 2009 (UTC)[reply]
the comics infobox looks great, though i guess there would have to be consensus before such a major change, like you say.
talk) 09:04, 9 January 2009 (UTC)[reply
]
Hallo. Also the both sorbian wikipedias use such background images. The project pages are at hsb:Wikipedija:Infokašćik and dsb:Wikipedija:Infokašćik. But also the Esperantowikipedia has such a project at eo:Vikipedio:Informkestoj. I added some background images there, which are not in the french page. You can find all my added images on my commons user page. Greetings --Tlustulimu (talk) 10:19, 2 February 2009 (UTC)[reply]
(+) In the both sorbian wikipedias the images are visible only, if one actived the gadgets NiceInfoboxes and NiceTaxoboxes. Greetings --Tlustulimu (talk) 10:23, 2 February 2009 (UTC)[reply]
Thanks :-) , I didn't know those projects used them ... I cross-posted your message to the Village Pump proposal entry, since it contained examples other than the French & Hungarian ones already listed.
talk) 11:16, 2 February 2009 (UTC)[reply
]
Outsider80, background images are easy, but they require style sheet support to do them right. We'll need a set of class names for the infobox headers; I suggest we use something with a short, consistent prefix to avoid name collisions. Perhaps names like ibox-music, ibox-film, etc.
But don't these look like hell in Internet Explorer (MSIE, ptui!), since they are alpha-channel PNGs? Michael Z. 2009-02-02 17:01 z
@Michael. It looks very well in Internet Explorer 7, but not in the 6th or elder version. Greetings --Tlustulimu (talk) 17:26, 2 February 2009 (UTC)[reply]
@Michael: Sorry, am not familiar with the operation side of CSS, so will have to defer to more knowledgable persons here. My web design experience pretty much only extends as far as mid-1990s level html editing lol. My infobox experience is mostly limited to modifying existing ones, but would be happy to help out, where I could (converting older infoboxes to the new format, etc) if this goes forward.
talk) 00:34, 10 February 2009 (UTC)[reply
]

Hello. I just tested a version of the template {{

Infobox actor}} on my user subpage User:Tlustulimu/Template:Infobox Actor with the stiling formats from the upper sorbian wikipedia. The formats now are on User:Tlustulimu/infobox.css. If you wish to test the named page too, you can add to your own monobook.css-user page
the following lines on the top of this page.

@import "http://en.wikipedia.org/w/index.php?title=User:Tlustulimu/infobox.css&action=raw&ctype=text/css";
 
@import "http://en.wikipedia.org/w/index.php?title=User:Tlustulimu/taxobox.css&action=raw&ctype=text/css";

A lot of succes during the tests. If you have questions, you can found my user discussion page here or on the upper sorbian wikipedia. Greetings --Tlustulimu (talk) 11:41, 26 February 2009 (UTC)[reply]

(+) I just added two new tests: User:Tlustulimu/Template:Infobox Animal and User:Tlustulimu/Template:Infobox Writer. Greetings --Tlustulimu (talk) 12:04, 26 February 2009 (UTC)[reply]

Need assistance with complex infobox change

We are trying to get the {{

Infobox nrhp}} changed to allow for properties listed on the National Register of Historic Places and subsequently removed to continue using the infobox. Thus there is a pending request to add two new parameters to the infobox. What I am hoping to find is an editor who can then further modify the infobox to change the name displayed to add "Former" before it lists the type (NRHP/NHL) in the line directly below the article name if either of the new fields is used. Plus, then change the color of that same line to some other color (maybe silver to try?) if either of those fields is used. Thanks. Aboutmovies (talk) 08:01, 9 January 2009 (UTC)[reply
]

Start Level for New Editor

Hi, Is there a page in this wiki that tells an editor how to create an infobox? I found this page, but I defy any user to figure out how to create an infobox simply from reading that page. Is there anything else?

Specifically, I want to create something similar to the infobox on this page, but notice that Olympic Games in his infobox is a link, but European Championships is not. And 5000 metres in the Olympics is a link, but 5000 metres in the European Championships is not. I want to properly understand how these things work rather than just fiddle with it until it looks about right.

Also, there might be a template infobox already created by some project related to my article, but I have no idea how to find out what projects there are, what templates already exist, etc. Is there any help available on these topics? Cottonshirt (talk) 06:28, 2 February 2009 (UTC)[reply]

From the huge number of people queuing up to answer questions here I assume that this is not the place to ask questions about infoboxes. So, can anyone tell me where, other than the infobox project page, is the place to ask questions about infoboxes? Cottonshirt (talk) 13:14, 11 February 2009 (UTC)[reply]
Well thanks guys, you're a real boon to the Wikipedia community. I've had so much fun here, dealing with all your replies and fighting off all those really helpful hints on infoboxes but I'm afraid I'm going to have to let someone else share your wonderful community spirit from now on. Cheers Cottonshirt (talk) 04:02, 22 February 2009 (UTC)[reply]
Are you just wanting to add a medal infobox to an athlete's article who does not have one, or create a non-medal related infobox?
talk) 08:44, 22 February 2009 (UTC)[reply
]

Assistance with the #ifeq function

Hello there. I'm trying to implement some changes to

2000 CHA Men's Ice Hockey Tournament) and WCHA (first tournament in 1960), but there are a bunch of other conferences I still need to do (ie: CCHA, 1972). The thing is, I can't figure out how to add more than just the two I already have. Does anyone know how to do this (sorry if this is basic, but I'm a major rookie at parser functions). – Nurmsook! talk... 18:02, 5 February 2009 (UTC)[reply
]

First thought... just use #if with the fields "prioryr" and "nextyr". The docs for the 'box should then reinforce the commonsense premise the "prioryr" field should be blank for the 1st year and "nextyr" should be blank for the last or current year. - J Greb (talk) 22:32, 5 February 2009 (UTC)[reply]
Yeah, that's what I went through and used. Thanks for the suggestion! – Nurmsook! talk... 02:49, 22 February 2009 (UTC)[reply]

Re: Recommend request templates

Wikipedia:WikiProject_Infoboxes#Templates

Just a small notice that i've tagged {{

Talk Page | Contribs) 05:18, 1 March 2009 (UTC)[reply
]

Infobox busline

I have been trying for a while to create an infobox for articles on municipal bus routes. Many infoboxes have been created for articles on the bus routes of specific agencies, but there should be one universally for all bus routes. I started created it, but I have not figured out where to go from there. On this page, I have the beginning of the text for it. If someone can complete it, that would be great. Sebwite (talk) 00:55, 12 March 2009 (UTC)[reply]

RfC: Use of team colors in sports infoboxes

Just a pointer to the discussion at Template talk:Infobox NFLactive#RfC: Use of team colors in sports infoboxes. It seems to have stalled. -- Quiddity (talk) 18:14, 12 March 2009 (UTC)[reply]

Infobox TV network

The TV network infobox does not seem to work for .org websites of channels such as Free Speech TV. Could any help be given in this matter? CR85747 (talk) 23:43, 14 March 2009 (UTC)[reply]

If you were trying to get the website to show up, you used the wrong parameter. It's "web = ____" instead of "website = ____".--Dudemanfellabra (talk) 02:57, 15 March 2009 (UTC)[reply]

box_width parameter: Does it really work?

I started an infobox at Rick Santelli but its width is a little overbearing in the early life of this page.

The guidelines suggest the default is 22em but reducing the parameter doesn't seem to change the width of the box.

My syntax and case seem to be correct. Where can I get additional pointers? TIA. --RayBirks (talk) 22:03, 15 March 2009 (UTC)[reply]

Don't put a space between the number and "em". You had "box_width = 15 em" when I just looked at the code. Changing this to "box_width = 15em" fixes the problem.--Dudemanfellabra (talk) 22:09, 15 March 2009 (UTC)[reply]
Bingo! Thx. --RayBirks (talk) 22:16, 15 March 2009 (UTC)[reply]

infobox too long

Hi people. I need some help. I want the infobox in the Babur article to be collapsible, because it is too long. But I do not know how to do that. Please help me out. :-) Tajik (talk) 20:39, 16 March 2009 (UTC)[reply]

A proposal to de-table Wikipedia infoboxes

Coders: Please see Håkon Wium Lie's latest post in the thread at WikiEN-l. This is looking potentially wonderful. -- Quiddity (talk) 17:49, 24 March 2009 (UTC)[reply]

  • Tables baaaaad, CSS gooood does not apply in all situations. Infoboxes are a table of information, screwing about with css doesn't gain anything, I'd even argue that there is something to loose.
    talk) 21:37, 26 March 2009 (UTC)[reply
    ]
I'd have to second that. If I'm reading the linked post and example right the move to CSS is going to:
  1. Increase the basic length of the infoboxes (not necessarily a good thing),
  2. Pooch any/all that are build based on the 2 column model, and
  3. Royally pooch any that have added functionality based on collapsible sections.
Or am I missing something in how the CSS setup is going to work?
- J Greb (talk) 22:29, 26 March 2009 (UTC)[reply]
  • Tables are intended for table data and shouln't be used for layout, since that breaks just about every non standard webbrowser (or at least makes their lives misserable). This is a well known fact nowdays. Infoboxes are primarily a layout element. Sometimes they contain a table of information and in those cases it is appropriate to use a table in the infobox. Thats the ideal anyway. Using CSS to produce tables is possibly even more evil (but that's not realy the case in the example). If new infoboxes are created with proper CSS instead of tables (where apropriate) that is a good thing I think. I doubt it's possible to automatically make such changes though, it would have to be carefully done manually, but changing a single template could affect hundreds of pages. (And the example works nicely in Firefox by the way.)
    Apis (talk) 18:29, 27 March 2009 (UTC)[reply]
A few thoughts then...
  • If/when this is phased in, something is going to have to be done to allow for the standing 'boxes to be reworked/redesigned in the new format. As you point out changing a single template (in this case {{infobox}}) will affect tens of thousands of articles.
  • While an infobox is a "layout" element, the table formatting is about the only way to generate it. Most of the design is predicated on the tools at hand - when the only tool is a table, that is going to dictate general structure.
  • Is there a way to allow for collapsing sections with CSS? I've for a few 'boxes I've worked on where that is used "shorten" the 'box in cases where there are long lists that belong in the 'box. It would be nice to know if, when the future migration happens, there is a way to update them or if they are going to have to back slide.
- J Greb (talk) 21:43, 27 March 2009 (UTC)[reply]

It seems to me after reading the study that this is not going to happen any time soon. IE7 does not support this approach although IE8 does. Slow adapters are going to be around for a long time. From what I gather there are still a lot of IE6 users still around. There might be a workaround for this but it might mean Wiki would have to generate two web pages, one for compliant browsers and one for non compliant. So transport costs would decrease in some cases and remain static in others but storage space would almost double. This just my first reaction and I invite comments.

It does make the use of meta-templates even more valuable as most changes would occur in the meta-template and few if any in the the client templates. --droll [chat] 23:46, 26 March 2009 (UTC)[reply]

Help with changing one minor aspect of an infobox

Resolved

Hello. I've been trying to edit the Infobox for

Lagoon Amusement Park. (In Utah) There is only one phone number listed, and the wording is "Phone Numbers: (800) 748-5246". I want to change the spelling to "Phone Number" to reflect the fact that there's only one #, until someone adds additional numbers. On the Editing Lagoon Amusement Park page, the line where I'm trying to change says this: | phone_numbers = (800) 748-5246. When I erase the letter "s", and then show a preview of my edit, the "Phone Number" line is completely missing. How do I properly fix this? Thanks. 98.202.38.225 (talk) 18:42, 26 March 2009 (UTC)[reply
]

I edited the infobox code to display "Phone number(s)" instead of "Phone numbers." It's impossible to tell if only one phone number is given with the limitations of wiki template syntax (namely the absence of string functions), so this is the best we can do. --Dudemanfellabra (talk) 19:48, 26 March 2009 (UTC)[reply]
Instead exactly what is wanted ? Peet Ern (talk) 08:49, 28 March 2009 (UTC) . . . . . . . . . . . > > > >[reply]
WikiProject Infoboxes/Archive 3
WikiProject Infoboxes/Archive 3

Substituted infoboxes

One of the daily reports at WikiProject Check Wikipedia lists articles that include parser functions and other template elements (#Template programming element).

Frequently these are substituted templates or templates "adapted" for a specific article. Sometimes the list includes simply instances where someone used {{{cite}}} instead of {{cite}}.

I converted some of the articles to infoboxes [1][2], but there still quite a few to do. -- User:Docu —Preceding unsigned comment added by Docu (talkcontribs) 10:25, 5 April 2009

Help me put an Infobox on the Anthropology page

This infobox is badly needed. Apparently, very few talented Wikipedians are also anthropologists, and we anthropologists are lame at using widgets. I will be patient in awaiting your help. There is one main problem that needs to be solved by an infobox and the top (and one other action I'd like it to perform). First, it needs to contain a list of "subfields in Anthropology" that have their own Wikiarticles. Right now, the reader is forced to wade through a lot of prose even to get what anthropology is, much less find links to more specific parts of it.

Second, I'd like there to be a section (in the same infobox) that can have changing content, but is basically saying, "You are a human being, you too can participate in doing anthropology..." and then give various quick suggestions on how to use Wikipedia itself (or Google or something) else as a research tool. "Try googling "anthropology" on Google Scholar and see what anthropology is about, right now." Would be an example. Or "Take a look at this list (link) of famous anthropologists and see for yourself how broad the field is." Something that, well, invites participant-observation, as part of an introduction to a field of inquiry that is all about observation and participation.

A very simple infobox would do. I can edit existing infoboxes, just don't know how to get a nice one, preferably with a picture like this: Aztec mask 050910 170205.jpg as an illustration.

HALP! Many thanks. —Preceding unsigned comment added by Levalley (talkcontribs) 19:29, 5 April 2009

I can help, but let's coordinate at Wikipedia talk:WikiProject Anthropology#Outline, Portal, and topic template. :) -- Quiddity (talk) 20:28, 5 April 2009 (UTC)[reply]

Problem with Fictional Character infobox templates

The generic Template:Infobox character has a "First appearance" section but a lot of the specialized templates such as Template:Star Trek character or Template:Star Wars character don't have any first appearance section. This is completely illogical, considering that Star Trek and Star Wars are such huge franchises that it can be difficult to know in which book, movie or episode a character first appeared in. Other specialized templates such as Template:Buffyverse character DO have a first appearance section.

Since it doesn't make any sense, I'm assuming it's some kind of mistake made a very long time ago that was somehow left uncorrected. I believe that every character that has their own article should have a first appearance section and I intend to change all character infobox templates to include a first appearance section. Does anyone object? 203.219.42.19 (talk) 11:02, 7 April 2009 (UTC)[reply]

Adding a First appearance section to the infobox of every popular fictional character who doesn't have one is a daunting task. I can't do it on my own. Will anyone help me? 203.219.42.79 (talk) 11:11, 8 April 2009 (UTC)[reply]

I changed the template for Star Trek character but nothing happens when I try changing the infoboxes. Why isn't it working? Observatorr (talk) 06:02, 9 April 2009 (UTC)[reply]

This editor edited only the template doc page, not the underlying code...and apparently doesn't understand that adding an infobox field involves adding more than just "First appearance=" to the code. --EEMIV (talk) 06:17, 9 April 2009 (UTC)[reply]
Okay, we've established that I don't know much about editing Wikipedia. So is there any way I can change the template? Observatorr (talk) 06:52, 9 April 2009 (UTC)[reply]

New Infobox

So, I made a new infobox,

Mikemoral ♪♫ 01:55, 21 April 2009 (UTC)[reply
]

Infobox versus geobox

Why is it that for settlements it seems the geobox is getting more attention and use and people think it is better? Why are there geoboxes in the first place and what is the difference between geoboxes and infoboxes? I'm a bit confused about when to use which and what the difference is and why there are the two names. Hopefully someone can come up with a solution for me.Camelbinky (talk) 15:39, 29 April 2009 (UTC)[reply]

A geobox is just a term for an infobox of an item with a fixed geographic location (building, mountain, city, country, etc). Afaik. -- Quiddity (talk) 04:45, 8 May 2009 (UTC)[reply]

Standardized infobox logos

(I debated whether to discuss this here, at

Jenny Craig, and Saturn Corporation. (It wasn't just a test; in each case, the logo was of higher quality than its predecessor.) Each logo is preserving a small amount of margin to ensure the logo is fairly represented, and the identical logo image sizes have the effect of standardizing the appearance of the infobox across each of the articles. (I think the standard dimensions should allow for almost any proportioned logo to be accurately represented, as well.) I may consider doing this for other articles, as well, but I wanted to get more feedback before jumping in head over heels.   user:j    (aka justen)   03:26, 8 May 2009 (UTC)[reply
]

If we want more whitespace around a company logo, we could simply add some CSS to the Company Infobox template, rather than edit every single company logo. Additionally, incorporating extraneous whitespace in the picture limits its use in other contexts than the Company Infobox templates. Company logos are not supposed to be "high quality" as many corporate logos (such as the Saturn logo), are not only trademarked but also copyrighted and thus we really should only have low resolution images of them on Wikipedia articles. You also weren't just adding "a small amount of margin" -- in the case of the Saturn logo, the whitespace comprised roughly 2/3 the size of the image. The image was so big that the infobox on the article's page needed to limit the image size, which causes the image to be dynamically resized when a person views the page, which would likely incorporate additional artifacts, something that you said that the new image would avoid. I think it's a great idea that you want to "set off/display" corporate logos better, but it's much easier to simply change the template than to change every image (and lowers the filesize of pages) and the focus of the article isn't on the logo in any case. Wikipedia is not a market for products, the logo is merely shown for informational/reference purposes, it shouldn't be the focus of the article and I don't think they need additional whitespace. Banaticus (talk) 06:52, 8 May 2009 (UTC)[reply]
I have started working on incorporating the idea via CSS. That said, the importance of "margin" when it comes to reproducing logos isn't exclusive to infoboxes. Logos don't tend to "illustrate" the way photographs do; a text-based logo smushed into the body of an article can be pretty awkward.
As to the Saturn logo specifically needing to be resized to fit into the infobox... As Wikipedia moves more and more to vector images, this will technically always be the case. In the case of rasterized images (the case here), in my opinion it's preferable to have images that can be scaled up if necessary without losing the integrity of the image... Having images that can be scaled makes it feasible for us to, for example, increase the sizes of infoboxes without having to reupload every logo out there.
Finally, you say: "Company logos are not supposed to be 'high quality.'" On the contrary, many companies take great exception when their logos are rendered in poor quality (hence the growing prevalence of vector logos here on Wikipedia and elsewhere, and you'll notice there hasn't been any corporate backlash).
In any event, back to what I believe is your core point, I can see reasons for having an image-based approach and a style sheet-based approach, and I'll work on the CSS shortly so that both can be considered.   user:j    (aka justen)   07:09, 8 May 2009 (UTC)[reply]
Yes, corporate logos are not supposed to be high quality -- there's a big text block right under the image that starts out with:

This is a logo of an organization, item, or event, and is protected by copyright and/or trademark. It is believed that the use of low-resolution images ... may qualify as fair use... (emphasis added in the original)

It is my personal belief that doubling the image then increasing it half as much again all to set if off from anything around it is also too much whitespace. The focus of a Wikipedia article should be the content, not a logo. We are not here to make a company look good or make a company happy, we're here to report on verified "truth", to put together an encylopedia. These logos are here for identification purposes only, to help a user recognize a given company, nothing more -- I don't believe they should be given additional prominence. Banaticus (talk) 07:33, 8 May 2009 (UTC)[reply]
I need to separate out that your two points, because they seem to be merging together and they have significantly different foundations. The first is that, in my opinion, protecting the integrity a logo is a critical point of fair use. Using reasonable margins or "set[ting] it off" in the infobox does not, in any way, jeopardize our fair use of the logo, and I believe it actually advances our justification. Your points of "mak[ing] a company happy" and being here "to report on verified 'truth'" are a bit out of left field and have nothing to do with my intentions or the results, so I'm not going to try to address them.
As to "resolution" and fair use, it has long been a point of contention on Wikipedia, especially since the much more widespread use of vector logos throughout the project make the "resolution" terminology moot. "Low resolution" is an interpretation of fair use common law, that is, quite obviously, dated at this point. What matters is how we render the image, and I think that's a widely held view here on the project. The point of all of this is to say, I can't figure out whether you are or are not arguing that any of the three logos in question here have in any way violated fair use. But in my opinion, they haven't, and this seems to be a bit of a ways of from my original request for discussion of standardizing logos and company infobox sizes.   user:j    (aka justen)   07:45, 8 May 2009 (UTC)[reply]
True, we do want to protect the logo, but giving it too much prominence starts leaning towards Wikipedia:Spam, in my opinion. The logo is just for easier visual identification of the company. By the way, I looked into the Infobox templates and you don't even need to add anything to the templates to add additional padding to the image. The {{Infobox Corporate}} template is based on the {{Infobox}} template which appears to have an unreferenced parameter, imagestyle, which allows you to set additional styling for an image in an infobox. I believe if you add the line:

imagestyle = padding:3em;

to a page like the Saturn article, it'll add 3em of padding to the image. I haven't tried it yet, but I'm fairly certain that it will work. Anyway, with other ways to set the image off from whatever's around it, we shouldn't add additional whitespace to the images themselves, as it makes the files needlessly larger and extra size purely for presentational uses doesn't make much sense. Making vector or raster images, resolution, whether or not the images are even fair use, I'm willing to let that all fall by the wayside for now. To sum up, 1) I don't think the extra whitespace is necessary. 2) Even if it is, it should be added as a style to the image, not as a change in the actual image. So, whatever else ends up happening, I don't think the images should have extra whitespace around them. :) Banaticus (talk) 08:32, 8 May 2009 (UTC)[reply]
Nice find with imagestyle padding. I'm still going to tinker with the CSS to try to create a standard "logo area" that has the same height and width regardless of the proportion of the logo. I don't think the infoboxes of any of the three articles I mentioned above go anywhere near
WP:ELNO policing to see my position on spam...) But a bit of standardization in the infobox company logo area was the goal here, so I'll play around with imagestyle padding and the infobox style in my userspace and see what I come up with.   user:j    (aka justen)   08:42, 8 May 2009 (UTC)[reply
]

Religion infobox?

Where is

Otterathome (talk) 13:50, 24 May 2009 (UTC)[reply
]

It would be at Category:Religion and belief infobox templates, if anyone could agree on what should be in one, or where it should be displayed (above or below the central navbox that each article probably has in that top-right location?!?). Coordinate with Wikipedia talk:WikiProject Religion, if you're thinking of creating one. -- Quiddity (talk) 18:18, 24 May 2009 (UTC)[reply]

Help with headers

Resolved

I have a quick question regarding headers.

In the infobox I have created, I have "sections" of information. What I would like to do is if one or more values are used, that the appropriate header would show up.

Here is the code now:

{{Infobox
| title      = {{{title|<includeonly>{{PAGENAME}}</includeonly>}}}
| labelstyle = white-space: nowrap
| image      = {{{image|}}}
| caption = {{{caption|}}}

|headerstyle  = background:#ccf;

|header1 = {{{GI|}}}
|label1  = 
|data1   = 
|label2  = Born
|data2   = {{{born|}}}
|label3  = Height
|data3   = {{{height|}}}

|header4 = {{{CC|}}}
|label4  = 
|data4   = 
|label5  = Record
|data5   = {{{college-record|}}}
|label6  = Weight-class
|data6   = {{{weight-class|}}}
|label7  = Weight-classes
|data7   = {{{weight-classes|}}}
|label8  = National Titles
|data8   = {{{nat-titles|}}}

|header9 = {{{HSC|}}}
|label9  = 
|data9   = 
|label10  = Record
|data10   = {{{hs-record|}}}
|label12  = Weight-class
|data12   = {{{hs-weight-class|}}}
|label13  = Weight-classes
|data13   = {{{hs-weight-classes|}}}
|label14  = Coach
|data14   = {{{hs-coach|}}}
|label15  = State Titles
|data15   = {{{state-titles|}}}

| below  =  {{{footnotes|}}}
}}

Basically header 9 needs to be defined when if any value in data10 through data15 are defined. Same for the other groups.

Thanks,

Calebrw (talk) 16:07, 10 June 2009 (UTC)[reply]

Note: here is the implementation code.

{{Wrestler Infobox
| GI  = General Information
| CC  = Collegiate Career
| HSC = High School Career
| image              = [[File:example.png|200px]]
| caption            = John Q. Wrestler
| footnotes          = <small>Last updated: April 3, 2009</small>
| born               = August 2, 1984
| height             = 6'1"
| college-record     = 12-9
| weight-class       = 157 lbs.
| weight-classes     = 
| nat-titles         = 1:<br/>2004
| hs-record          = 149-5
| hs-weight-class    = 
| hs-weight-classes  = 130 lbs: 2000<br/>125 lbs: 1996-1999
| hs-coach           = John P. Wrestler
| state-titles       = 4:<br/>125 lbs: 1997-1999<br/>130 lbs: 2000
}}

Calebrw (talk) 16:09, 10 June 2009 (UTC)[reply]

Well, this is just a quick guess, and I haven't tested it or anything, but you could see if using
| header9 = {{#if:{{{data10|}}}{{{data11|}}}{{{data12|}}}{{{data13|}}}{{{data14|}}}{{{data15|}}}|{{{HSC|}}}}}
for header9 would work. There may be a better way, but that looks to me like it would work.--Dudemanfellabra (talk) 16:30, 10 June 2009 (UTC)[reply]
Thanks, I'll take a look at this in a bit. I'll let you know how it works. Calebrw (talk) 00:01, 11 June 2009 (UTC)[reply]
After consulting #mediawiki on IRC, I came up with the following code that seems to work:
|header9 = {{#if:{{{hs-record|}}}{{{hs-weight-class|}}}{{{hs-weight-classes|}}}{{{hs-coach|}}}{{{state-titles|}}}|{{{HSC|}}}}}
Thanks to Roan Kattouw for the help. Calebrw (talk) 18:15, 11 June 2009 (UTC)[reply]
Ah crap yea I see what I did haha. Using a template within a template always confuses me haha. Same basic principle, but you had to use the VALUES of data10-15 instead of data10-15 themselves. Glad to see you have it worked out!--Dudemanfellabra (talk) 19:03, 11 June 2009 (UTC)[reply]
Not a problem. You got the first part done. Calebrw (talk) 22:10, 12 June 2009 (UTC)[reply]

Problem with Professional Wrestler Infobox

Can someone help me with the infoboxes in some of the professional wrestler articles, like

Jackie Haas, and Terri Runnels? They don't see to have a caption feature, and when I tried adding one, the captions don't show up under the photos. I also noticed, when changing the photo in Angelina Love, that there was a caption function in that infobox, but the caption there didn't show either. Any ideas? Nightscream (talk) 14:57, 14 June 2009 (UTC)[reply
]

Looks like the template was built with "img_capt" instead of "caption"... - J Greb (talk) 15:44, 14 June 2009 (UTC)[reply]
Thanks! Nightscream (talk) 15:48, 14 June 2009 (UTC)[reply]