Template talk:Console command: Difference between revisions
No edit summary |
No edit summary |
||
Line 26: | Line 26: | ||
| time = 18:57, 15 Aug 2023 | | time = 18:57, 15 Aug 2023 | ||
| My main point was mentioning a few possible changes that could be made, not necessarily whether or not it's in code (though i do think it shouldn't be in code). As for a spaghetti template, something like this might work fairly well: | | My main point was mentioning a few possible changes that could be made, not necessarily whether or not it's in code (though i do think it shouldn't be in code). As for a spaghetti template, something like this might work fairly well: | ||
{{codeBlock|src=Template: | {{codeBlock|src=Template:intro sentence|<nowiki>{{#switch: {{{type|}}} | ||
|#default={{error|Missing required argument "type"}} | |#default={{error|Missing required argument "type"}} | ||
|e0|e1|e2|e3|e4|e5={ | |e0|e1|e2|e3|e4|e5={intro sentence/entity|whatever|arguments|are|necessary|to|pass}} | ||
|convar|command={{ | |convar|command={{intro sentence/console|whatever|arguments|are|necessary|to|pass}} | ||
}}</nowiki>}} | }}</nowiki>}} | ||
}} | }} |
Revision as of 11:59, 15 August 2023

Comments on talk pages should be signed with "~~~~", which will be converted into your signature and a timestamp.
Moving to {{entity}}
(using Template:Message) Should we continue to use this template, or modify {{entity}}
to categorize and change the titles, with some modifications, such as the equivelant of Category:Source Base Entities being Category:Console commands, and changing the title to be lowercase and with underscores, but not embed it within {{code}}
? (the same would apply to {{console variable}}
.) I'm leaning towards the latter.
--Pee (talk) 18:39, 15 Aug 2023 (UTC)
(using Template:Message) I changed the title to use {{code}}
to be more uniform with Entity. I would be open to merging the two templates, however that might just cause a spaghetti code situation. If we combine this and entity, then we will likely have to combine {{Shader}}
and the likes as well
--Equalizer5118 (talk) 18:44, 15 Aug 2023 (UTC)
(using Template:Message) I also think that plain text with underscores look ugly. I prefer sv_cheats
over sv_cheats as monospace text looks more uniform
--Equalizer5118 (talk) 18:45, 15 Aug 2023 (UTC)
(using Template:Message) My main point was mentioning a few possible changes that could be made, not necessarily whether or not it's in code (though i do think it shouldn't be in code). As for a spaghetti template, something like this might work fairly well: