Wikipedia talk:WikiProject Infoboxes/Archive 9

Archive 5 Archive 7 Archive 8 Archive 9 Archive 10 Archive 11

Creating a usable Visual Editor compatible template for importing open license text to Wikipedia

Hi all

I've been working on a process to make it easy for people to import open license text into Wikipedia, currently there are no clear instructions or clear mechanism for adding openly licensed text to Wikipedia articles. I have worked on improving a template to add openly licensed text, however the process is still fiddly and time consuming. There are a huge number of open license sources compatible with Wikipedia including:

  • Around 9000 open license journals.
  • Galleries, libraries, archives and museums who produce text under an open license.
  • Government text that is available under an open license.

So far I have written simple guidelines, planned out what the template should include and started a plan for a VE toolbar tool to make it even easier in the future, however I simply don't understand templates enough to add new fields to the template that show up in VE, I think it has something to do with VE not being able to do nested templates?

Please could someone add the following fields to Template:Open-source attribution (that will appear when you use VE?

  • Title
  • Author
  • Publisher
  • URL
  • License statement URL

Many thanks

--John Cummings (talk) 07:48, 30 June 2016 (UTC)

Left justified videos in infoboxes

Hi

Videos in infoboxes are formatted oddly, they are left justified rather than centred, I realise this is a fairly niche thing to do so it may have been missed before, Prusa i3 is an example.

Thanks

John Cummings (talk) 08:34, 29 June 2016 (UTC)

I'm afraid that's just an artefact of your OS/browser combination, John. It simply depends on how your setup deals with .webm mime types. On my normal desktop PC I get a nice draggable pop-up window with the video at 100%, but that's probably just a matter of luck. --RexxS (talk) 17:06, 30 June 2016 (UTC)
@RexxS:, ok thanks, I mean how the thumbnail of the video sits within the infobox rather than when you click on the video to play it. --John Cummings (talk) 17:30, 30 June 2016 (UTC)
OK, John, oddly, it's more visible in vector skin than monobook, but I can see it now. I've just amended Template:Infobox tool to centre the second image. Flush your cache and see if that works for you now. --RexxS (talk) 18:52, 30 June 2016 (UTC)
@RexxS:, yes this fixed it :) thanks --John Cummings (talk) 18:55, 30 June 2016 (UTC)
@RexxS:, also would you be able to look at the question below? Its way beyond me and I don't understand what I'm doing wrong, if I can do anything in return do let me know. --John Cummings (talk) 18:56, 30 June 2016 (UTC)

RfC on hidden comments

At Talk:Gustav Holst#RfC on removal of hidden comment, there is an RfC which may be within the scope of this WikiProject. Comments would be welcome. --RexxS (talk) 20:34, 30 July 2016 (UTC)

RfC notice

Please see related RfC at Wikipedia:Village pump (proposals)#RfC: Deprecate named coordinates-related infobox parameters. ―Mandruss  03:39, 12 August 2016 (UTC)

Help required

I want to create an infobox for "Mining disasters" along the lines of "Infobox rail accident". I know what an infobox is and I know what fields I want to include etc but I can't find out how to actually create it. Any suggestions? Tigerboy1966  17:58, 18 September 2016 (UTC)

Try using {{Infobox event}}. Andy Mabbett (Pigsonthewing); Talk to Andy; Andy's edits 18:23, 18 September 2016 (UTC)

Request for info box

Kindly add an info box for the page Islam in ancient Bangladesh. Rosepal8 (talk) 17:52, 5 December 2016 (UTC)

Not every article needs an infobox. I do not think we have one that would be suitable for that article. Or do you know of a similar article that carries an infobox? What information should it provide? Huon (talk) 20:03, 5 December 2016 (UTC)

Infoboxes – optional plural parameters – removing (s) from labels

Hi all, I've started a discussion at WP:VPR#Infoboxes – optional plural parameters – removing (s) from labels about the possibility of removing "(s)" from the end of labels, and would appreciate your thoughts there! ‑‑YodinT 20:30, 29 December 2016 (UTC)

Removal of an infobox field

There is talk about removing the "notable instruments" field from {{infobox musical artist}}. I would appreciate more consensus in the discussion here. Ten Pound Hammer(What did I screw up now?) 03:04, 22 January 2017 (UTC)

List of accolades received by

Is there any reason why none of the articles about List of accolades received by X (eg. List of accolades received by 127 Hours) don't have a proper infobox? Instead, they all use an adhoc table that's trying to replicate the functionality of an infobox. Should a proper templated infobox perhaps be made?

Renaming Category:WikiProject Infoboxes

I just want to alert this project that there is currently a proposal at CFD for renaming Category:WikiProject Infoboxes to Category:Wikipedia infoboxes [1]. Personally, I have opposed this, as this is obviously a maintenance category. I don't understand the rationale behind the proposal. ---Steve Quinn (talk)

2016–2017 South Korean protests

The article's infobox may need some cleanup at "2016–2017 South Korean protests". --George Ho (talk) 04:35, 21 February 2017 (UTC)

Infobox company template

Coming across the article EBSCO Information Services I assumed the ENORMOUS banner style picture lying on top of the introduction was the result of a pioor edit of some sortb or a crude marketing ply. However it looks as if it is the template itself (Infobox company) that is to blame. In addition to being full width (compared to normal half-width size) in this case in particular the picture at the head of the infobox contains absolutely nothing noteworthy! Can anything be done about this? LookingGlass (talk) 13:23, 26 February 2017 (UTC)

Resized. --Jules (Mrjulesd) 13:39, 26 February 2017 (UTC)

Infobox for technical standards

Is there an appropriate infobox for technical standards (e.g. BS 25999 or ISO 14001) to summarise information about the standard? I've had a look around and can't see anything appropriate, but I wanted to check before looking at creating a new infobox. — Sasuke Sarutobi (talk) 12:40, 31 March 2017 (UTC)

{{Infobox document}} looks half-decent and probably includes enough information to get started. I might suggest if you're missing parameters to request those on that talk page. --Izno (talk) 15:09, 31 March 2017 (UTC)

Relisted RfC at Wikipedia talk:WikiProject Songs

The ongoing merger discussion Wikipedia talk:WikiProject Songs#RfC: Should Infobox single and Infobox song be merged? is relisted. I invite you to comment on the proposal. --George Ho (talk) 06:56, 21 April 2017 (UTC)

