Welcome to Wargaming.net Wiki!
Variants

Template:Portraitbox

Jump to: navigation, search
Documentation‎

This template creates a box with the portrait of a Commander centered underneath the name and ship. It uses the {{Portrait}} template.

Parameter

Parameter Description Default Status
size size of the portrait: 'size*42px'

possible values: 1, 2, 3 and 4

4 optional
type commander type

possible values: unique, seasoned or normal

normal optional
file filename of the image with extension

Ratio should be 160:147.

CAPT.png optional
name name of the commander Cap optional
ship Name of the assigned ship empty optional
margin margin of the element 5px optional

Example

{{Portraitbox|file=Commander_Hindenburg_H2020.png|name=Katrina Hush Gareth}}
displays:
Commander-bg-common.pngCommander_Hindenburg_H2020.pngCommander-overlay.png
Katrina Hush Gareth
{{Portraitbox|file=Commander_Hindenburg_H2020.png|size=3|name=Katrina Hush Gareth|ship=[[Erie]]}}
displays:
Commander-bg-common.pngCommander_Hindenburg_H2020.pngCommander-overlay.png
Katrina Hush Gareth
for Erie
Category: