Difference between revisions of "Template:Infobox zkunit"
Jump to navigation
Jump to search
Debug data:
m |
|||
(11 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
<noinclude>[[Category:ZK Infoboxes]]</noinclude> | <noinclude>[[Category:ZK Infoboxes]]</noinclude> | ||
− | |||
{{ infobox | {{ infobox | ||
Line 7: | Line 6: | ||
|subheaderstyle = | |subheaderstyle = | ||
|title = | |title = | ||
− | |above = {{{name}}}{{#if:{{{defname|}}}| | + | |above = {{{name}}}{{#if:{{{defname|}}}|<br>({{{defname}}})}} |
− | |subheader = {{{description|}}} | + | |subheader = {{#invoke:String|replace|{{{description|}}}| - |<hr> }} |
|imagestyle = | |imagestyle = | ||
|captionstyle = | |captionstyle = | ||
− | |image = {{unit image|{{{image|}}}}}{{#if:{{{icontype|}}}| <img src="//manual.zero-k.info/icons/{{{icontype}}}.png" height="48" | + | |image = {{unit image|{{{image|}}}|alt={{{name}}}}}{{#if:{{{icontype|}}}| {{#ifexist:File:Uniticon {{{icontype}}}.png|[[File:Uniticon {{{icontype}}}.png|x48px|alt={{{icontype|}}}|link=]]|<img src="//manual.zero-k.info/icons/{{{icontype}}}.png" height="48" alt="{{{icontype|}}}">}}|}} |
− | <!--(disabled as thumbnails | + | <!--(was disabled as thumbnails were not supported) [[File:Uniticon {{{icontype}}}.png|64px]] --> |
|caption = | |caption = | ||
Line 56: | Line 55: | ||
| data12 = {{{gridlink|}}} | | data12 = {{{gridlink|}}} | ||
− | | header40 = {{#if: {{{abilities|}}} | Abilities | }} | + | | header40 = {{#if: {{{abilities|}}} |Abilities|}} |
| data41 = {{{abilities|}}} | | data41 = {{{abilities|}}} | ||
Line 66: | Line 65: | ||
| label95 = Unitname | | label95 = Unitname | ||
| data95 = {{{unitname|}}} | | data95 = {{{unitname|}}} | ||
− | |||
− | |||
}} | }} | ||
− | |||
<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 21:06, 1 September 2024
{{{name}}} | |
---|---|
Stats | |
Weapons | |
None |
Full blank syntax
{{ Infobox zkunit <!-- Required fields --> name = <!-- Optional fields --> unitname = defname = description = image = icontype = cost = hitpoints = mass = movespeed = turnrate = energy = sight = sonar = transportable = altitude = gridlink = abilities = <!-- Get Template:Infobox zkability ### --> weapons = <!-- Get Template:Infobox zkweapon --> }}
Discrepancies between this representation and the context menu ingame: (The following list may not be exhaustive.)
- Ingame shields are represented as weapons.
- Ingame EMP/slow/disarm weapon damage is in the same entry as ordinary damage.
The above documentation is transcluded from Template:Infobox zkunit/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) 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.142.245.16
Start request GET /mediawiki/index.php?diff=9854&oldid=8544&title=Template%3AInfobox_zkunit
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=lfs9kell38v23jq9c9dehon8us4hkkmd
ACCEPT-ENCODING: gzip, br, zstd, deflate
ACCEPT: */*
CONNECTION: close[localisation] LocalisationCache: using store LCStoreDB
[session] SessionManager using store SqlBagOStuff
[session] Session "lfs9kell38v23jq9c9dehon8us4hkkmd" requested without UserID cookie
[DBReplication] Cannot use ChronologyProtector with EmptyBagOStuff
[DBReplication] Wikimedia\Rdbms\LBFactory::getChronologyProtector: request info {
"IPAddress": "3.142.245.16",
"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'.
Title::getRestrictionTypes: applicable restrictions to [[Template:Infobox zkunit]] are {edit,move}
[ContentHandler] Created handler for wikitext: WikitextContentHandler
Article::view: showing diff page
DifferenceEngine old '8544' new '9854' 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
[SQLBagOStuff] SqlBagOStuff::lock failed due to timeout for wikidb229-mw_:messages:en.
[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
[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 #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 zkunit]] are {edit,move}