Template:CsgoOperation/doc

From Valve Developer Community
< Template:CsgoOperation
Revision as of 13:10, 27 March 2022 by Kpabik (talk | contribs) (→‎Parameters: added some parameters)
Jump to navigation Jump to search
Edit-copy.png
This is a documentation subpage for Template:CsgoOperation.
Don't forget to purge the contents of the base page upon creating or editing this subpage.
Value for {{{1}}} Short Result
1 payback OpPayback.pngOperation Payback
2 bravo OpBravo.pngOperation Bravo
3 phoenix OpPhoenix.pngOperation Phoenix
4 breakout OpBreakout.pngOperation Breakout
5 vanguard OpVanguard.pngOperation Vanguard
6 bloodhound OpBloodhound.pngOperation Bloodhound
7 wildfire Wildfire.pngOperation Wildfire
8 hydra OpHydra.pngOperation Hydra
9 shatteredweb OpShatteredWeb.pngOperation Shattered Web
10 brokenfang OpBrokenFang.pngOperation Broken Fang
11 riptide OpRiptide.pngOperation Riptide

Usage

This template is used to insert the name and a link to a Template:Game name operation.

Parameters

  • {{{1}}} - The operation name or operation number (1-11). Should be one of the ones on the right.
  • {{{2}}} - Sentence prefix.
  • {{{short}}} - If defined, wipes the sentence prefix and full stop at the end.
  • {{{disableop}}} - If defined, hides the word "Operation" in the link text.
  • {{{name}}} changes the name of operation (including "Operation" word).
  • {{{icon}}} changes icon of operation.
  • {{{link}}} changes link of operation.

Examples

Examples for {{{1}}}
Code Result
{{CsgoOperation|hydra}} OpHydra.pngOperation Hydra
{{CsgoOperation|shatteredweb}} OpShatteredWeb.pngOperation Shattered Web
{{CsgoOperation|5}} OpVanguard.pngOperation Vanguard
{{CsgoOperation}} No operation selected! See Template:CsgoOperation
{{CsgoOperation|hydrogen}} Invalid operation "hydrogen"! See Template:CsgoOperation
Examples for {{{2}}}
Code Result
{{CsgoOperation|hydra|Entity added with}} Entity added withOpHydra.pngOperation Hydra
{{CsgoOperation|hydra|Used in}} Used inOpHydra.pngOperation Hydra
Examples for {{{short}}}
Code Result
{{CsgoOperation|hydra|short=1}} OpHydra.pngOperation Hydra
{{CsgoOperation|hydra}} OpHydra.pngOperation Hydra