Template talk:Callout core

From Valve Developer Community
Jump to navigation Jump to search
Icon-white-forum.png
This is the discussion page of Template:Callout core.
To add a comment, use the Edit button near the headline of the appropriate section. To create a new section, you can use the Add topic button at the top of this page.
Comments on talk pages should be signed with "~~~~", which will be converted into your signature and a timestamp.

This (and the modern notes) template seems to work okay. Is it safe to replace the old {{Note}} templates? --Amicdict (talk) 6:01, 5 Apr 2023

I don't think anything terrible will happen, so you can replace them if you want. --THE OWL (talk) 8:02, 5 Apr 2023

Text is centered after...

Resolved. Read Template_talk:ModernCodenote#Text_is_centered_after_ModernCodenote... --Lxm6 (talk) 20:15, 8 May 2023

Where are style and suf now?

Template:ModernNote/doc used to mention them...

I think it's wrong to silently remove them... --Lxm6 (talk) 07:13, 9 May 2023

ModernNote}} was used as the basis for all modern notes, but now it is exactly the same template as {{ModernTodo}} and others. Now the basis is {{Notify}} and it has its own documentation. --THE OWL (talk) 7:26, 9 May 2023

Bad on mobile...

Resolved.

Read Template talk:ModernNote#All variants are bad on mobile... --Lxm6 (talk) 07:34, 9 May 2023

Don't add any categories with nocat=

Unresolved.

The nocat= can be useful here as well. See template Notify/inline/doc for example. --Lxm6 (talk) 11:22, 10 Jul 2023

Some problems with vertical alignment

Unresolved. I don't know an easy fix for the edits. --Lxm6 (talk) 14:21, 20 Jul 2023

Missing opacity parameter

Something like {{ent not in game}} or {{spoiler2}} looks too faint with the 2% opacity that was previously applied. I don't mind the low opacity for inline notes (helps keep things from being too colorful), but major notices really do need the color to be noticed. I have temporarily boosted the default opacity as a workaround.
SirYodaJedi (talk) 14:06, 12 July 2026 (PDT)

I added the ability to control opacity. It takes values from 0 to 100 and picks a percentage within a range specified in the core.
{{Callout core
| mode		= compact
| preset	= warning
| image		= info-red.png
| imagesize	= 24px
| text = This entity is [[dump_entity_sizes|'''not''' in the game]] by default, but still has '''code available for it in the SDK'''; this feature is not available anymore.
}}

{{Callout core
| mode		= compact
| preset	= warning
| opacity	= 50
| image		= info-red.png
| imagesize	= 24px
| text = This entity is [[dump_entity_sizes|'''not''' in the game]] by default, but still has '''code available for it in the SDK'''; this feature is not available anymore.
}}

{{Callout core
| mode		= compact
| preset	= warning
| opacity	= 100
| image		= info-red.png
| imagesize	= 24px
| text = This entity is [[dump_entity_sizes|'''not''' in the game]] by default, but still has '''code available for it in the SDK'''; this feature is not available anymore.
}}
Info-red.png
This entity is not in the game by default, but still has code available for it in the SDK; this feature is not available anymore.
Info-red.png
This entity is not in the game by default, but still has code available for it in the SDK; this feature is not available anymore.
Info-red.png
This entity is not in the game by default, but still has code available for it in the SDK; this feature is not available anymore.
Does that solve the issue?
--THE OWL (talk) 09:03, 13 July 2026 (PDT)
Sure, that works.
SirYodaJedi (talk) 10:47, 13 July 2026 (PDT)