Difference between revisions of "Template:Infobox zkweapon"
Jump to navigation
Jump to search
Debug data:
(I don't think Shield Damage is in %. Revert if this is wrong.) |
|||
(9 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
<noinclude>[[Category:ZK Infoboxes]]</noinclude> | <noinclude>[[Category:ZK Infoboxes]]</noinclude> | ||
− | + | {{ infobox | subbox = yes | |
− | {{ infobox | ||
| abovestyle = background:#bbb; color:#000 | | abovestyle = background:#bbb; color:#000 | ||
| above = | | above = | ||
Line 23: | Line 22: | ||
| label22 = Damage per Second | | label22 = Damage per Second | ||
| data22 = {{ #if: {{{dps|}}}{{{empdps|}}}{{{slowdps|}}}{{{disarmdps|}}} | {{{dps|0}}} | }} {{#if: {{{empdps|}}} | + <span style="color: #bbf">{{{empdps|}}}</span> | }} {{#if: {{{slowdps|}}} | + <span style="color: #fbf">{{{slowdps|}}}</span> | }} {{#if: {{{disarmdps|}}} | + <span style="color: #ffb">{{{disarmdps|}}}</span> | }} | | data22 = {{ #if: {{{dps|}}}{{{empdps|}}}{{{slowdps|}}}{{{disarmdps|}}} | {{{dps|0}}} | }} {{#if: {{{empdps|}}} | + <span style="color: #bbf">{{{empdps|}}}</span> | }} {{#if: {{{slowdps|}}} | + <span style="color: #fbf">{{{slowdps|}}}</span> | }} {{#if: {{{disarmdps|}}} | + <span style="color: #ffb">{{{disarmdps|}}}</span> | }} | ||
− | | label23 = Shield Damage | + | | label23 = Shield Damage |
| data23 = {{{shielddamage|}}} | | data23 = {{{shielddamage|}}} | ||
| label24 = <span style="color: #fbb">Afterburn (s)</span> | | label24 = <span style="color: #fbb">Afterburn (s)</span> | ||
− | | data24 = {{ #if: {{{afterburn|}}} | <span style="color: #fbb">{{{afterburn|}}} ({{{afterburndps|}}} DPS)</span> | }} | + | | data24 = {{ #if: {{{afterburn|}}} | <span style="color: #fbb">{{{afterburn|}}} ({{{afterburndps|15}}} DPS)</span> | }} |
− | | label25 = Stun Time (s) | + | | label25 = Max Stun Time (s) |
| data25 = {{{stuntime|}}} | | data25 = {{{stuntime|}}} | ||
| label26 = Range (elmo) | | label26 = Range (elmo) | ||
Line 82: | Line 81: | ||
| data99 = {{{special9|}}} | | data99 = {{{special9|}}} | ||
}} | }} | ||
− | |||
<noinclude> | <noinclude> | ||
{{Documentation}} | {{Documentation}} | ||
<!-- Please add categories and interwiki links to /doc subpage, not here! --> | <!-- Please add categories and interwiki links to /doc subpage, not here! --> | ||
</noinclude> | </noinclude> |
Latest revision as of 07:58, 16 October 2024
{{{name}}} | |
---|---|
Damage | 0 |
Full blank syntax
{{ Infobox zkweapon <!-- Required fields --> | name = <!-- Optional fields --> | damage = | empdamage = | slowdamage = | disarmdamage = | reloadtime = | dps = | empdps = | slowdps = | disarmdps = | shielddamage = | afterburn = | afterburndps = | stuntime = | range = | aoe = | projectilespeed = | inaccuracy = | homing = | wobbly = | arcing = | firearc = | bursttime = <!-- leave blank for no, put anything for yes --> | antiair = | manualfire = | wateronly = <!-- 1-9 available for each --> | customlabel1 = | customdata1 = | special1 = | specialheadercolour = }}
Example
Pulse MG | |
---|---|
Damage | 36 (12 × 3) |
Reload Time (s) | 0.31 |
Damage per Second | 116 |
Range (elmo) | 185 |
Area of Effect (elmo) | 8 |
Projectile Speed (elmo/s) | 500 |
{{ Infobox zkweapon |name = Pulse MG |damage = 36 (12 × 3) |reloadtime = 0.31 |dps = 116 |range = 185 |aoe = 8 |projectilespeed = 500 }}
The above documentation is transcluded from Template:Infobox zkweapon/doc. (edit | history) Editors can experiment in this template's sandbox (edit | diff) and testcases (edit) pages. Please add categories to the /doc subpage. Subpages of this template. |
Debug data:
[SQLBagOStuff] MainObjectStash using store ReplicatedBagOStuff
[objectcache] MainWANObjectCache using store EmptyBagOStuff
IP: 18.191.174.190
Start request GET /mediawiki/index.php?diff=10036&oldid=795&title=Template%3AInfobox_zkweapon
HTTP HEADERS:
CONTENT-TYPE:
CONTENT-LENGTH: 0
PRIORITY: u=0, i
SEC-FETCH-DEST: document
SEC-FETCH-USER: ?1
SEC-FETCH-MODE: navigate
SEC-FETCH-SITE: none
UPGRADE-INSECURE-REQUESTS: 1
SEC-CH-UA-PLATFORM: "Windows"
SEC-CH-UA-MOBILE: ?0
SEC-CH-UA: "HeadlessChrome";v="129", "Not=A?Brand";v="8", "Chromium";v="129"
USER-AGENT: Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)
HOST: zero-k.info
ACCEPT-ENCODING: gzip, deflate, br, zstd
ACCEPT: text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.7
PRAGMA: no-cache
CONNECTION: close
CACHE-CONTROL: no-cache[localisation] LocalisationCache: using store LCStoreDB
[session] SessionManager using store SqlBagOStuff
[DBReplication] Cannot use ChronologyProtector with EmptyBagOStuff
[DBReplication] Wikimedia\Rdbms\LBFactory::getChronologyProtector: request info {
"IPAddress": "18.191.174.190",
"UserAgent": "Mozilla\/5.0 AppleWebKit\/537.36 (KHTML, like Gecko; compatible; ClaudeBot\/1.0; +claudebot@anthropic.com)",
"ChronologyProtection": false,
"ChronologyPositionIndex": 0,
"ChronologyClientId": false
}[DBConnection] Wikimedia\Rdbms\LoadBalancer::lazyLoadReplicationPositions: executed chronology callback.
[DBConnection] Wikimedia\Rdbms\LoadBalancer::getLocalConnection: connected to database 0 at 'localhost'.
[SQLBagOStuff] Connection mysql object #127 (handle id #121) will be used for SqlBagOStuff
[session] SessionBackend "3tb766ke8u33jcf9h4jvn88f2an7fb4i" is unsaved, marking dirty in constructor
[session] SessionBackend "3tb766ke8u33jcf9h4jvn88f2an7fb4i" save: dataDirty=1 metaDirty=1 forcePersist=0
[cookie] already deleted setcookie: "wikidb229_mw__session", "", "1714332949", "/", "", "", "1"
[cookie] already deleted setcookie: "wikidb229_mw_UserID", "", "1714332949", "/", "", "", "1"
[cookie] already deleted setcookie: "wikidb229_mw_Token", "", "1714332949", "/", "", "", "1"
[cookie] already deleted setcookie: "forceHTTPS", "", "1714332949", "/", "", "", "1"
[DBConnection] Wikimedia\Rdbms\LoadBalancer::getLocalConnection: connected to database 0 at 'localhost'.
Title::getRestrictionTypes: applicable restrictions to [[Template:Infobox zkweapon]] are {edit,move}
[ContentHandler] Created handler for wikitext: WikitextContentHandler
Article::view: showing diff page
DifferenceEngine old '795' new '10036' rcid ''
[MessageCache] MessageCache using store SqlBagOStuff
[SQLBagOStuff] Connection mysql object #127 (handle id #121) will be used for SqlBagOStuff
[SQLBagOStuff] Connection mysql object #127 (handle id #121) will be used for SqlBagOStuff
[SQLBagOStuff] Connection mysql object #127 (handle id #121) will be used for SqlBagOStuff
[SQLBagOStuff] Connection mysql object #127 (handle id #121) will be used for SqlBagOStuff
[SQLBagOStuff] SqlBagOStuff::lock failed due to timeout for wikidb229-mw_:messages:en.
[SQLBagOStuff] Connection mysql object #127 (handle id #121) will be used for SqlBagOStuff
[SQLBagOStuff] Connection mysql object #127 (handle id #121) will be used for SqlBagOStuff
[MessageCache] MessageCache::load: Loading en... local cache is empty, global cache is expired/volatile, loading from database
ParserFactory: using preprocessor: Preprocessor_Hash
Unstubbing $wgLang on call of $wgLang::_unstub from ParserOptions->__construct
DifferenceEngine old '0' new '0' rcid '0'
[GlobalTitleFail] MessageCache::parse called by DifferenceEngine->getMultiNotice/DifferenceEngine::intermediateEditsMsg/Message->parse/Message->toString/Message->parseText/MessageCache->parse with no title set.
WikiPage::getParserOutput: using parser cache: yes
[caches] parser: SqlBagOStuff
[SQLBagOStuff] Connection mysql object #127 (handle id #121) will be used for SqlBagOStuff
[SQLBagOStuff] Connection mysql object #127 (handle id #121) will be used for SqlBagOStuff
Parser cache options found.
[SQLBagOStuff] Connection mysql object #127 (handle id #121) will be used for SqlBagOStuff
[SQLBagOStuff] Connection mysql object #127 (handle id #121) will be used for SqlBagOStuff
ParserOutput cache found.
MediaWiki::preOutputCommit: primary transaction round committed
MediaWiki::preOutputCommit: pre-send deferred updates completed
MediaWiki::preOutputCommit: session changes committed
MediaWiki::preOutputCommit: LBFactory shutdown completed
Title::getRestrictionTypes: applicable restrictions to [[Template:Infobox zkweapon]] are {edit,move}