Category talk:Infobox templates

Latest comment: 3 years ago by Durga Soren in topic Infobox football biography/doc
WikiProject iconTemplates
WikiProject iconThis category is within the scope of WikiProject Templates, a group dedicated to improving the maintenance of Wikipedia's templates. If you would like to participate, please visit the project page, where you can join the discussion and see a list of open tasks.
WikiProject iconInfoboxes
WikiProject iconThis category is within the scope of WikiProject Infoboxes, a collaborative effort to improve the coverage of Infoboxes on Wikipedia. If you would like to participate, please visit the project page, where you can join the discussion and see a list of open tasks.

Deletion edit

If anyone still feels that this category is unnecessary and should be deleted, please discuss here. Shawnc 18:33, 19 January 2006 (UTC)Reply

I vote that it should not be deleted, if there is a more suitable name for it that is fine, but the category contents have a lot of utility. Evolauxia 08:30, 26 February 2006 (UTC)Reply

What's the difference between this category and Wikipedia:Infobox_templates? Don't they basically serve the same purpose (and are equally disorganized)? 66.229.182.113 05:21, 15 June 2006 (UTC)Reply

How to change a template edit

I want to add another item to Template:Infobox programming language but the page dedicated to that template doesn't tell me how, and neither does this article. -Barry- 03:48, 29 April 2006 (UTC)Reply

Shown below are three lines from the current Template:Infobox programming language. I'll walk you through what they are doing:
}}{{#if:{{{year|}}}
 |<tr><th>Appeared in:</th><td>{{{year}}}</td></tr>
}}{{#if:{{{designer|}}}
  1. }}{{#if:{{{year|}}}
    The '}}' are actually the closing brackets from a previous function call. Anything enclosed in double brackets is a call to either a template or a 'magic word'. The '{{#if:' is the opening of a new call to a parser function 'magic word'... basically a feature which allows one of two different text strings to be displayed based on a condition. The '{{{year|}}}' is a parameter which serves as the condition for this case. Anything enclosed in three brackets is a parameter. The pipe ('|') character after 'year' indicates that if the parameter is not set then the text between the pipe and the closing brackets (in this case, nothing) should be used. Thus if the call to the template includes a "|year=<whatever>" this parameter will evaluate to "<whatever>" and otherwise it will be blank.
  2. |<tr><th>Appeared in:</th><td>{{{year}}}</td></tr>
    The pipe at the front indicates that we have reached the end of the condition. Anything between this pipe and the next (if there was another) is treated as the text to display if the condition is not blank. If there were another pipe then anything to the right of that would be the text to display if the condition WERE blank... in this case there is no such 'else' text and nothing will be printed if 'year' is blank. The '<tr><th>' are HTML table codes... 't' stands for table, 'r' for row, and 'h' for header, so 'tr' creates a new row and 'th' indicates that the row is a header... "Appeared in:" is the text to print in the header and '/th' indicates the end of the header. The 'td' indicates a data item, basically a column to the right of the header, which displays the contents of the 'year' parameter. The '/td' and '/tr' then indicate the end of the data item and the row.
  3. }}{{#if:{{{designer|}}}
    As above the '}}' close our '{{#if:' condition begun on the first line and then we start a new condition. The reason that the '}}' closing is put on a new line is to avoid extra line breaks. If the }} were placed at the end of line 2 then this would evaluate to headerAppeared in: data<whatever> <linebreak> or, if 'year' was blank to <nothing> <linebreak>. Thus five blank rows would evaluate to five linebreaks and there would be a big gap in the middle of the table. Moving the }} down to the next line puts the linebreak inside the #if: condition and thus hides it if the condition fails - preventing the excess linebreaks.
All a bit convoluted. The short form is to just copy and paste the first two lines where you want the new row to appear and then change 'Appeared in:' and both instances of 'year' to whatever you want to display. Much more detailed explanation of templates, parameters, magic words, and table markup is available at the links interspersed above. --CBDunkerson 10:56, 29 April 2006 (UTC)Reply

Linking edit

Is there a way to make all the articles with an infobox ling into a category just by having the infobox??--The Judge 12:04, 6 September 2006 (UTC)Reply

Yes, by adding the category to the infobox template. There are also ways to have categories in the infobox templates that aren't automatically passed to the including page. This is done via the <includeonly> and <noinclude> tags. For more information, see Help:Template#Noinclude and includeonly. --Elonka 16:44, 28 May 2007 (UTC)Reply

Infobox naming edit

I'm noticing a lot of very haphazard names for new infoboxes -- some have the word "infobox", other's don't, and this is starting to mess up things like automated peer review. Does anyone know of a project to try and make the names more consistent? --Elonka 16:46, 28 May 2007 (UTC)Reply

Padding edit

