Template:BasicCSseriesWeapon/doc: Difference between revisions
Jump to navigation
Jump to search
(Created doc.) |
No edit summary |
||
Line 3: | Line 3: | ||
__NOTOC__ | __NOTOC__ | ||
== Usage == | == Usage == | ||
This is a template used only for '''Weapon Entities''' that exist in | This is a template used only for '''Weapon Entities''' that exist in {{css|4}}, {{csgo|4}} and/or {{cs2|4}}. | ||
The templates {{ | The templates {{tl2|BasicCSSweapon}} and {{tl2|BasicCSGOweapon}} rely on this one. | ||
=== Parameters === | === Parameters === | ||
{| style=background:none | {| style=background:none | ||
| {{param | | {{param|1}} || - The name of the weapon (omitting the {{code|weapon_}} prefix) used for sorting in categories. | ||
|- | |- | ||
| {{param|csgo|1}} || - Whether {{csgo}} specific information should be shown. Default is 1. | | {{param|nocat|0}} || - Whether or not categories should be added to the entity page. | ||
|- | |||
| {{param|css|1}} || - Whether or not {{css}} specific information should be shown. Default is 1. | |||
|- | |||
| {{param|csgo|1}} || - Whether or not {{csgo}} specific information should be shown. Default is 1. | |||
|- | |||
| {{param|cs2|1}} || - Whether or not {{cs2}} specific information should be shown. Default is 1. | |||
|} | |} | ||
The result when setting | The result when setting all {{param|css}}, {{param|csgo}} and {{param|cs2}} to 0 is not supposed to be used. | ||
== Example == | == Example == |
Revision as of 04:11, 9 September 2023

This is a documentation subpage for Template:BasicCSseriesWeapon.
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.
Usage
This is a template used only for Weapon Entities that exist in Counter-Strike: Source,
Counter-Strike: Global Offensive and/or
Counter-Strike 2.
The templates {{BasicCSSweapon}} and {{BasicCSGOweapon}} rely on this one.
Parameters
The result when setting all {{{css}}}, {{{csgo}}} and {{{cs2}}} to 0 is not supposed to be used.
Example
KeyValuesCS:S / CS:GO Weapon:
Flags
InputsCS:GO Weapon:
OutputsCS:S / CS:GO Weapon:
|