Talk:List of Black Mesa entities: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(Created page with "== Colorful text ? == I would like to somehow mark certain entities. Most of the entities are Source Engine general entities, but there are also a lot of entities that available only in bms, bms 2012, both versions, in one of them and some other games, in both and some other games. Initially I wanted to use {{only|}}, but then I realized that this would make the list overloaded. I would like the links to use different text colors (orange - only bms, white - only bms 2012...")
 
No edit summary
Line 3: Line 3:


--[[MyGamepedia]] ([[User talk:MyGamepedia|talk]]) 11:18, 31 December 2024
--[[MyGamepedia]] ([[User talk:MyGamepedia|talk]]) 11:18, 31 December 2024
Something like {{code|<nowiki><span style="color:#bb8b2d;">text</span></nowiki>}} should work for non-link text. You can also specify some predefined universal colors (i.e. {{code|<nowiki><span style="color:red;">text</span></nowiki>}} would work as well). For links, do {{code|<nowiki>[[page name|<span style="color:#bb8b2d;">display name</span>]]</nowiki>}}. See [https://developer.mozilla.org/en-US/docs/Web/CSS/color here] for full documentation. ―[[User:Pee|Pee]] ([[User talk:Pee|talk]]) 10:08, 31 December 2024 (PST)

Revision as of 11:08, 31 December 2024

Colorful text ?

I would like to somehow mark certain entities. Most of the entities are Source Engine general entities, but there are also a lot of entities that available only in bms, bms 2012, both versions, in one of them and some other games, in both and some other games. Initially I wanted to use (only in), but then I realized that this would make the list overloaded. I would like the links to use different text colors (orange - only bms, white - only bms 2012, etc), but I haven't seen anyone use this feature without special templates, so I don't know if it's possible.

--MyGamepedia (talk) 11:18, 31 December 2024

Something like <span style="color:#bb8b2d;">text</span> should work for non-link text. You can also specify some predefined universal colors (i.e. <span style="color:red;">text</span> would work as well). For links, do [[page name|<span style="color:#bb8b2d;">display name</span>]]. See here for full documentation. ―Pee (talk) 10:08, 31 December 2024 (PST)