- Welcome to the Kancolle Wiki!
- If you have any questions regarding site content, account registration, etc., please visit the KanColle Wiki Discord
Difference between revisions of "Template:Ship/Banner"
Jump to navigation
Jump to search
(Added Template:AssetTemplateList) |
|||
(19 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
− | < | + | <noinclude>{{AssetTemplateList}}</noinclude><includeonly>{{Banner|{{{1|}}}|type=Ship|suffix1={{#if: {{{damaged|}}} | Damaged }}|text={{{text|}}}|caption={{{caption|}}}|small={{{small|}}}}}</includeonly><noinclude> |
− | Simplified version of [[Template:ShipBattleCardKai]]. Doesn't use Lua, so it's possible to have (practically) unlimited number of invokes on a page. | + | Inherited from [[Template:Banner]]. Simplified version of [[Template:ShipBattleCardKai]]. Doesn't use Lua, so it's possible to have (practically) unlimited number of invokes on a page. |
− | |||
− | |||
− | |||
− | < | + | ==Interface== |
− | + | *Supported parameters: ''[1]'', ''type'' (<code>Ship</code> or <code>Enemy</code>) ''link'', ''caption'', ''ring'', ''ring_glow'', ''damaged'', ''small'' (downscale HD card to Phase 1 size), ''debuffed'' (for enemies). | |
+ | *The following parameters can be added: ''name'', ''model'', ''grayscale'', ''mode''. | ||
+ | *Other layers also can be supported (''flagship'', etc.). | ||
+ | *Automatic enemy aircraft layers are not supported. | ||
− | <pre>{{ | + | ==Examples== |
− | {{ | + | <pre>{{Ship/Banner|Kasumi}}</pre> |
+ | {{Ship/Banner|Kasumi}} | ||
− | <pre>{{ | + | <pre>{{Ship/Banner|Kasumi/}}</pre> |
− | {{ | + | {{Ship/Banner|Kasumi/}} |
− | <pre>{{ | + | <pre>{{Ship/Banner|Jervis Kai}}</pre> |
− | {{ | + | {{Ship/Banner|Jervis Kai}} |
− | <pre>{{ | + | <pre>{{Ship/Banner|Jervis/Kai}}</pre> |
− | {{ | + | {{Ship/Banner|Jervis/Kai}} |
− | <pre>{{ | + | <pre>{{Ship/Banner|Jervis/Kai|damaged=true}}</pre> |
− | {{ | + | {{Ship/Banner|Jervis/Kai|damaged=true}} |
− | == | + | <pre>{{Ship/Banner|Kasumi/Kai Ni|text=Kachumi|ring=true|ring_glow=true}}</pre> |
− | + | {{Ship/Banner|Kasumi/Kai Ni|text=Kachumi|ring=true|ring_glow=true}} | |
− | + | ||
− | + | <pre>{{Ship/Banner|Kasumi/Kai Ni|caption=Kachumi|ring=true|ring_glow=true|damaged=true|small=true}}</pre> | |
− | + | {{Ship/Banner|Kasumi/Kai Ni|caption=Kachumi|ring=true|ring_glow=true|damaged=true|small=true}} | |
</noinclude> | </noinclude> |
Latest revision as of 15:49, 16 January 2021
[edit] | Asset Template List | ||||
---|---|---|---|---|---|
Template:Asset | Other Templates | ||||
Template:Banner | Template:Card | Template:Link | Others | ||
Inherited from Template:Banner. Simplified version of Template:ShipBattleCardKai. Doesn't use Lua, so it's possible to have (practically) unlimited number of invokes on a page.
Interface
- Supported parameters: [1], type (
Ship
orEnemy
) link, caption, ring, ring_glow, damaged, small (downscale HD card to Phase 1 size), debuffed (for enemies). - The following parameters can be added: name, model, grayscale, mode.
- Other layers also can be supported (flagship, etc.).
- Automatic enemy aircraft layers are not supported.
Examples
{{Ship/Banner|Kasumi}}
{{Ship/Banner|Kasumi/}}
{{Ship/Banner|Jervis Kai}}
{{Ship/Banner|Jervis/Kai}}
{{Ship/Banner|Jervis/Kai|damaged=true}}
{{Ship/Banner|Kasumi/Kai Ni|text=Kachumi|ring=true|ring_glow=true}}
{{Ship/Banner|Kasumi/Kai Ni|caption=Kachumi|ring=true|ring_glow=true|damaged=true|small=true}}