Template:Affinity: Difference between revisions
Jump to navigation
Jump to search
Content added Content deleted
(Forced Lower Case Letters For Image) |
(Fixed some values and defaults) |
||
Line 1:
<includeonly>{{#if:{{#pos:sabcd|{{lc:{{{1|}}}}}}}|[[File:Icon_mood_{{lc:{{{1|}}}}}.png|{{#if:
For unknown Values, it will be shown like {{Affinity|U}}.
<templatedata>
Line 13 ⟶ 15:
},
"2": {
"label": "
"description": "Defines
"example": "
"type": "
"default": "20px"
}
},
|
Revision as of 12:58, 28 April 2021
Call it like {{Affinity|a}}
to show an affinity like .
For unknown Values, it will be shown like ?.
Creates a smiley symbol indicating the affinity of an attribute.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Affinity | 1 | The affinity value (s,a,b,c,d; s for best, d for worst)
| String | required |
Size | 2 | Defines the size of the icon
| String | optional |