This page is within the scope of WikiProject Portals, a collaborative effort to improve portals 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.PortalsWikipedia:WikiProject PortalsTemplate:WikiProject PortalsPortals
I've modified Module:Subject bar/sandbox to call Module:Portal bar when this template is called with only portal arguments (no sister links). This causes the output of this template to be identical to {{Portal bar}} when given the same inputs. I thought this would make better visual consistency across WP.
Having no template data on this is very annoying especially considering it's locked so I couldn't add it myself. If someone with the permissions could do this it would be greatly appreciated. Thanks, ― Levi_OPTalk23:33, 26 January 2022 (UTC)[reply]
TemplateData goes on the documentation subpage, Template:Subject bar/doc, not the template itself. You should be able to edit the documentation page, and in edit mode there is a "Manage TemplateData" button at the top (above the normal edit window). Usually "Manage TemplateData" presents a list of suggested parameters (based on what parameters are already being called by the template); but that isn't happening (I'm not sure if that's a temporary bug or what). Plantdrew (talk) 01:06, 27 January 2022 (UTC)[reply]
@Duncnbiscuit has been doing widespread replacements of {{Commons category}} by {{subject bar}}. I have not seen any general consensus that this should be done. My personal opinion is that it is a poor change, so I would like to revert those on pages I am monitoring (at the very least). Did I miss an RfC which decided that widespread replacements is now the MOS choice? Ldm1954 (talk) 10:57, 4 March 2025 (UTC)[reply]
@Ldm1954: I too just noticed the addition of the {{subject bar}} template by Duncnbiscuit to MECE principle (Special:Diff/1284817387), where the addition seems pointless to me: the only link in the {{subject bar}} template in this case is to Wikidata, and the relevant Wikidata item for every page is already available from the Tools menu! It seems that there should be a rule that the {{subject bar}} template should only be added to a page when there is some other resource accessible from it beside Wikidata? Thoughts from anyone? Biogeographist (talk) 02:39, 10 April 2025 (UTC)[reply]
Taking a look at the guidelines:
WP:ELWD says "no Wikidata links in the body of an article", but MOS:ORDER says that everything "See also" or below is an appendix or end matter, so a {{Subject bar}} that only contains a wikidata link doesn't violate WP:ELWD.
WP:MOSSIS guides against having EL sections where floating boxes are the only item in the section, and offers either inline links (e.g., {{commons-inline}}) or the bar templates (e.g., {{Sister bar}} or {{Subject bar}}) as substitutes.
To editors Biogeographist and Hike395: I think it may be time to ask Duncnbiscuit about these edits. I just counted, and of the 1,000 edits they have made since Dec 9 2024, 668 have been {{Subject bar}}. This certainly appears to be highly unusual.
I raised the issue at his talk page here back in March, and he did not provide a response that convinced me of anything. I did not follow up on this because nobody else said anything, but maybe it is time. With 3 people raising the issue I think it is appropriate for Duncnbiscuit to try and persuade us to reach concensus, we don't want WP:One against many. Ldm1954 (talk) 15:35, 10 April 2025 (UTC)[reply]
I share the concern that the widespread {{subject bar}} replacements/additions by Duncnbiscuitmay be too indiscriminate. This template seems most appropriate when there are relevant resources in many sister projects. It may not violate any guidelines, as Hike395 said, to add the template to a page that doesn't need the template because the page doesn't have many relevant resources in external projects (i.e. only Wikidata, which as I said is already accessible from every relevant page!), but adding the template to such pages seems unwise to me. In any case, I would like to hear some reasons from Duncnbiscuit for why {{subject bar}} was added to a page like MECE principle that doesn't need the template. Biogeographist (talk) 15:49, 10 April 2025 (UTC)[reply]
Hi @Biogeographist,@Hike395, and @Ldm1954, Generally I've been adding {{Subject bar}} to articles I review where there is only Wikidata as a sister project item because the link to Wikidata is not available through the Wikipedia Android App. I have taken onboard your comments and would be more likely now to use {{Wikidata-inline}} where it's appropriate. However, most of my edits adding {{Subject bar}} are where there is at least Creative Commons and Wikidata artifacts relating to the Wikipedia article and {{Portal bar}} has also been used.
@Hike395, I also take on board your point about not adding an External Links section if there are only Sister projects as external links.
Also @Ldm1954, referring to our earlier discussion where you stated that {{subject bar}} has poor formatting in Mozilla based browsers like Chrome; when I had an opportunity to experiment with this scenario, I couldn't see a difference with the rest of the article's formatting. Duncnbiscuit (talk) 04:43, 11 April 2025 (UTC)[reply]
One template you may be familiar with is {{Sister project links}}. You can use {{Sister project links|auto=y|d=y}} just like {{Subject bar|auto=y|d=y}}, but it will generate a sister box to the right (in an External Links section). I advise use of this when there are enough other external links to accommodate the length of the sister box before the end matter. See, e.g., Māori language or Nigel Terry. — hike395 (talk) 10:45, 11 April 2025 (UTC)[reply]