Template:Affinity: Difference between revisions
Support SS affinity
mNo edit summary |
(Support SS affinity) |
||
(One intermediate revision by one other user not shown) | |||
Line 1:
<includeonly>{{#if:{{#pos:
▲{{#if:{{#pos:sabcd|{{lc:{{{1|}}}}}}}|[[File:Icon_mood_{{lc:{{{1|}}}}}.png|{{#if:{{{2|}}}|{{{2|}}}|20px}}|class=affinity-icon|frameless|link=Affinity|alt={{uc:{{{1|}}}}}|{{uc:{{{1|}}}}} grade affinity]]|<span title="Unknown affinity">?</span>}}
For unknown Values, it will be shown like {{Affinity|U}}.
Line 10 ⟶ 8:
"1": {
"label": "Affinity",
"description": "The affinity value (ss,s,a,b,c,d;
"example": "a",
"type": "string",
Line 22 ⟶ 20:
"type": "string",
"default": "20px"
},
"valign": {
"label": "Vertical alignment",
"description": "Defines the vertical alignment of the image",
"example": "top",
"type": "string",
"default": "middle"
}
},
|