Template:CsgoOperation/doc: Difference between revisions
Jump to navigation
Jump to search
(→Examples: Added more examples) |
No edit summary |
||
Line 55: | Line 55: | ||
=== Parameters === | === Parameters === | ||
* {{param|1}} - The operation name or operation number (1-11). Should be one of the ones on the right. | * {{param|1}} - The operation name or operation number (1-11). Should be one of the ones on the right. | ||
* {{param|2}} - Sentence prefix | * {{param|2}} - Sentence prefix | ||
* {{param| | * {{param|prefix}} Adds prefix | ||
* {{param|disableop}} - If defined, hides the word "Operation" in the link text. | * {{param|disableop}} - If defined, hides the word "Operation" in the link text. | ||
* {{param|name}} | * {{param|name}} Changes the name of operation (including "Operation" word). | ||
* {{param|icon}} | * {{param|icon}} Changes icon of operation. | ||
* {{param|link}} | * {{param|link}} Changes link of operation. | ||
===Examples=== | ===Examples=== | ||
Line 97: | Line 97: | ||
{| class="standard-table" | {| class="standard-table" | ||
|+ Examples for {{param| | |+ Examples for {{param|prefix}} | ||
!Code | !Code | ||
!Result | !Result | ||
|- | |- | ||
|{{tlc|CsgoOperation|hydra| | |{{tlc|CsgoOperation|hydra|prefix{{=}}1}} | ||
|{{CsgoOperation|hydra| | |{{CsgoOperation|hydra|prefix=1}} | ||
|- | |- | ||
|{{tlc|CsgoOperation|hydra}} | |{{tlc|CsgoOperation|hydra}} |
Revision as of 23:38, 27 March 2022

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.
Don't forget to purge the contents of the base page upon creating or editing this subpage.
Value for {{{1}}} | Short Result | |
---|---|---|
1 | payback | ![]() |
2 | bravo | ![]() |
3 | phoenix | ![]() |
4 | breakout | ![]() |
5 | vanguard | ![]() |
6 | bloodhound | ![]() |
7 | wildfire | ![]() |
8 | hydra | ![]() |
9 | shatteredweb | ![]() |
10 | brokenfang | ![]() |
11 | 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
- {{{prefix}}} Adds prefix
- {{{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
Code | Result |
---|---|
{{CsgoOperation|hydra}}
|
![]() |
{{CsgoOperation|shatteredweb}}
|
![]() |
{{CsgoOperation|5}}
|
![]() |
{{CsgoOperation}}
|
No operation selected! See Template:CsgoOperation |
{{CsgoOperation|hydrogen}}
|
Invalid operation "hydrogen"! See Template:CsgoOperation |
Code | Result |
---|---|
{{CsgoOperation|hydra|Entity added with}}
|
Entity added with![]() |
{{CsgoOperation|hydra|Used in}}
|
Used in![]() |
Code | Result |
---|---|
{{CsgoOperation|hydra|prefix=1}}
|
It's one of many new features added with the ![]() |
{{CsgoOperation|hydra}}
|
![]() |
Code | Result |
---|---|
{{CsgoOperation|hydra|name=Operation hydrogen}}
|
![]() |
{{CsgoOperation|hydra}}
|
![]() |
Code | Result |
---|---|
{{CsgoOperation|hydra|icon=[[File:Wildfire.png|32px]]}}
|
![]() |
{{CsgoOperation|hydra}}
|
![]() |
Code | Result |
---|---|
{{CsgoOperation|hydra|link=https://counterstrike.fandom.com/wiki/Operation_Hydra}}
|
![]() |
{{CsgoOperation|hydra}}
|
![]() |