Template talk:Point ent: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(fix code template)
 
(5 intermediate revisions by 4 users not shown)
Line 3: Line 3:
:So it shall be. [[User:Pinsplash|Pinsplash]] ([[User talk:Pinsplash|talk]]) 20:59, 4 August 2018 (UTC)
:So it shall be. [[User:Pinsplash|Pinsplash]] ([[User talk:Pinsplash|talk]]) 20:59, 4 August 2018 (UTC)


== Should the sprite param actually refer to an image instead of just using the entity name? ==
==Should the sprite param actually refer to an image instead of just using the entity name?==


Title. I feel this is a better way of applying the sprite image. - [[User:Amicdict|Amicdict]] ([[User talk:Amicdict|talk]]) 13:01, 13 September 2021 (PDT)
Title. I feel this is a better way of applying the sprite image. - [[User:Amicdict|Amicdict]] ([[User talk:Amicdict|talk]]) 13:01, 13 September 2021 (PDT)


:Already does. If it's set to 1, it uses the page name, if it's set to anything else, it uses that string. --[[User:Loudslappingsounds|Loudslappingsounds]] ([[User talk:Loudslappingsounds|talk]]) 00:16, 14 September 2021 (PDT)
:Already does. If it's set to 1, it uses the page name, if it's set to anything else, it uses that string. --[[User:Loudslappingsounds|Loudslappingsounds]] ([[User talk:Loudslappingsounds|talk]]) 00:16, 14 September 2021 (PDT)
::Ah. THere's no documentation on this template so I didn't realize. - [[User:Amicdict|Amicdict]] ([[User talk:Amicdict|talk]]) 01:19, 14 September 2021 (PDT)
==What's up with some pages displaying “oneclick”?==
There have been some pages (such as [[env_message]]) that have a broken introduction. I wonder what was the cause of this. <br>-- [[User:Ljcool2006|Ljcool2006]] 09:30, 22 January 2023 (PST)
: The template {{code|preset=2|&#123;&#123;MdCode&#125;&#125;}} has been changed (it is now called {{code|preset=2|&#123;&#123;Code&#125;&#125;}}). Some style parameters have become different, for example {{code|preset=2|oneclick}} styles are now entered via {{code|preset=2|select&#61;1}}. Now this problem should not be, since I have returned backward compatibility to the template for the time of correcting the old parameters to the new ones. They will now be marked with a red frame on the left and when hovering over there will be a hint on what to replace the outdated parameter with. If the text still appears broken, clear the page cache ({{code|select=all|preset=1|1=<nowiki>https://developer.valvesoftware.com/w/index.php?title=</nowiki><span style=color:green><Input-the-page-name-here></span><nowiki>&action=purge</nowiki>}}) or, if that doesn't help, update the article itself with any editing. <br>-- [[User:Max34|Max34]]&ensp;23:40, 22 January 2023 (UTC+4)

Latest revision as of 10:34, 18 November 2023

Categories

Considering making it so that every page with this template (and the brush counterpart, so basically all entity pages) are included in Category:Entities. Any objections? Pinsplash (talk) 08:22, 4 August 2018 (UTC)

So it shall be. Pinsplash (talk) 20:59, 4 August 2018 (UTC)

Should the sprite param actually refer to an image instead of just using the entity name?

Title. I feel this is a better way of applying the sprite image. - Amicdict (talk) 13:01, 13 September 2021 (PDT)

Already does. If it's set to 1, it uses the page name, if it's set to anything else, it uses that string. --Loudslappingsounds (talk) 00:16, 14 September 2021 (PDT)
Ah. THere's no documentation on this template so I didn't realize. - Amicdict (talk) 01:19, 14 September 2021 (PDT)

What's up with some pages displaying “oneclick”?

There have been some pages (such as env_message) that have a broken introduction. I wonder what was the cause of this.
-- Ljcool2006 09:30, 22 January 2023 (PST)

The template {{MdCode}} has been changed (it is now called {{Code}}). Some style parameters have become different, for example oneclick styles are now entered via select=1. Now this problem should not be, since I have returned backward compatibility to the template for the time of correcting the old parameters to the new ones. They will now be marked with a red frame on the left and when hovering over there will be a hint on what to replace the outdated parameter with. If the text still appears broken, clear the page cache (https://developer.valvesoftware.com/w/index.php?title=<Input-the-page-name-here>&action=purge) or, if that doesn't help, update the article itself with any editing.
-- Max34 23:40, 22 January 2023 (UTC+4)