Template:Affinity: Difference between revisions
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 .
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 |
Additional properties for the image | 2 | Defines additional properties for the image. Can be used to set the style of the image
| Unbalanced wikitext | optional |