Template talk:CsgoOperation: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
No edit summary
No edit summary
Line 4: Line 4:
: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)

Revision as of 05:28, 28 March 2022

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)