Template:CsgoOperation/doc: Difference between revisions
Jump to navigation
Jump to search
(→Examples: added some new examples) |
(Shortened page. Sortable tables make no sense here, because (they are short and) in some cases the sorting is done with the icon file names - not useful. Replaced "<nowiki>{{...}}</nowiki>" with "{{tlc|...}}".) |
||
Line 1: | Line 1: | ||
{{Documentation subpage}} | {{Documentation subpage}} | ||
<!-- 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 | |||
|- | |- | ||
|payback | |1 | ||
|payback | |||
|{{CsgoOperation|payback|short=1}} | |{{CsgoOperation|payback|short=1}} | ||
|- | |- | ||
|bravo | |2 | ||
|bravo | |||
|{{CsgoOperation|bravo|short=1}} | |{{CsgoOperation|bravo|short=1}} | ||
|- | |- | ||
|phoenix | |3 | ||
|phoenix | |||
|{{CsgoOperation|phoenix|short=1}} | |{{CsgoOperation|phoenix|short=1}} | ||
|- | |- | ||
|breakout | |4 | ||
|breakout | |||
|{{CsgoOperation|breakout|short=1}} | |{{CsgoOperation|breakout|short=1}} | ||
|- | |- | ||
|vanguard | |5 | ||
|vanguard | |||
|{{CsgoOperation|vanguard|short=1}} | |{{CsgoOperation|vanguard|short=1}} | ||
|- | |- | ||
|bloodhound | |6 | ||
|bloodhound | |||
|{{CsgoOperation|bloodhound|short=1}} | |{{CsgoOperation|bloodhound|short=1}} | ||
|- | |- | ||
|wildfire | |7 | ||
|wildfire | |||
|{{CsgoOperation|wildfire|short=1}} | |{{CsgoOperation|wildfire|short=1}} | ||
|- | |- | ||
|hydra | |8 | ||
|hydra | |||
|{{CsgoOperation|hydra|short=1}} | |{{CsgoOperation|hydra|short=1}} | ||
|- | |- | ||
|shatteredweb | |9 | ||
|shatteredweb | |||
|{{CsgoOperation|shatteredweb|short=1}} | |{{CsgoOperation|shatteredweb|short=1}} | ||
|- | |- | ||
|brokenfang | |10 | ||
|brokenfang | |||
|{{CsgoOperation|brokenfang|short=1}} | |{{CsgoOperation|brokenfang|short=1}} | ||
|- | |- | ||
|riptide | |11 | ||
|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 {{game name|csgo|name=Counter-Strike: Global Offensive}} 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|short}} - If defined, wipes the sentence prefix and full stop at the end. | |||
* {{param|disableop}} - If defined, hides the word "Operation" in the link text. | |||
===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}} | |{{CsgoOperation|5}} | ||
|- | |- | ||
| | |{{tlc|CsgoOperation}} | ||
|{{CsgoOperation}} | |{{CsgoOperation}} | ||
|- | |- | ||
| | |{{tlc|CsgoOperation|hydrogen}} | ||
|{{CsgoOperation|hydrogen}} | |{{CsgoOperation|hydrogen}} | ||
|} | |} | ||
{| class="standard-table" | |||
|+ Examples for {{param|2}} | |||
!Code | |||
{| class="standard-table | !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|short}} | |||
{| class="standard-table | !Code | ||
! | !Result | ||
! | |||
|- | |- | ||
| | |{{tlc|CsgoOperation|hydra|short=1}} | ||
|{{CsgoOperation|hydra|short=1}} | |{{CsgoOperation|hydra|short=1}} | ||
|- | |- | ||
| | |{{tlc|CsgoOperation|hydra}} | ||
|{{CsgoOperation|hydra}} | |{{CsgoOperation|hydra}} | ||
|} | |} |
Revision as of 11:15, 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.
- {{{short}}} - If defined, wipes the sentence prefix and full stop at the end.
- {{{disableop}}} - If defined, hides the word "Operation" in the link text.
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}}
|
![]() |
{{CsgoOperation|hydra}}
|
![]() |