Difference between revisions of "Template:Infobox zkweapon"
Jump to navigation
Jump to search
Debug data:
m (I give up) |
(I don't think Shield Damage is in %. Revert if this is wrong.) |
||
(3 intermediate revisions by 2 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|15}}} 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: 3.128.186.97
Start request GET /mediawiki/index.php?diff=cur&oldid=1196&title=Template%3AInfobox_zkweapon
HTTP HEADERS:
CONTENT-TYPE:
CONTENT-LENGTH: 0
USER-AGENT: Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)
HOST: zero-k.info
COOKIE: wikidb229_mw__session=53ks1qt8feeps4abbd2pt3a5riph2v9c
ACCEPT-ENCODING: gzip, br, zstd, deflate
ACCEPT: */*
CONNECTION: close[localisation] LocalisationCache: using store LCStoreDB
[session] SessionManager using store SqlBagOStuff
[session] Session "53ks1qt8feeps4abbd2pt3a5riph2v9c" requested without UserID cookie
[DBReplication] Cannot use ChronologyProtector with EmptyBagOStuff
[DBReplication] Wikimedia\Rdbms\LBFactory::getChronologyProtector: request info {
"IPAddress": "3.128.186.97",
"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 #126 (handle id #120) will be used for SqlBagOStuff
[SQLBagOStuff] Connection mysql object #126 (handle id #120) will be used for SqlBagOStuff
[DBConnection] Wikimedia\Rdbms\LoadBalancer::getLocalConnection: connected to database 0 at 'localhost'.
[localisation] LocalisationCache::isExpired(en): cache for en expired due to GlobalDependency
[localisation] LocalisationCache::recache: got localisation for en from source
[DBQuery] startAtomic: entering level 0 (LCStoreDB::finishWrite)
[DBQuery] endAtomic: leaving level 0 (LCStoreDB::finishWrite)
Title::getRestrictionTypes: applicable restrictions to [[Template:Infobox zkweapon]] are {edit,move}
[objectcache] Rejected set() for global:revision-row-1.29:wikidb229-mw_:208:10036 due to pending writes.
[objectcache] Rejected set() for global:NameTableSqlStore:slot_roles:wikidb229-mw_ due to pending writes.
[objectcache] Rejected set() for global:NameTableSqlStore:content_models:wikidb229-mw_ due to pending writes.
[ContentHandler] Created handler for wikitext: WikitextContentHandler
Article::view: showing diff page
DifferenceEngine old '1196' new 'cur' rcid ''
[MessageCache] MessageCache using store SqlBagOStuff
[SQLBagOStuff] Connection mysql object #126 (handle id #120) will be used for SqlBagOStuff
[SQLBagOStuff] Connection mysql object #126 (handle id #120) will be used for SqlBagOStuff
[SQLBagOStuff] Connection mysql object #126 (handle id #120) will be used for SqlBagOStuff
[SQLBagOStuff] Connection mysql object #126 (handle id #120) will be used for SqlBagOStuff
[DBQuery] Wikimedia\Rdbms\DatabaseMysqlBase::lock failed to acquire lock 'wikidb229-mw_:messages:en'
[SQLBagOStuff] SqlBagOStuff::lock failed due to timeout for wikidb229-mw_:messages:en.
[MessageCache] MessageCache::load: Loading en... local cache is empty, global cache is expired/volatile, loading from database, could not acquire main lock, using stale cache
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 #126 (handle id #120) will be used for SqlBagOStuff
[SQLBagOStuff] Connection mysql object #126 (handle id #120) will be used for SqlBagOStuff
Parser cache options found.
[SQLBagOStuff] Connection mysql object #126 (handle id #120) will be used for SqlBagOStuff
[SQLBagOStuff] Connection mysql object #126 (handle id #120) 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}