Template:Affinity: Difference between revisions

From Blue Archive Wiki
Jump to navigation Jump to search
Content added Content deleted
(Added some documentation and examples)
(Forced Lower Case Letters For Image)
Line 1: Line 1:
<includeonly>[[File:Icon_mood_{{{1|}}}.png|{{#if: {{{2|}}} | {{{2|}}} | 20px}}|frameless|link=Affinity|alt={{uc:{{{1|}}}}}|{{uc:{{{1|}}}}} grade affinity]]</includeonly><noinclude>Call it like <code><nowiki>{{Affinity|a}}</nowiki></code> to show an affinity like {{Affinity|a}}.
<includeonly>[[File:Icon_mood_{{lc:{{{1|}}}}}.png|{{#if: {{{2|}}} | {{{2|}}} | 20px}}|frameless|link=Affinity|alt={{uc:{{{1|}}}}}|{{uc:{{{1|}}}}} grade affinity]]</includeonly><noinclude>Call it like <code><nowiki>{{Affinity|a}}</nowiki></code> to show an affinity like {{Affinity|a}}.


<templatedata>
<templatedata>

Revision as of 11:07, 28 April 2021

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

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
Additional properties for the image2

Defines additional properties for the image. Can be used to set the style of the image

Example
class="right-float"
Unbalanced wikitextoptional