Template:Affinity

Revision as of 03:06, 25 August 2021 by Electricsheep (talk | contribs) (Support SS affinity)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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 (ss,s,a,b,c,d; ss 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