Template:Affinity

From Blue Archive Wiki
Revision as of 14:29, 28 April 2021 by Messing with data (talk | contribs) (Removed paragraphing the image, added valign parameter)
Jump to navigation Jump to search

Call it like {{Affinity|a}} to show an affinity like A.

For unknown Values, it will be shown like ?.

Creates a smiley symbol indicating the affinity of an attribute.

Template parameters[Edit template data]

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
Affinity1

The affinity value (s,a,b,c,d; s for best, d for worst)

Example
a
Stringrequired
Size2

Defines the size of the icon

Default
20px
Example
40px
Stringoptional
Vertical alignmentvalign

Defines the vertical alignment of the image

Default
middle
Example
top
Stringoptional