Template:CsgoOperation/doc: Difference between revisions
		
		
		
		
		
		Jump to navigation
		Jump to search
		
				
		 
		
	
|  (Created page with "{{Documentation subpage}} <!-- Please place categories where indicated at the bottom of this page.) --> == Usage == ===<nowiki>{{{1}}}</nowiki>=== Operation name: {| class="st...") | No edit summary | ||
| (10 intermediate revisions by 3 users not shown) | |||
| Line 1: | Line 1: | ||
| {{ | {{Doc/subpage}} | ||
| {{Shortcut|{{T|Cs2Operation}} | |||
| <!-- Please place categories where indicated at the bottom of this page.) --> | <!-- Please place categories where indicated at the bottom of this page.) --> | ||
| ==  | __NOTOC__ | ||
| = | {| class="standard-table" style="float:right" | ||
| !colspan=2| Value for {{param|1}} | |||
| ! Short Result | |||
| |- | |- | ||
| |1 | |||
| |payback | |payback | ||
| |{{CsgoOperation|payback|short=1}} | |{{CsgoOperation|payback|short=1}} | ||
| |- | |- | ||
| |2 | |||
| |bravo | |bravo | ||
| |{{CsgoOperation|bravo|short=1}} | |{{CsgoOperation|bravo|short=1}} | ||
| |- | |- | ||
| |3 | |||
| |phoenix | |phoenix | ||
| |{{CsgoOperation|phoenix|short=1}} | |{{CsgoOperation|phoenix|short=1}} | ||
| |- | |- | ||
| |4 | |||
| |breakout | |breakout | ||
| |{{CsgoOperation|breakout|short=1}} | |{{CsgoOperation|breakout|short=1}} | ||
| |- | |- | ||
| |5 | |||
| |vanguard | |vanguard | ||
| |{{CsgoOperation|vanguard|short=1}} | |{{CsgoOperation|vanguard|short=1}} | ||
| |- | |- | ||
| |6 | |||
| |bloodhound | |bloodhound | ||
| |{{CsgoOperation|bloodhound|short=1}} | |{{CsgoOperation|bloodhound|short=1}} | ||
| |- | |- | ||
| |7 | |||
| |wildfire | |wildfire | ||
| |{{CsgoOperation|wildfire|short=1}} | |{{CsgoOperation|wildfire|short=1}} | ||
| |- | |- | ||
| |8 | |||
| |hydra | |hydra | ||
| |{{CsgoOperation|hydra|short=1}} | |{{CsgoOperation|hydra|short=1}} | ||
| |- | |- | ||
| |9 | |||
| |shatteredweb | |shatteredweb | ||
| |{{CsgoOperation|shatteredweb|short=1}} | |{{CsgoOperation|shatteredweb|short=1}} | ||
| |- | |- | ||
| |10 | |||
| |brokenfang | |brokenfang | ||
| |{{CsgoOperation|brokenfang|short=1}} | |{{CsgoOperation|brokenfang|short=1}} | ||
| |- | |- | ||
| |11 | |||
| |riptide | |riptide | ||
| |{{CsgoOperation|riptide|short=1}} | |{{CsgoOperation|riptide|short=1}} | ||
| |} | |} | ||
| ====Examples | == Usage == | ||
| {| class="standard-table  | This template is used to insert the name and a link to a {{csgo|4}} operation, and in future, {{cs2|4}} operation. | ||
| ! | |||
| ! | === Parameters === | ||
| * {{param|1}} - The operation name or operation number (1-11). Should be one of the ones on the right. | |||
| * {{param|2}} - Sentence prefix | |||
| * {{param|prefix}} Adds prefix | |||
| * {{param|disableop}} - If defined, hides the word "Operation" in the link text. | |||
| * {{param|name}} Changes the name of operation (including "Operation" word). | |||
| * {{param|icon}} Changes icon of operation. | |||
| * {{param|link}} Changes link of operation. | |||
| ===Examples=== | |||
| {| class="standard-table" | |||
| |+ Examples for {{param|1}} | |||
| !Code | |||
| !Result | |||
| |- | |- | ||
| | | |{{tlc|CsgoOperation|hydra}} | ||
| |{{CsgoOperation|hydra}} | |{{CsgoOperation|hydra}} | ||
| |- | |- | ||
| | | |{{tlc|CsgoOperation|shatteredweb}} | ||
| |{{CsgoOperation|shatteredweb}} | |{{CsgoOperation|shatteredweb}} | ||
| |- | |||
| |{{tlc|CsgoOperation|5}} | |||
| |{{CsgoOperation|5}} | |||
| |- | |||
| |{{tlc|CsgoOperation}} | |||
| |{{CsgoOperation}} | |||
| |- | |||
| |{{tlc|CsgoOperation|hydrogen}} | |||
| |{{CsgoOperation|hydrogen}} | |||
| |} | |} | ||
| {| class="standard-table" | |||
| |+ Examples for {{param|2}} | |||
| {| class="standard-table  | !Code | ||
| ! | !Result | ||
| ! | |||
| |- | |- | ||
| | | |{{tlc|CsgoOperation|hydra|Entity added with}} | ||
| |{{CsgoOperation|hydra|Entity added with}} | |{{CsgoOperation|hydra|Entity added with}} | ||
| |- | |- | ||
| | | |{{tlc|CsgoOperation|hydra|Used in}} | ||
| |{{CsgoOperation|hydra|Used in}} | |{{CsgoOperation|hydra|Used in}} | ||
| |} | |} | ||
| === | |||
| {| class="standard-table" | |||
| |+ Examples for {{param|prefix}} | |||
| {| class="standard-table  | !Code | ||
| ! | !Result | ||
| ! | |- | ||
| |{{tlc|CsgoOperation|hydra|prefix{{=}}1}} | |||
| |{{CsgoOperation|hydra|prefix=1}} | |||
| |- | |||
| |{{tlc|CsgoOperation|hydra}} | |||
| |{{CsgoOperation|hydra}} | |||
| |} | |||
| {| class="standard-table" | |||
| |+ Examples for {{param|name}} | |||
| !Code | |||
| !Result | |||
| |- | |||
| |{{tlc|CsgoOperation|hydra|name{{=}}Operation hydrogen}} | |||
| |{{CsgoOperation|hydra|name=Operation hydrogen}} | |||
| |- | |- | ||
| |<nowiki>{{CsgoOperation|hydra| | |{{tlc|CsgoOperation|hydra}} | ||
| |{{CsgoOperation|hydra| | |{{CsgoOperation|hydra}} | ||
| |} | |||
| {| class="standard-table" | |||
| |+ Examples for {{param|icon}} | |||
| !Code | |||
| !Result | |||
| |- | |||
| |{{tlc|CsgoOperation|hydra|icon{{=}}<nowiki>[[File:Wildfire.png|32px]]</nowiki>}} | |||
| |{{CsgoOperation|hydra|icon=[[File:Wildfire.png|32px]]}} | |||
| |- | |||
| |{{tlc|CsgoOperation|hydra}} | |||
| |{{CsgoOperation|hydra}} | |||
| |} | |||
| {| class="standard-table" | |||
| |+ Examples for {{param|link}} | |||
| !Code | |||
| !Result | |||
| |- | |||
| |{{tlc|CsgoOperation|hydra|link{{=}}<nowiki>https://counterstrike.fandom.com/wiki/Operation_Hydra</nowiki>}} | |||
| |{{CsgoOperation|hydra|link=https://counterstrike.fandom.com/wiki/Operation_Hydra}} | |||
| |- | |- | ||
| | | |{{tlc|CsgoOperation|hydra}} | ||
| |{{CsgoOperation|hydra}} | |{{CsgoOperation|hydra}} | ||
| |} | |} | ||
Latest revision as of 03:44, 22 March 2024

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.
{{Shortcut|{{Cs2Operation}}
| Value for {{{1}}} | Short Result | |
|---|---|---|
| 1 | payback |  Operation Payback | 
| 2 | bravo |  Operation Bravo | 
| 3 | phoenix |  Operation Phoenix | 
| 4 | breakout |  Operation Breakout | 
| 5 | vanguard |  Operation Vanguard | 
| 6 | bloodhound |  Operation Bloodhound | 
| 7 | wildfire |  Operation Wildfire | 
| 8 | hydra |  Operation Hydra | 
| 9 | shatteredweb |  Operation Shattered Web | 
| 10 | brokenfang |  Operation Broken Fang | 
| 11 | riptide |  Operation Riptide | 
Usage
This template is used to insert the name and a link to a  Counter-Strike: Global Offensive operation, and in future,
 Counter-Strike: Global Offensive operation, and in future,  Counter-Strike 2 operation.
 Counter-Strike 2 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}} |  Operation Hydra | 
| {{CsgoOperation|shatteredweb}} |  Operation Shattered Web | 
| {{CsgoOperation|5}} |  Operation Vanguard | 
| {{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  Operation Hydra | 
| {{CsgoOperation|hydra|Used in}} | Used in  Operation Hydra | 
| Code | Result | 
|---|---|
| {{CsgoOperation|hydra|prefix=1}} | It's one of many new features added with the  Operation Hydra. | 
| {{CsgoOperation|hydra}} |  Operation Hydra | 
| Code | Result | 
|---|---|
| {{CsgoOperation|hydra|name=Operation hydrogen}} |  Operation hydrogen | 
| {{CsgoOperation|hydra}} |  Operation Hydra | 
| Code | Result | 
|---|---|
| {{CsgoOperation|hydra|icon=[[File:Wildfire.png|32px]]}} |  Operation Hydra | 
| {{CsgoOperation|hydra}} |  Operation Hydra | 
| Code | Result | 
|---|---|
| {{CsgoOperation|hydra|link=https://counterstrike.fandom.com/wiki/Operation_Hydra}} |  Operation Hydra | 
| {{CsgoOperation|hydra}} |  Operation Hydra |