Template talk:CsgoOperation: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
 
Line 1: Line 1:
== Parameters ==
== Parameters ==
Hey, I think the parameters are a bit confusing. Wouldn't it be enough to have just {{param|1}} and {{param|2}} stand for the operation name (1) and an alternative link text (2)? The sentence constructs are nice, but should they be the default? It's a bit counter-intuitive that {{tlc|csgoOperation|hydra}} does not deliver the short version "[icon] Operation Hydra". If I really need the even shorter version, it's actually more intuitive (and shorter) to write {{tlc|csgoOperation|hydra|Hydra}} to get "[icon] Hydra" instead of writing {{tlc|csgoOperation|hydra|short{{=}}1|disableop{{=}}1}}, or isn't it? --[[User:Popcorn|Popcorn]] ([[User talk:Popcorn|talk]]) 10:54, 27 March 2022 (PDT)
Hey, I think the parameters are a bit confusing. Wouldn't it be enough to have just {{Param|1}} and {{Param|2}} stand for the operation name (1) and an alternative link text (2)? The sentence constructs are nice, but should they be the default? It's a bit counter-intuitive that {{T|CsgoOperation|{{P|hydra}}}} does not deliver the short version "[icon] Operation Hydra". If I really need the even shorter version, it's actually more intuitive (and shorter) to write {{T|CsgoOperation|{{P|hydra}}{{P|Hydra}}}} to get "[icon] Hydra" instead of writing {{T|CsgoOperation|{{P|hydra}}{{P|short|1}}{{P|disableop|1}}}}, or isn't it? --[[User:Popcorn|Popcorn]] ([[User talk:Popcorn|talk]]) 10:54, 27 March 2022 (PDT)


:I'll add parameters {{param|name}}, {{param|link}} and {{param|icon}}, but i don't want to remove parameter {{param|disableop}}, and make {{param|short}} default, because I alredy have page with it. --[[User:Kpabik|Kpabik]] ([[User talk:Kpabik|talk]]) 12:51, 27 March 2022 (PDT)
: I'll add parameters {{Param|name}}, {{Param|link}} and {{Param|icon}}, but i don't want to remove parameter {{Param|disableop}}, and make {{Param|short}} default, because I alredy have page with it. --[[User:Kpabik|Kpabik]] ([[User talk:Kpabik|talk]]) 12:51, 27 March 2022 (PDT)
::I have the suspicion that you're making the template more complicated and thus less intuitive to use than needs to be: In fact, apart from {{param|1}}, the {{param|name}} parameter is enough to construct any sentence and it also makes the {{param|disableop}} parameter redundant. Constructing sentences is a cool thing, but in the end, you'll most likely end up modifying that sentence all the time, so I'd suggest setting the {{param|short}} parameter to 1 by default. As this template is used just in one other page, it won't be much work, so in case you're concerned about any subsequent changes to the [[List of CS:GO Maps]] page; that's no problem, I can care about them if you'd like. --[[User:Popcorn|Popcorn]] ([[User talk:Popcorn|talk]]) 18:48, 27 March 2022 (PDT)
:: I have the suspicion that you're making the template more complicated and thus less intuitive to use than needs to be: In fact, apart from {{Param|1}}, the {{Param|name}} parameter is enough to construct any sentence and it also makes the {{Param|disableop}} parameter redundant. Constructing sentences is a cool thing, but in the end, you'll most likely end up modifying that sentence all the time, so I'd suggest setting the {{Param|short}} parameter to 1 by default. As this template is used just in one other page, it won't be much work, so in case you're concerned about any subsequent changes to the [[List of CS:GO Maps]] page; that's no problem, I can care about them if you'd like. --[[User:Popcorn|Popcorn]] ([[User talk:Popcorn|talk]]) 18:48, 27 March 2022 (PDT)


:::I added {{param|short}} by default, and added {{param|prefix}} --[[User:Kpabik|Kpabik]] ([[User talk:Kpabik|talk]]) 05:28, 28 March 2022 (PDT)
::: I added {{Param|short}} by default, and added {{Param|prefix}} --[[User:Kpabik|Kpabik]] ([[User talk:Kpabik|talk]]) 05:28, 28 March 2022 (PDT)

Latest revision as of 06:32, 4 October 2025

Parameters

Hey, I think the parameters are a bit confusing. Wouldn't it be enough to have just {{{1}}} and {{{2}}} stand for the operation name (1) and an alternative link text (2)? The sentence constructs are nice, but should they be the default? It's a bit counter-intuitive that {{CsgoOperation|hydra}} does not deliver the short version "[icon] Operation Hydra". If I really need the even shorter version, it's actually more intuitive (and shorter) to write {{CsgoOperation|hydra|Hydra}} to get "[icon] Hydra" instead of writing {{CsgoOperation|hydra|short=1|disableop=1}}, or isn't it? --Popcorn (talk) 10:54, 27 March 2022 (PDT)

I'll add parameters {{{name}}}, {{{link}}} and {{{icon}}}, but i don't want to remove parameter {{{disableop}}}, and make {{{short}}} default, because I alredy have page with it. --Kpabik (talk) 12:51, 27 March 2022 (PDT)
I have the suspicion that you're making the template more complicated and thus less intuitive to use than needs to be: In fact, apart from {{{1}}}, the {{{name}}} parameter is enough to construct any sentence and it also makes the {{{disableop}}} parameter redundant. Constructing sentences is a cool thing, but in the end, you'll most likely end up modifying that sentence all the time, so I'd suggest setting the {{{short}}} parameter to 1 by default. As this template is used just in one other page, it won't be much work, so in case you're concerned about any subsequent changes to the List of CS:GO Maps page; that's no problem, I can care about them if you'd like. --Popcorn (talk) 18:48, 27 March 2022 (PDT)
I added {{{short}}} by default, and added {{{prefix}}} --Kpabik (talk) 05:28, 28 March 2022 (PDT)