Template:Approval: Difference between revisions

From bg3.wiki
Jump to navigation Jump to search
(Add unspecified approval.)
No edit summary
Tag: Reverted
Line 3: Line 3:
{{#lvardef: min-w | 26 }}
{{#lvardef: min-w | 26 }}
{{#lvardef: max-h | 26 }}
{{#lvardef: max-h | 26 }}
}}<span style="display: inline-flex; align-items: center;"><span style="display: inline-flex; align-items: center; justify-content: center; min-width: {{#lvar:min-w}}px; height: {{#lvar:max-h}}px;">{{icon | {{{1}}} Approval.png | link = {{{1}}} | caption = {{{1}}} {{#switch:{{#lvar:direction}} |+= approves|-= disapproves}} | h = {{#lvar:max-h}} }}</span>&nbsp;{{Color|{{#switch:{{#lvar:direction}} |+= #3b8f1f |-= #cc3f49}} | {{{2|+}}} }}</span></includeonly><noinclude>[[Category:Templates]]
}}<span style="display: inline-flex; align-items: center;"><span style="display: inline-flex; align-items: center; justify-content: center; min-width: {{#lvar:min-w}}px; height: {{#lvar:max-h}}px;">{{icon | {{{1}}} Approval.png | link = {{{1}}} | caption = {{{1}}} {{#switch:{{#lvar:direction}} |+= approves|-= disapproves}} | h = {{{3|26}}} }}</span>&nbsp;{{Color|{{#switch:{{#lvar:direction}} |+= #3b8f1f |-= #cc3f49}} | {{{2|+}}} }}</span></includeonly><noinclude>[[Category:Templates]]
Use this template for approval ratings.
Use this template for approval ratings.


Line 16: Line 16:
{{InfoBlob|<nowiki>{{Approval|Astarion|+1}} {{Approval|Gale|+1}} {{Approval|Karlach|+1}} {{Approval|Laezel|+1}} {{Approval|Shadowheart|+1}} {{Approval|Wyll|+1}} {{Approval|Halsin|+1}} {{Approval|Minthara|+1}} {{Approval|Minsc|+1}} {{Approval|Jaheira|+1}}</nowiki>}} = {{Approval|Astarion|+1}} {{Approval|Gale|+1}} {{Approval|Karlach|+1}} {{Approval|Laezel|+1}} {{Approval|Shadowheart|+1}} {{Approval|Wyll|+1}} {{Approval|Halsin|+1}} {{Approval|Minthara|+1}} {{Approval|Minsc|+1}} {{Approval|Jaheira|+1}}
{{InfoBlob|<nowiki>{{Approval|Astarion|+1}} {{Approval|Gale|+1}} {{Approval|Karlach|+1}} {{Approval|Laezel|+1}} {{Approval|Shadowheart|+1}} {{Approval|Wyll|+1}} {{Approval|Halsin|+1}} {{Approval|Minthara|+1}} {{Approval|Minsc|+1}} {{Approval|Jaheira|+1}}</nowiki>}} = {{Approval|Astarion|+1}} {{Approval|Gale|+1}} {{Approval|Karlach|+1}} {{Approval|Laezel|+1}} {{Approval|Shadowheart|+1}} {{Approval|Wyll|+1}} {{Approval|Halsin|+1}} {{Approval|Minthara|+1}} {{Approval|Minsc|+1}} {{Approval|Jaheira|+1}}


If the number is not specified: {{Approval|Shadowheart}}
If the number is not specified: {{InfoBlob|<nowiki>{{Approval|Karlach}}</nowiki>}} = {{Approval|Karlach}}


If the icon needs to be adjusted in size: {{InfoBlob|<nowiki>{{Approval|Minthara|+1|40}}</nowiki>}} = {{Approval|Minthara|+1|40}}


<noinclude>
<noinclude>
Line 44: Line 45:
"example": "+1",
"example": "+1",
"required": true
"required": true
},
"3": {
"description": "(optional) Size of the item's icon. Default 26",
"type": "number"
}
}
}
}

Revision as of 14:19, 26 November 2023

Use this template for approval ratings.

{{Approval|Wyll|+1}} = Wyll approves +1

{{Approval|Halsin|+5}} = Halsin approves +5

{{Approval|Jaheira|+2}} = Jaheira approves +2

{{Approval|Lae'zel|-1}} = Lae'zel disapproves -1

{{Approval|Astarion|+1}} {{Approval|Gale|+1}} {{Approval|Karlach|+1}} {{Approval|Laezel|+1}} {{Approval|Shadowheart|+1}} {{Approval|Wyll|+1}} {{Approval|Halsin|+1}} {{Approval|Minthara|+1}} {{Approval|Minsc|+1}} {{Approval|Jaheira|+1}} = Astarion approves +1 Gale approves +1 Karlach approves +1 Laezel approves +1 Shadowheart approves +1 Wyll approves +1 Halsin approves +1 Minthara approves +1 Minsc approves +1 Jaheira approves +1

If the number is not specified: {{Approval|Karlach}} = Karlach approves +

If the icon needs to be adjusted in size: {{Approval|Minthara|+1|40}} = Minthara approves +1


No description.

Template parameters

ParameterDescriptionTypeStatus
11

NPC for whom the approval is for

Suggested values
Astarion Jaheira Minsc Minthara Gale Halsin Wyll Shadowheart Karlach Laezel
Example
Wyll
Unknownrequired
22

Approval Adjustment

Example
+1
Unknownrequired
33

(optional) Size of the item's icon. Default 26

Numberoptional