[Portal] Templates for discussion/Log/2021 May 11

May 11

Template:Hide in print

These templates aren't working and havn't worked since 2013 following T50052. Following that ticket support was dropped for hiding text through Category:Exclude in print (also nominated here). When appropriate uses should be migrated over to {{noprint}} which hides things using the noprint CSS class.

There is currently no way to only display something in print. Hence {{Only in print}} will simply be removed. As far as I can tell basically all transclusions comes from a dubious use at {{doi}} which would break links in PDF versions if it worked properly.

This system is mainly in use for the Download as PDF and Printable versions found in the sidebar. It is also used for book generation by PediaPress. I've tested it using their previews and the above is accurate for all three of these methods. I contacted PediaPress about this a week ago to make sure no issues would occur on their side from this change (which it shouldn't) and they have not responded. --Trialpears (talk) 22:47, 11 May 2021 (UTC)

  • Delete Template:Only in print per nom. Redirect Template:Hide in print to Template:Noprint. Wrong venue for Category:Exclude in print; per Wikipedia:Templates for discussion#Listing a template, {{catfd}} only applies to template-populated tracking categories, which this isn't (but I would support deleting that as well if it were properly proposed at CfD) * Pppery * it has begun... 03:21, 12 May 2021 (UTC)
    Pppery A simple redirect won't be appropriate since {{Hide in print}} often is coupled with {{Only in print}} where manual action is needed. It also has some subtle differences which could break tables if the conversion is not done manually.
    I am well aware of the rules for what should go where but choose to ignore them in this case. I believe the more technical audience would have more opinions on Category:Exclude in print and that it would be unnecessary to fork this discussion to two places. If you think there would be an actual benefit in nominating it at CfD I'm happy to withdraw it and renominate it. For the time being I've dropped a note at WT:CFD in case the CfD crowd is interested. --Trialpears (talk) 09:59, 12 May 2021 (UTC)
    My point about Template:Hide in print is that I think the end result should be a redirect rather than a redlink. If transclusions need to be replaced manually first, that is fine with me. * Pppery * it has begun... 14:40, 12 May 2021 (UTC)
  • Note that people using templates such as {{hdl}} are being mysteriously pointed here with TFD notices. Uncle G (talk) 09:38, 12 May 2021 (UTC)
    Uncle G, that's because that template use these templates (both of them hence the double notice). --Trialpears (talk) 09:48, 12 May 2021 (UTC)
    People, Trialpears, can we not find a way to tag the templates that are under discussion and not others that are not? Not just in this case but in every case? Tagging every template that transcludes those listed here is ... well, unwelcome. I'm assuming that {{doi}} is not being proposed for deletion, right? Thanks, Justlettersandnumbers (talk) 10:13, 12 May 2021 (UTC)
    Justlettersandnumbers It's not possible to disable transclusions used in other templates without disabling all transclusions. I have disabled the notice at {{Only in print}} since that one should be redundant to the notice at {{Hide in print}} in most cases. --Trialpears (talk) 10:21, 12 May 2021 (UTC)
  • Note that Template:Noprint does not always work in replacing Template:Hide in print; I tried it at Template:Deadliest typhoons, where the argument text is supposed to appear as a table row, but under Noprint it becomes fostered content and appears outside the table. The markup in question is a table row:
{{hide in print|1=
!colspan=5{{!}} <small>Main article: [[List of tropical cyclone records]]</small>
What does work is replacing that markup with
!colspan=5|<span class="noprint"><small>Main article: [[List of tropical cyclone records]]</small></span>
but that would probably leave a blank table row in the noprint case. —Anomalocaris (talk) 19:52, 12 May 2021 (UTC)
Yep, this will have to be done manually for cases like this. --Trialpears (talk) 20:02, 12 May 2021 (UTC)


The following discussion is an archived debate of the proposed deletion of the template(s) or module(s) below. Please do not modify it. Subsequent comments should be made on the appropriate discussion page (such as the template's talk page or in a deletion review).

The result of the discussion was wrong venue. Please feel free to relist at MFD. Izno (talk) 22:39, 13 May 2021 (UTC)

Cleanup - recent creations of doubtful usefulness by an editor indefinitely blocked as NOTHERE. — kashmīrī TALK 20:13, 11 May 2021 (UTC)

The above discussion is preserved as an archive of the debate. Please do not modify it. Subsequent comments should be made on the appropriate discussion page (such as the template's talk page or in a deletion review).

Template:Israel massacres in Lebanon

Fails WP:NPOV. Of the incidents referred to as "massacres" in the template for which an article exists only Qana is typically referred to as a "massacre" and indisputably carried out by Israeli forces. In all other incidents either the incident is not commonly called a massacre (e.g., the Zrarieh raid) or it is disputed that Israeli forces per se actually carried out the incident (e.g., the 1984 Sohmor Incident, which was carried out by the SLA). The present name for this template is clearly a WP:POVNAME and there is no obvious alternative name. FOARP (talk) 19:25, 11 May 2021 (UTC)

  • Delete Most of the entries there are red links or not massacres that carried by Israel --Shrike (talk) 19:45, 11 May 2021 (UTC)
  • Delete POV issues. Could be possibly saved by a rename to a suitable neutral name but I can't think of one (t · c) buidhe 06:20, 13 May 2021 (UTC)

Template:Str crop subst

Seems to be obsolete. {{subst:str crop|1234567890|3}} → 1234567 without needing a special version. User:GKFXtalk 11:56, 11 May 2021 (UTC)


Unlike in botany, there is no such thing as a "standard author abbreviation" in zoology and the ICZN does not recommend abbreviating author names. The most common practice is to simply use the full surname for any author. This template is adding false information to articles and needs to be deleted. For more information see Author citation (zoology) and the ICZN code itself. Nosferattus (talk) 06:13, 11 May 2021 (UTC)

This page was last updated at 2021-05-16 01:59, update this pageView original page

All information on this site, including but not limited to text, pictures, etc., are reproduced on Wikipedia (wikipedia.org), following the . Creative Commons Attribution-ShareAlike License