I have suggested adding vertical padding to Template:Infobox Person. Please comment at Template talk:Infobox Person, as this may later be extended to other infoboxes. Superm401 - Talk 05:55, 24 December 2007 (UTC)Reply

Regarding infoboxes for bowlers in the PBA edit

I'm assuming this would be the place for me to find out how I could create a template for professional bowlers. Can someone help guide me through the process? Kevindh71 (talk) 19:27, 17 February 2008 (UTC)Reply

Merge lists here edit

Please see main proposal at Wikipedia talk:WikiProject Infoboxes#Lists of infoboxes. Thanks. -- Quiddity (talk) 01:00, 16 June 2008 (UTC)Reply

Creating Infobox edit

I was in the process of creating an infobox, but I don't quite know to how or where to save it on the database? I was rather lost in this documentation and alignment part. http://en.wikipedia.org/wiki/Template:Start_infobox_page Can someone please help me? Lihaas (talk) 00:44, 14 July 2008 (UTC)Reply

Company Infobox edit

I am looking for company infobox. please help me in this. --SaqibChaudhry (talk) 05:21, 18 July 2008 (UTC)Reply

Why is Infobox Scientist not here edit

Just wondering, is the use of {{Infobox Scientist}} discouraged ? Power.corrupts (talk) 09:44, 3 September 2008 (UTC)Reply

It's listed in 2 subcategories: Category:Science and nature infobox templates and Category:People infobox templates. (All the templates in the root category need to be subcategorized at some point...) Hope that helps. -- Quiddity (talk) 18:25, 3 September 2008 (UTC)Reply
Sure does, thanks Power.corrupts (talk) 21:35, 3 September 2008 (UTC)Reply

Collapsible infobox edit

What's the easiest way to create a collapsible infobox? --Adoniscik(t, c) 05:37, 5 September 2008 (UTC)Reply

Technical questions are better asked at Wikipedia talk:WikiProject Infoboxes. This is just the category talkpage. When you do ask, it'd be a good idea to state where you want to use this code. -- Quiddity (talk) 21:29, 5 September 2008 (UTC)Reply

3 infoboxes causing template loop edit

The following 3 infoboxes cause a template loop, as I wrote on their respective talk pages. They are very much alike, so I am sure it is because of the same problem. Unfortunately, I do not understand these things, but I am sure you can find and fix the problem easily.

  1. {{NorthAmNative}}
  2. {{WikiProject intelligent design}}
  3. {{WPBiography}}

Debresser (talk) 20:58, 18 February 2009 (UTC)Reply

It turns out the problem is because of a redirect in the comments page. Since the biography project banner is designed to transclude the subpage, the redirect is causing a template loop (i.e. the entire talk page is being transcluded in the banner). You might want to change this. Debresser (talk) 22:08, 18 February 2009 (UTC)Reply

Generic names should refer to generic entities edit

I believe that in general generic names should only be used to refer to general entities. If an infobox is restricted to a narrow scope, then the name should indicate that. It is confusing when a name like Template:Infobox OS version is intended only for a restricted subset. It would be far clearer to use a name that indicates the restriction, e.g., Template:Infobox graphical OS version, leaving the generic name free should someone choose to write a template for it. Shmuel (Seymour J.) Metz Username:Chatul (talk) 09:15, 11 June 2010 (UTC)Reply

Request edit of "Subcategories" section edit

The "Subcategories" section needs to be realphabetized, but I can't edit it. The "P" is after "T" instead of being after "O."—Biosketch (talk) 13:50, 9 March 2011 (UTC)Reply

This is category is being discussed edit

Currently, this category is talked about at Infobox‎‎ templates#auto-categorization. -DePiep (talk) 22:30, 16 February 2018 (UTC)Reply

See above please. Headbomb {t · c · p · b} 12:44, 21 February 2018 (UTC)Reply

Infobox for collaborative artist group? edit

What info box should i use for a collaborative art group? Eg. DarkMatter, My Barbarian, Ant Farm (group). There are infoboxes for individual artists, and other specialized creative groups: Template:Infobox artist, Template:Infobox ballet company, Template:Infobox musical artist, Template:Infobox theatre group. If there isn't one, should one be created? --Theredproject (talk) 01:02, 21 March 2019 (UTC)Reply

Mergers edit

Dear Uanfala, here is a good place to start. You go through these categories. And then you post entries which may be considered for a merge, for the easier maintainance of infobox templates. The best of it all - you get carry this out exactly in the fashion that pleases you. Feel free to ping me when the work is done. PPEMES (talk) 23:05, 24 March 2020 (UTC)Reply

Infobox football biography/doc edit

How can use this template to show infobox in my home wiki @(sat:wikipedia.org) — Preceding unsigned comment added by Durga Soren (talkcontribs) 05:41, 29 July 2020 (UTC)Reply