This is a documentation for Board Game Arena: play board games online !
Template:GameIcon
Jump to navigation
Jump to search
Use this {{gameIcon}} template to display a game-specific image:
{{gameIcon
|tooltip=
|imageFileName=
|width=
|height=
|x=0
|y=0
|=
|textColor=black
|outlineColor=white
}}<noinclude>
[[Category:GameNameIcons|GameName icons]]
<noinclude>
Available parameters
Parameter
Default value
Example
Description
tooltipGame icon|tooltip=ResourceOptional: specify a tooltip to display on hover.
imageFileNamenull|imageFileName=JumpDriveIcons.pngwidthnull|width=30Required: specify the icon width in px units.
heightnull|height=30Required: specify the icon height in px units.
x0|x=60Optional: specify the x position in px units.
y0|y=30Optional: specify the y position in px units.
null​(zero width space)
|=2Optional: specify a text value e.g.
3.textColor#000(black)
|textColor=greenOptional: specify the text color as a CSS color e.g.
green.outlineColor#fff0(transparent white)
|outlineColor=greenOptional: specify the text outline color as a CSS color e.g.
green.Examples
Jump Drive
JumpDriveIcons.png
450×30 pixels
Genes
30×30 pixels
{{gameIcon
|tooltip=Genes
|imageFileName=JumpDriveIcons.png
|width=30
|height=30
|x=60
|y=0
|=3
|textColor=black
|outlineColor=white
}}<noinclude>
[[Category:JumpDriveIcons]]
<noinclude>
Space Station Phoenix
SpaceStationPhoenixIcons.png
700×100 pixels
Farm ship
85×50 pixels
{{gameIcon
|tooltip=Farm ship
|imageFileName=SpaceStationPhoenixIcons.png
|width=85
|height=50
|x=500
|y=50
}}<noinclude>
[[Category:SpaceStationPhoenixIcons]]
<noinclude>