Women's Equality Party

There is a discussion taking place here as to whether or not the Template:Infobox political party on the article Women's Equality Party should include the parameter - Affiliation = Nonpartisan as a "key fact" about the party. Comments welcomed. --The Vintage Feminist (talk) 10:18, 2 May 2017 (UTC)

Merger proceedings at Template talk:Infobox song

I began the discussion about beginning the merger of "Infobox song" and "Infobox singer" at Template talk:Infobox song#Beginning merger proceedings with "infobox single". --George Ho (talk) 18:17, 3 May 2017 (UTC)

Question about infobox syntax

Hello, I am designing an infobox and am having trouble figuring out how to get the syntax right. I am not using labels, only data fields.
1) One problem I am having is that I would like the list to appear in reverse order, i.e. the first data field appears at the bottom and the higher-numbered data fields appear at the top.
2) My second problem is how to make certain parameters required, similar to how when certain fields are left blank in Template:Citation, a warning is prompted.
If anyone is able to answer some or all of these questions, I would appreciate it. Ergo Sum 22:21, 8 July 2017 (UTC)

I figured this out. Ergo Sum 17:17, 13 July 2017 (UTC)

Template:Infobox journal

Could we get some help in converting this one to pull things from Wikidata? The discussion is taking place at Template talk:Infobox journal#Conversion to Wikidata. Thanks. Headbomb {t · c · p · b} 01:26, 17 August 2017 (UTC)

Template:Infobox Hindu temple

Need help in merger of {{Infobox Hindu temple}}. Thanks in advance. -- Pankaj Jain Capankajsmilyo (talk · contribs · count) 02:26, 23 August 2017 (UTC)

Infobox Christian leader

Hello! Could someone please change the formatting of Template:Infobox Christian leader (specifically |honorific-prefix= and |honorific-suffix=) so that its the same as those parameters are at Template:Infobox officeholder? The former are not as easy to read/clear as the latter ones are. At the moment, I think, they are bold and small when they should just be small. Thank you, Gaia Octavia Agrippa Talk 11:22, 23 August 2017 (UTC)

Infobox discussion

A relevant discussion has been initiated at Template talk: Infobox. You are invited to share your views. -- Pankaj Jain Capankajsmilyo (talk · contribs · count) 05:09, 26 August 2017 (UTC)

Infobox church

May I make a couple of suggestions for possible amendments to this template in relation to the status section, as follows:

  • heritage designation - I think it would help if the box allowed for more than one designation, as infobox historic site does. I think a great number of churches must encompass more than one designation. An example; St Mary's Priory Church, Monmouth is Grade II* listed, but so are its gates. However, I think it unlikely the gates will ever have their own article so I would like to record their separate designation in the infobox for the church. An example of what I mean can be seen at Trewyn House. Here, the infobox allows me to record the designations of the house, the walls, and the dovecote.
  • designation number - For the UK, and perhaps elsewhere, every listing has a unique designation number. Infobox historic site allows me to record this, as at Trewyn House. Unfortunately infobox church does not, although it does allow me to record the designation date. I think the inclusion of the unique designation number would help, particularly as identifying churches, which often have identical dedications, can be confusing.

I would be grateful if these suggestions could be considered. I have also posted this at the Infobox church Talkpage. Thanks and regards. KJP1 (talk) 20:36, 27 August 2017 (UTC)

Template:Infobox phrase

Need help creating an infobox for phrases like Namaste. Parameters would include "Origin/etymology", "Meaning", and "Coined by".--Prisencolin (talk) 01:25, 26 August 2017 (UTC)

@Prisencolin: I've made a basic infobox for you with an image and those three parameters. Have a look at what I've done and see if you can add more parameters. If you run into problems, ping me, or drop a note on my talk page. Cheers --RexxS (talk) 03:25, 26 August 2017 (UTC)
@RexxS: Sorry for the late reply but thanks so much!--Prisencolin (talk) 06:04, 3 September 2017 (UTC)

Template:Subnational Entity File

Auburn Hills Mobile Estates is trying to call an infobox called "Subnational Entity File". There has never been a template at this title, and no other page links to it. The only parameter of template:Infobox Settlement, which other articles about unincorporated places in California use, that matches is "name". Can someone who knows more about infoboxes than me take a look. Thanks, Thryduulf (talk) 14:46, 9 November 2017 (UTC)

But there was a template at Template:Subnational entity until it was redirected. See its page history. I'm guessing that the infobox originally intended when it was created in February was something similar to Template:Infobox U.S. county, but for a smaller or less well-defined entity. As El Yaqui is still editing, we could always ask him what he wanted. --RexxS (talk) 23:35, 9 November 2017 (UTC)

Discussion: Create a bot to regularly update transclusion count for each infobox template

I'm seeking consensus around whether or not it makes sense to create a bot to regularly update the transduction count for infobox templates. Right now that count has to be updated manually by an editor. Here's an example of a manual update. JustaZBguy (talk) 21:47, 29 November 2017 (UTC)

Edit-warring over infobox: newspaper vs. website

A user is edit-warring in an article about a news website trying to put Infobox newspaper instead of website. See: Talk:The Times of Israel#RfC on infobox. --Triggerhippie4 (talk) 22:27, 1 January 2018 (UTC)

To correct the record, the long-standing version of the article used the newspaper template and described the Times of Israel as an "online newspaper". I reverted back to the previous version, after Triggerhippie4 made the change. The Times of Israel self describes as an "online newspaper" not as a "news website" [2]. It has reporters who generate produce content, rather than relying on news aggregation or exclusively opinion pieces. OtterAM (talk) 01:07, 2 January 2018 (UTC)

RfC on Infobox Italian comune

I am proposing a change to Template:Infobox Italian comune, which would make the province parameter, which currently displays the label "Province/Metropolitan city", a binary option. Instead, there would be the mutually exclusive parameters province and metropolitan_city, which would display their respective labels. You can comment on the proposal at Template talk:Infobox Italian comune#Proposed aesthetic change. Ergo Sum 23:07, 6 January 2018 (UTC)

Help making infobox embeddable

I am working on Template:Ordination/sandbox to try to make it embeddable. The current sandbox code allows all of the template to be displayed correctly when embedded except for the abovestyle and above parts. It is supposed to display a colored title bar (depending on religion) with "Ordination history" in it, but now this does not display at all. Additionally, there seems to be an issue with calling info from Wikidata when embeeded, e.g. using the QID parameter does not call information from Wikidata. Any help with this would be very much appreciated. Ergo Sum

At the risk of teaching grandma to suck eggs, (and it wouldn't show in the edit history if you had tried this) have you tried making the changes to Template:Ordination and without saving trying the "Preview page with this template" with an affected page, at the bottom of the edit page? Cabayi (talk) 13:17, 7 January 2018 (UTC)
@Cabayi: Thanks for the suggestion. I hadn't tried it in the mainspace, but I did now and the same thing happens. However, I tried using Template:Ordination/sandbox, not the template itself. Do you think that would make a difference? Any other thoughts? Ergo Sum 00:07, 8 January 2018 (UTC)

I've figured out how to make the template embeddable by converting the above and abovestyle parts into data. Ergo Sum 06:14, 8 January 2018 (UTC)

Nomination for merging of Template:Infobox frazione

 Template:Infobox frazione has been nominated for merging with Template:Infobox Italian comune. You are invited to comment on the discussion at the template's entry on the Templates for discussion page. Thank you. Ergo Sum 19:56, 12 January 2018 (UTC)

RfC on Infobox hospital template

I have proposed the addition of a new parameter to Template:Infobox hospital. The proposal can be found at Template talk:Infobox hospital#Proposed religion parameter. Any comments or suggestions would be appreciated. Ergo Sum 23:10, 15 January 2018 (UTC)

RfC on Infobox frazione

I have proposed a rather substantial edit at Template talk:Infobox frazione#Proposed edit. Any comments on it would be appreciated. Ergo Sum 06:04, 21 January 2018 (UTC)

RfC on ISTAT code in comuni infoboxes

I have proposed the creation of a parameter called istat for {{Infobox Italian comune}}. Many municipalities in e.g. the United States have some form of identifier code in their infoboxes. Likewise, on the Italian wikipedia, the infoboxes for comuni contain ISTAT codes, since this is an important number to have. Creating this parameter would basically be a shortcut for editors instead of using a cumbersome workaround based on {{Infobox settlement}} (for which Infobox Italian comune is a wrapper). The proposal is found at Template talk:Infobox Italian comune#Proposed addition of parameter. Comments are appreciated. Ergo Sum 03:15, 6 February 2018 (UTC)

RFC on categorization

See Wikipedia:Village pump (proposals)#RFC: Autopopulate Category:Infobox templates when we can. Headbomb {t · c · p · b} 12:46, 21 February 2018 (UTC)

Infobox how to

How to start an infobox? -Inowen (talk) 06:35, 25 March 2018 (UTC)

Wikipedia:Wikidata/2018 Infobox RfC

An RfC on the use of Wikidata in infoboxes has just started. Please !vote and/or comment on the RfC page. Thanks. Mike Peel (talk) 20:51, 6 April 2018 (UTC)

Invitation

A relevant discussion for converting {{Infobox writer}} into a wrapper of this template has been initiated at Template talk:Infobox writer#convert_to_wrapper. Your comments will be appreciated. Capankajsmilyo (talk) 21:45, 7 April 2018 (UTC)

Life peerages & infoboxes

Please do come along and discuss at: Wikipedia talk:WikiProject Politics of the United Kingdom#Life peerages & infoboxes DBD 18:51, 13 April 2018 (UTC)

IBASSIST

A subpage WP:IBASSIST has been initiated.User:Capankajsmilyo(Talk | Infobox assistance) 07:50, 16 April 2018 (UTC)

Choice of infobox on articles about constituencies

  FYI
 – Pointer to relevant discussion elsewhere.

Please see this discussion and follow-up RfC concerning the relative merits of {{infobox constituency}} and {{infobox settlement}}. --Redrose64 🌹 (talk) 07:17, 4 July 2018 (UTC)

ArbCom wants the community to come up with infobox inclusion criteria

  FYI
 – Pointer to relevant discussion elsewhere.

Please see: Wikipedia talk:Manual of Style/Infoboxes § ArbCom wants there to be an RfC and the drafting of infobox inclusion criteria

Short version: In two RFARBs, the Arbitration Committee has said that it can/won't resolve the perpetual "infobox warring" problem, because this is a content and policy decision that the community has to make. We've been asked repeatedly by ArbCom to develop inclusion criteria for infoboxes so that "The use of infoboxes is neither required nor prohibited for any article" does more than resolve (or devolve) to "fight about it endlessly article by article and category by category". But this has yet to happen, and it won't be easy.

The discussion now open isn't an RfC for !voting, but a place to discuss drafting such criteria for eventual RfCing at Village Pump. — Preceding unsigned comment added by SMcCandlish (talkcontribs) 02:32, 9 July 2018 (UTC)

Infobox usage question

There is a discussion at the Village Pump regarding the use of (blank) infoboxes in articles. Please join in the discussion here. Thank you. Primefac (talk) 16:12, 14 August 2018 (UTC)

Have I implemented this correctly?

I am proposing a significant edit at Template talk:Infobox U.S. federal court#Major simplification of template and, among other things, would like to add alt text parameters. I have added them to the template sandbox, but would like to make sure I have done it correctly. Could someone check to make sure I implemented the alt text parameter correctly? Ergo Sum 21:17, 25 September 2018 (UTC)

@Ergo Sum: I just made a tiny tweak and the image syntax now looks right to me, although it's preferable to allow an |upright= parameter with a default of 1. Have a look at the image line of Template:Infobox person for an exemplar. The only query about logic is whether you intended that setting the |alt= parameter would give the alt text for both images. If so, then I'd suggest you consider using |alt={{{seal_alt|{{{alt|}}}}}} and |alt={{{map_alt|{{{alt|}}}}}} because that allows the individual |seal_alt= and |map_alt= parameters to override the common |alt= parameter, when they are supplied. HTH. --RexxS (talk) 23:13, 25 September 2018 (UTC)

Infobox wrappers

Could someone explain to me how a "Wrapper" infobox should be written? My coding knowledge is in Java where if you inherit from class, you don't write those fields again in the new one (unless to override). Viewing some templates here it seems they do it differently.

As an example: Template:Infobox Futurama episode extends Template:Infobox television episode (I think), but apart from 2 unique params to that template, all other params in the code also appear in the parent one. Is this how this should work? Is there a way for the extended template to only add the unique ones it needs? The only reason this concerns me know is that I have conflicts between param names that the Futurama one for some reason decided to call by a slightly different name (episode vs episode_no as an example). --Gonnym (talk) 16:28, 3 October 2018 (UTC)

Looking at the examples of {{Infobox television episode}} and {{Infobox Futurama episode}}, it looks like the Futurama infobox essentially is a simple instance of the television infobox, and basically just passes its parameters up to the parent. I can understand not writing the same parameters again in the "child" infobox (as in this case, there is an degree of fragility from the prospect of parameters being renamed in the television infobox breaking the Futurama infobox). Unless anyone can say differently, then it may be worth experimenting with the Futurama example to see if some identically-named parameters can be dropped without changing the behaviour of the infobox (especially since a lot of its parameters seem to have been there a long time, so may work differently now).
As an aside, the use of Lua Modules may also bear some fruit for this if dropping tautological parameters doesn't work, as I've seen it frequently implemented for some "wrapping behaviours" in some biographical infoboxes (e.g. {{Infobox military person}} can be nested inside {{Infobox person}} to provide a section on military career), but that seems to also rely on parameters being set up in the parent infobox to allow extension, as well as both infoboxes needing to be used. — Sasuke Sarutobi (push to talk) 17:45, 3 October 2018 (UTC)
@Gonnym and Sasuke Sarutobi: They cannot be dropped unless it is intended that the dropped parameters should be undisplayed or otherwise ignored. It is a general feature of the MediaWiki template parser that when one template (any template, not necessarily an infobox) transcludes another (again, not necessarily an infobox), the "inner" of the two templates can only see the parameters that were explicitly passed into it, and cannot see any of the parameters that were passed to the "outer" template - unless those were passed through. As an example, {{Infobox television episode}} has a parameter |runtime=, but since {{Infobox Futurama episode}} does not contain any code for this parameter, any attempt to use it - e.g. by adding the parameter |runtime=22 minutes to the infobox of "Space Pilot 3000" - will be ignored.
It should be understood that almost all infobox templates (with the exception of {{infobox}} itself and one or two others) are themselves wrappers. So {{Infobox Futurama episode}} is a wrapper for {{Infobox television episode}}, and {{Infobox television episode}} is itself a wrapper for {{Infobox}}. --Redrose64 🌹 (talk) 20:31, 3 October 2018 (UTC)
(edit conflict) @Gonnym: as you know, when you extend a class in Java, the resulting class automatically inherits all of the properties and methods of the original and you only have to write code for those that you wish to override. there is nothing that automatically does the same job with Wikimedia templates.
A "fundamental" infobox template can be created by building upon the {{infobox}} template. That's how Template:Infobox television episode is constructed. Most of its parameters are defined in the label/data pairs and that determines the order in which they are displayed. To add another parameter to Template:Infobox television episode, we could add a new label/data pair (for example label15/data15 could be inserted between the existing label11/data11 and label18/data18, or the pairs can be freely renumbered if space to insert is needed).
However, once we have "fundamental" infobox template, we can use it as the basis of another infobox template that uses a sub-set of its parameters, as is done with Template:Infobox Futurama episode. It simply passes the parameters we want to {{Infobox television episode}}, and we may then call it a "wrapper". We can give those parameters different names in the derived template, but note that we can't add any new parameters that don't have an existing parameter in the base template.
Parameter name issues can often be circumvented by using aliases for parameters. Taking your example, in Template:Infobox Futurama episode, we have a parameter |episode_no=, but we could decide that episode should be used as an alias for episode_no. We might write this in Template:Infobox Futurama episode:
  • | episode = {{{episode_no|episode|}}}
That means that the "episode" parameter passed to {{Infobox television episode}} is given by a parameter called "episode_no", or if that is not present, it is given by a parameter called "episode", or if that is not present, nothing.
That kind of aliasing allows us to use alternate parameter names to get the same displayed result. I'm not sure what you mean by "I have conflicts between param names that the Futurama one for some reason decided to call by a slightly different name (episode vs episode_no as an example)" as I don't know whatconflicts you get, but it may be that creating aliases may help resolve them. Templates have sandboxes that you can use to experiment in, so there's no harm in testing. Feel free to ping me if you encounter problems. --RexxS (talk) 20:59, 3 October 2018 (UTC)
Thanks for the detailed response! What I meant is that, in Template:Infobox television episode, the episode param is "episode", while in the Futurama template it's "episode_no" and I couldn't see in the code where it exactly passes that info to the episode one. Looking at Template:Infobox military person#Embedding, wouldn't this style be better to handle "extensions"? In creating "Wrapper" templates like the Futurama one, we need to keep maintenance on the same piece of code, but if it was just an extension, only those few additions would need to be added. The other option is making a super template, but then that one has a lot of very specific params that aren't needed for most pages and creates a headache to read to the code. Just wondering out loud if this is the best option we have... --Gonnym (talk) 21:37, 3 October 2018 (UTC)
@Gonnym: In Template:Infobox Futurama episode, the episode_no parameter is passed to episode in line 7. The code I gave above could be used to modify that line to accept either |episode_no= or |episode=.
It is possible to adapt templates to accept other templates embedded within them as you say. However, that creates additional complexity for editors to use that scheme in an article, so discourages its use. Similarly, making a super template (perhaps like {{infobox person}} has become) makes the code harder to maintain, as you correctly assume. Most of the time, we have to strike a balance between template maintainability and editor convenience in a given article.
As for the "best option", much will depend on what sort of best we're looking for. The fastest, most flexible code is generated by using a Lua module, but we have far more editors capable of editing templates using parser syntax than we have editors capable of (or comfortable with) editing Lua modules. On a collaborative project like ours, we are best served by using the tools that the largest number of editors can also use. That, in a nutshell, is why we do things the way we do at present. --RexxS (talk) 22:04, 3 October 2018 (UTC)
Do you happen to have an example of an infobox created as a lua module? Would be interested in seeing how that works. --Gonnym (talk) 22:08, 3 October 2018 (UTC)
The base template {{infobox}} is now completely implemented in Lua as Module:Infobox. On the French Wikipedia, fr:Module:Infobox/Biographie implements a basic biographical infobox, which is also able to draw its data from Wikidata. The Catalan Wikipedia implements many of its infoboxes in the same way. --RexxS (talk) 22:28, 3 October 2018 (UTC)

I've dived a little bit more into this and am not sure having these as separate infoboxes is the correct way. I've started a disucssion over at Template_talk:Infobox_television_episode#Merging_of_episode_infoboxes to get input from other editors on this, but basicaly my findings are this:

Wrapper functions - if we look at the Template:Infobox Futurama episode example, there are several big issues with it.

  • It does not have all the fields which Template:Infobox television episode has. Such as an "alt" or "image_size", no writing credit other than "writer" (The Problem with Popplers needs this) and others.
  • It does not have feature fixes that have been added to Infobox television episode. AlexTheWhovian changed the code at Infobox television episode in 2017 that placed pages into Category:Pages using infobox television episode with incorrectly formatted episode list, but since the Futurama code is hard-coded, and wasn't fixed, all episodes, current and future, will always be placed there.
  • It tried adding two new fields and just throw them at the end of the "airdate" line as whoever did it, couldn't find out how to create a proper new line.

Separate infoboxes - if we look at Template:Infobox Simpsons episode example, it has its own issues.

  • It does not have all fields which Infobox television episode has. Such as "multi_episodes" (The Great Phatsby would have used it) and similar to the previous example, this too only has only "writer" credit (Left Behind (The Simpsons) needs this).
  • It does not have any feature update. So as an example, the code I just added for a short description to Infobox television episode would not be added to any Simpsons episodes.

For these two templates, the really only difference is that each added 2 unique fields and small styling. So, is keeping them separate really the best option? --Gonnym (talk) 22:20, 9 October 2018 (UTC)

Querying general parameter usage and particular values

I'm not fluent in coding, so easy tips or tools preferred. Say I want to determine how many times an infobox parameter is used, regardless of what's in it (e.g. how many uses of {{Infobox scientist}} have any value in the parameter|spouse =). How could i find this out? Secondly, how could I find out how many times a particular value is used in a parameter, e.g. how many usages of {{Infobox baseball biography}} have |bats = left?, and furthermore, how could I easily view or list all such left-handed batters? Thanks, --Animalparty! (talk) 19:36, 28 December 2018 (UTC)

@Animalparty: One way is to go to the search page, Special:Search, write hastemplate:"infobox scientist" in the search box and set "(Article)" as the namespace to search in. That search should give you around 30,000 results.
Then change it to search for hastemplate:"Infobox scientist" insource:/spouse[ ]*=[ ]*[\{\[a-zA-Z]/ - that will give you around 3,200 results where the spouse field has a value starting with a template (like {{marriage}}), or a linked value or something beginning with a letter. I might have missed some possibilities, but that will get most of them for you.
The search hastemplate:"Infobox baseball biography" insource:/bats[ ]*=[ ]*left/ should provide you with the 19 articles that match your query for usages of {{Infobox baseball biography}} which have |bats = left. Those include Jim Bivin who apparently bats "lefty". Hope that helps. --RexxS (talk) 21:49, 28 December 2018 (UTC)
@RexxS: Thanks! That's very helpful. --Animalparty! (talk) 22:24, 28 December 2018 (UTC)
Also try this tool which lists parameters used by a template. Johnuniq (talk) 22:40, 28 December 2018 (UTC)
A few notes on the above, some articles use a redirect version of the template, so those won't appear in the search result (you will need to do another search for those). Also, as I've sadly discovered recently, the tool Johnuniq posted does not show results if there are more than 50 unique ones. Another option you have is creating tracking categories inside the infobox which will add the articles that fit your criteria to a category.--Gonnym (talk) 23:21, 28 December 2018 (UTC)
The documentation at H:HASTEMP suggests that you're not quite right: "This finds pages that use the specified template. Input the canonical page name to find all usage of the template, but use any of its redirect page names finds just that naming. Namespace aliases are accepted, capitalization is entirely ignored, and redirects are found, all in one name-search." HTH --RexxS (talk) 01:01, 29 December 2018 (UTC)
Indeed, Gonnym is not correct regarding search. --Izno (talk) 14:32, 29 December 2018 (UTC)

Listing multiple entries in a single field

This topic has been brought up in a previous (archived) discussion. It's also been brought up in an also-archived discussion for Infobox Songs. It may have been brought up in other infoboxes' talk pages, I'm not sure. There's been 3 options mentioned on how to list multiple entries (commas, middots and < br >), but no universal consensus agreed upon across all infoboxes. Songs' talk page has an example, which specifies middot usage for the songwriter field, and no other field. But this usage is fairly recent, and many articles still use commas. Can agreement be made, and a bot be created (to make changes in all infoboxes AND articles)? Ivansevil (talk) 03:49, 18 January 2019 (UTC)

  • <br> should not be used ber MOS:NOBR. Otherwise, I think there is no problem with differences across infoboxes as long as Wikipedia:Manual_of_Style/Accessibility#Lists is followed.—Bagumba (talk) 05:58, 18 January 2019 (UTC)
  • As Bagumba said, the MoS does not support the use of the br tags. Not sure what the "middots" are. Regarding the commas, I personally dislike them as if the text is long, or there are multiple values, the list just becomes visually unpleasant. Following MOS:PLIST and using one of those templates produces a good result. --Gonnym (talk) 08:06, 18 January 2019 (UTC)
    The "middots" were probably referring to the bullets in between items of a horizontal list.—Bagumba (talk) 08:14, 18 January 2019 (UTC)
    A middot is, strictly speaking, the interpunct character, which displays as "·" (barely visible in some fonts). We have the {{middot}} template which takes that character, boldfaces it, precedes it with a non-breaking space and follows it with a normal space. --Redrose64 🌹 (talk) 16:47, 18 January 2019 (UTC)
  • I use two options, {{plainlist}}, usually, or {{hlist}} if I want (short) items just appear separated, not in a new line. Also: you could still use "br /" in the brackets, just not "br" alone, but the templates are better. --Gerda Arendt (talk) 08:24, 18 January 2019 (UTC)
  • For accessibility reasons, lists should be marked up as lists. There are several templates available for use in infoboxes where the usual bullets would not be desirable - perhaps because of space concerns. These templates include {{cslist}}, {{flatlist}}, {{hlist}}, {{plainlist}} and {{ubl}}. Regarding {{cslist}}, this is quite new: see Wikipedia talk:Manual of Style/Lists#Horizontal lists. --Redrose64 🌹 (talk) 16:47, 18 January 2019 (UTC)

Astronaut Groups

I wanted to create a new infobox for Astronaut Groups, like Mercury Seven. Just a simple box with picture, year and number selected, and a next/last down the bottom. It seems to be harder than I thought. Could someone assist me? Hawkeye7 (discuss) 21:40, 12 February 2019 (UTC)

Is User:Hawkeye7/Template:Astronaut group your proposed infobox template? --Redrose64 🌹 (talk) 23:01, 12 February 2019 (UTC)
That was me starting on it. I couldn't get it to work. Hawkeye7 (discuss) 23:14, 12 February 2019 (UTC)
The thing to do is to find an existing infobox that already does most of what you want, and copy bits from it. --Redrose64 🌹 (talk) 23:24, 12 February 2019 (UTC)
@Hawkeye7: Make a list of all of the fields that you might want to display and put them in the order you want. Perhaps make the list at User talk:Hawkeye7/Template:Astronaut group, and I'll take you through the steps to make an infobox with those fields. --RexxS (talk) 01:17, 13 February 2019 (UTC)
Will do! Hawkeye7 (discuss) 01:38, 13 February 2019 (UTC)
Okay, I had another go at it, and this is what I came up with. Hawkeye7 (discuss) 20:06, 13 February 2019 (UTC)
That's good. I made a starter for you at User talk:Hawkeye7/Template:Astronaut group, but you clearly don't need that now. Cheers --RexxS (talk) 21:52, 13 February 2019 (UTC)
Thankyou for your help. Much appreciated. Hawkeye7 (discuss) 02:04, 14 February 2019 (UTC)

TfD for Infobox mathematical statement

 Template:Infobox mathematical statement has been nominated for deletion. You are invited to comment on the discussion at the template's entry on the Templates for discussion page. — MarkH21 (talk) 07:11, 24 February 2019 (UTC)

Request for comment at Template talk:Infobox royalty#Reign – proposed solution to wrapping issue

A proposal has been made a while back at Template talk:Infobox royalty#Reign to center-align the "reign" data parameter as it frequently tends to cause unwanted wrapping issues. Comments are most welcome. Jay D. Easy (talk) 00:31, 28 February 2019 (UTC)

Notice of RfC on infobox inclusion at Fermat's Last Theorem

Apologies for bringing up an old issue. Just posting a notice that an official RfC has been posted for the FLT infobox debate: Talk:Fermat's Last Theorem#Request for comment (RfC) on inclusion of Infobox mathematical statement. Hopefully this can lead to the debate being effectively and peacefully closed in either direction. — MarkH21 (talk) 07:34, 19 March 2019 (UTC)

Please see discussion

Template_talk:Infobox_country#Metro_area_parameter. Interstellarity (talk) 17:16, 12 May 2019 (UTC)

Wikidata external IDs in Wikipedia

Dear Project Members,

I proposed a new template which integrates Wikidata external IDs in Wikipedia to channel in reliable sources as further readings - please weigh in on the idea if you have the time: https://en.wikipedia.org/wiki/Wikipedia:Village_pump_(proposals)?fbclid=IwAR1jjICvpWSSSqYwzT9IsSjMJxfZ7-vLoGjE2U4BB_zPVTg8EJSQ0qylqHQ#A_new_use_for_Wikidata_external_IDs_in_Wikipedia_(template)

Best, Adam Harangozó (talk) 17:13, 9 June 2019 (UTC)

Updated infobox, need help please

Greetings, At infobox Infobox Wikipedia WikiProject I added "quality-log" parameter. For WikiProject Economics wondering why "quality-log" is not there? I did do "Purge" numerous times both on template & WP. I must be missing something, so asking for expert help here. Regards, JoeHebda (talk) 13:02, 27 September 2019 (UTC)

I would like to create a new infobox

I would like to create a new infobox. Something similar to Infobox NRHP, but slightly different parameters. There are many important historic homes in the U.S. (and abroad) that are not on the list of National Historic landmarks. I was hoping I could find someone who is experienced in Infobox coding and I could provide details. Please let me know if you are interested. thx MauraWen (talk) 18:24, 30 September 2019 (UTC)

Missing infobox parameters

The folks that work on Amazon Alexa (which relies heavily on Wikipedia) have sent us some data on missing infobox parameters. Specifically, which prominent parameters are missing from high traffic articles. I've posted the list at Wikipedia:WikiProject Infoboxes/Missing parameters. Ryan Kaldari (WMF) (talk) 23:32, 7 October 2019 (UTC)

@Ryan Kaldari (WMF): Where are they getting the parameters from? Consider these entries:
Page Infobox type 30 day pageviews 7 day pageviews Parameter Parameter score Weighted pageviews Total score Resolved
Reputation (Taylor Swift album)  album 152562 19968 This album 0.098680797 119069.5714 11749.88021
Reputation (Taylor Swift album)  album 152562 19968 Recorded 0.088758986 119069.5714 10568.49442
Reputation (Taylor Swift album)  album 152562 19968 Next album 0.086980286 119069.5714 10356.70538
Reputation (Taylor Swift album)  album 152562 19968 Last album 0.0855073 119069.5714 10181.31757
But none of these four are valid parameters; they should be |this_album=; |recorded=; |next_title= and |prev_title= respectively. --Redrose64 🌹 (talk) 10:21, 8 October 2019 (UTC)
They are probably just using the user-friendly parameter names from Template:Infobox_album#TemplateData.—Bagumba (talk) 11:19, 8 October 2019 (UTC)
But they're not valid. If I were to use
{{Infobox album
| This album   = Reputation
| Last album   = [[1989 (Taylor Swift album)|1989]]
| Next album   = [[Taylor Swift's Reputation Stadium Tour#Reputation Stadium Tour Surprise Song Playlist|Reputation Stadium Tour Surprise Song Playlist]]
}}
the result is
Untitled
and when previewing, it also shows three error messages:
Warning: Page using Template:Infobox album with unknown parameter "This album" (this message is shown only in preview).
Warning: Page using Template:Infobox album with unknown parameter "Last album" (this message is shown only in preview).
Warning: Page using Template:Infobox album with unknown parameter "Next album" (this message is shown only in preview).
I suggest that we reject the request from Amazon Alexa until they can promise not to send us on wild goose chases. --Redrose64 🌹 (talk) 11:52, 8 October 2019 (UTC)
"Last album" does not appear in Template:Infobox_album#TemplateData, so it can't be from there. -- WOSlinker (talk) 12:01, 8 October 2019 (UTC)

Why is Amazon getting this information from en.wiki, and not Wikidata? Why can't Amazon employees just add it themselves? I'm aware that working on infoboxes essentially means I'm working for free for Google/Amazon/etc, but I'm not sure that our standards on COI/paid editing would prohibit Amazon employees from adding data to infoboxes. Plantdrew (talk) 15:34, 8 October 2019 (UTC)

Your feedback is requested at Infobox official post

Hello, your feedback would be appreciated at a discussion concerning the meaning of certain Infobox params; please see Template talk:Infobox official post#Params Inaugural vs. First. Thanks, Mathglot (talk) 20:43, 21 November 2019 (UTC)

Logo red lines

I'm puzzled by the behaviour of {{infobox organization}} at TrowelBlazers. I included a logo but don't understand why it is shown in a frame of red lines rather than blending with the background. How do we make the red lines go away? I have the impression that they might be trying to signal that there's an issue but it's not clear what that is. Andrew D. (talk) 10:44, 22 November 2019 (UTC)

I'm using Chrome and I don't see the red lines you speak of. --Gonnym (talk) 11:57, 22 November 2019 (UTC)
  • Aha. I find that I don't see them either when I log out and so it must be an effect of some gadget or custom script. I shall review my preferences. Thanks for the assist. 81.97.16.4 (talk) 12:18, 22 November 2019 (UTC)

Discussion on hidden screenshots in {{Infobox website}}

A discussion on hiding non-free works in infoboxes such as {{Infobox website}} is taking place at Template talk:Infobox website. You're welcome to share your thoughts on the matter! – PhilipTerryGraham (talk · articles · reviews) 13:14, 30 November 2019 (UTC)

School Shields

Dear Infoboxers, I recently left this request on the talk page of school. I'd love for any of the members here to weigh in. Thanks - Chip🐺#TeamTrees🌳 01:18, 14 December 2019 (UTC)

Created a law enforcement unit infobox

Hello, I created a infobox for a law enforcement unit User:Melbguy05/Infobox law enforcement unit/doc. Law enforcement units are currently using either Template:Infobox military unit or Template:Infobox law enforcement agency. This is the first time I have created an infobox. Help:Designing infoboxes states "Once the infobox prototype has been tested, it is ready for peer review and deployment." but with no details. What is my step? thanks--Melbguy05 (talk) 15:02, 20 December 2019 (UTC)

Discussion at Template talk:Infobox organization#More parameters

  You are invited to join the discussion at Template talk:Infobox organization#More parameters. Italawar (talk) 04:18, 4 January 2020 (UTC)

Time zone formatting in geography infoboxes could do with standardising

Currently the situation is a bit all over the place, here's typical use I found (though it varies article to article also):

{{Infobox country}}

UTC| utc_offset = {{sp}}eg United Kingdom, Portugal
UTC+1| utc_offset = +1eg France, Belgium

{{Infobox settlement}}

UTC| utc_offset = ±00:00{{!}}UTCeg London, Lisbon
UTC+1| utc_offset = +1eg Paris, Brussels

{{Infobox islands}}

UTC| utc_offset = ±00:00{{!}}UTCeg Ireland
UTC+1| utc_offset = +1eg Jan Mayen

{{Infobox dependency}}

UTC±00:00| utc_offset = ±00:00eg Faroe Islands
UTC+01:00| utc_offset = +01:00eg Gibraltar

We could also have a meta template that would do formatting for all these infobox templates and allow for input processing such as:

| utc_offset = none resulting in [​[UTC±00:00|UTC]] (UTC) or [​[UTC±00:00]] (UTC±00:00)
| utc_offset = +1 resulting in [​[UTC+01:00|UTC+1]] (UTC+1) or [​[UTC+01:00]] (UTC+01:00)

Rob984 (talk) 22:41, 15 January 2020 (UTC)

More input needed at RfC on infobox birthplace/nationality/citizenship

  FYI
 – Pointer to relevant discussion elsewhere.

Please see Wikipedia talk:Manual of Style/Infoboxes#RfC on birthplace, nationality, and citizenship parameters with matching values.

This RfC has been running for a while but input has dropped off, and right now it's about an even split between the guidelines a) saying nothing at all about the matter, or b) saying to avoid putting the same country in two or three infobox parameters (the other options in the RfC have attracted nearly no support). It's not going to be a useful outcome (just another RfC again some time later) if this closes with "no consensus", so this tie needs to be broken – with good reasoning, not with WP:JUSTAVOTE of course.  — SMcCandlish ¢ 😼  03:48, 30 January 2020 (UTC)

Infobox Up Helly Aa

I've been planning to improve the coverage of the Up Helly Aa fire festivals here in Shetland , and I think an infobox based on Infobox recurring event would be a good place to start. There are various local festivals held that are similar but slightly different in various ways, and I think an infobox would be the ideal way to convey this.

I'm still quite a template noob though - where do I start with this? I have looked at the Infobox template documentation and the Infobox recurring event docs too, but I am really none the wiser. Do I expand on Infobox recurring event? If so, do I add extra parameters to this template, or should I make some sort of a module to go below it? And for the coding, how specifically should this be implemented? If someone can give me some pointers on how to start I can go ahead and get the suitable parameters set up - just feel slightly out of my depth. If this sort of question is in the wrong place let me know and I can ask somewhere else. Thanks in advance for your help! Griceylipper (talk) 16:47, 24 February 2020 (UTC)

{{infobox festival}} currently redirects to that infobox. You should prefer to ask to see if the one infobox can be extended. If not, and you create a new infobox, your new infobox is likely to be sent to WP:TFD for duplicating the other. It may be that the information you're wanting to convey in the infobox isn't appropriate for Wikipedia (I don't know, since you're vague on this). --Izno (talk) 17:32, 24 February 2020 (UTC)
Izno Sorry for the late reply - the sort of parameters would be things like: number of squads, galley burn site location (and whether that's static or changes from year to year), is the galley burned on land or in the sea, how many halls (venues) are opened on the night, does it have a "hop night" (afterparty), does it have a "guizers' return" (another type of afterparty), are women allowed in squads (controversial topic for some of the festivals) - etc. There are more that aren't coming to mind at the moment. These are all common, comparable points between all the Up Helly Aas, but are really only valid for Up Helly Aas in particular and wouldn't be relevant enough for inclusion in the main Infobox festival. Let me know what you think. Griceylipper (talk) 01:03, 26 February 2020 (UTC)
Yeah, I don't really think those are appropriate for coverage on Wikipedia, given your framing. I don't see it being likely that anyone else would agree those should be included as parameters in any infobox. But if you want to try, start by asking where I pointed, and include the alternative, and if someone else says "bad idea" to either, then you're probably out of luck. Or you can wait for more feedback here, or invite people from that talk page here to comment. There is also an apparently-semi-active WP:WikiProject Festivals that you can invite for comment.
If you want to be able to show people what you want to build, start a User:Griceylipper/Sandbox/Infobox or similar with something like {{infobox |label1=Burn site |data1={{{burn_site|}}}}}<noinclude>{{documentation|content={{User:Griceylipper/Sandbox/Infobox |burn_site=Norway}}}}</noinclude>. That should get you started down the path of creating an actual infobox (you can probably figure out the rest :). --Izno (talk) 01:33, 26 February 2020 (UTC)

Mass removal of Wikiproject template parameters on Infobox talk pages

Please see this user's talk page and Special:Contributions/Chongkian, where you can see mass creation of pages.

Also see this filtered contributions page, where you can see links to a series of edits that removed WikiProject template parameters from many infobox talk pages. Is there a consensus for this removal and these mass bot-like edits? – Jonesey95 (talk) 18:10, 12 April 2020 (UTC)

The top diff doesn't cause a difference. I don't know that there is consensus for these changes, but OTOH I generally favor clean wikitext for pages which don't need assessment. --Izno (talk) 19:02, 12 April 2020 (UTC)
Also a positive edit regardless. I think this is just a gnome gnoming. --Izno (talk) 19:03, 12 April 2020 (UTC)
this edit put the template on the needing assessment caragory and removed from the template class. We getting any reply from said editor as to why they are doing this?--Moxy 🍁 20:33, 12 April 2020 (UTC)
This edit removed the WikiProject banner shell template and one of the two Wikiproject templates. I don't see why the removals were done, and there was no edit summary explaining it or linking to a discussion. – Jonesey95 (talk) 21:21, 12 April 2020 (UTC)

{{Infobox death}}

Hi! I created {{Infobox death}}, but am not really sure what to do. There was definitely a need for an infobox for deaths, so, I created one. It has a couple of transmissions, but I've seen so many articles that could do with it, but I don't really want to add it because some people might think of it as self-promotion. What should I do? — Yours, Berrely • TalkContribs 17:52, 23 April 2020 (UTC)

@Berrely: You've already been bold and added it to five articles that you believed would benefit from it. Don't worry about self-promotion: you don't own the template. However, you may find other editors object to the addition the infobox. If they do, then don't put it back when reverted, but open a discussion on the talk page and explain how the infobox improves the article.
If the infoboxes "stick" in these first handful of articles, then consider adding the infobox to other articles, but only after you've resolved any objections that arise in the first few. HTH. --RexxS (talk) 19:52, 23 April 2020 (UTC)
@RexxS:, alright, thanks! I just wanted to make sure I wasn't going to annoy anyone, if I find an article I think may benefit, I'll try to get consensus on the talk page before adding it. Thanks a lot! — Yours, Berrely • TalkContribs 07:53, 24 April 2020 (UTC)

Discussion at Template_talk:Infobox_organization#New_parameters

Hi all! You are invited to participate at the discussion of adding new parameters to {{Infobox organization}} to implement a TFD outcome at Template_talk:Infobox_organization#New_parameters. Best, Mdaniels5757 (talk) 14:06, 3 May 2020 (UTC)

Whitespace/padding in infobox fields

In the fifteen years I've used WP, I see almost every infobox look like this:

{{Infobox
| = content
| = content
| = content
}}

Is there a function to having that padding around = in the fields, or is it an aesthetic thing? I tend to keep it around, but for other similar boxes I've long since done away with it. Mac Dreamstate (talk) 17:49, 7 May 2020 (UTC)

Mac Dreamstate, FWIW in my two months I’ve seen a lot of template variation. I’ve seen the whitespace in most of the possible variations. Seems to be esthetic. —¿philoserf? (talk) 17:54, 7 May 2020 (UTC)
Just about entirely aesthetic. --Izno (talk) 17:56, 7 May 2020 (UTC)
Totally aesthetic. It's so common because editors have copy-pasted for years from the documentation where it's almost always laid out like that (because the coders who write the documentation are OCD about that sort of stuff through coding habits). --RexxS (talk) 00:41, 8 May 2020 (UTC)

Infobox Port

Hello, can anyone help add a second image or logo parameter for the ports infobox? See Template_talk:Infobox_port#Port_logo_parameter Thanks Thx811 (talk) 15:11, 17 May 2020 (UTC)

Hi. I'll reply at the infobox talkpage. Cheers, Rehman 15:36, 17 May 2020 (UTC)

The home_town parameter of Template:Infobox_person

  FYI
 – Pointer to relevant discussion elsewhere.

Please see: Template talk:Infobox person#Proposal: Repurpose and redocument the home_town parameter.

As I know that changes to major infoboxes are often controversial (and many to that template in particular have been WP:VPPOL RfCs in their own right), it seemed pertinent to notify broadly of the proposal.

Summary: We removed |residence=, but kept this parameter for childhood non-birthplace residence, despite that being usually trivia. The proposal would repurpose this parameter for long-term residency places during the subject's period of notability.
 — SMcCandlish ¢ 😼  21:32, 19 May 2020 (UTC)

Infobox ice hockey discussion

There is a discussion about listing a player's years with the team in {{infobox ice hockey player}}. Editors are welcome to give their opinion at Template talk:Infobox ice hockey player#New discussion.  Bait30  Talk 2 me pls? 03:46, 7 June 2020 (UTC)