User:Lavaeolus/Sandbox: Difference between revisions

From bg3.wiki
Jump to navigation Jump to search
mNo edit summary
No edit summary
Line 1: Line 1:
{{trim|
<includeonly>{{trim|
{{#vardefine: icon | Portrait {{{1}}}.png }}
{{#vardefine: icon | Portrait {{{1}}}.png }}
{{#vardefine: link | {{{1}}} }}
{{#vardefine: link | {{{1}}} }}
{{#vardefine: text | {{{2}}} }}
{{#vardefine: text | ({{{2}}}) }}
{{#vardefine: min-w | 24  }}
{{#vardefine: direction | {{#sub:{{{2}}}|0|1}} }}
{{#vardefine: max-w | }}
{{#vardefine: min-w | 24 }}
{{#vardefine: max-h | 24 }}
{{#vardefine: max-h | 24 }}
}}{{#if:  | <span style="display: inline-flex; align-items: center; {{#if:  | gap: {{{gap}}}px; }}"> }}<span style="display: inline-flex; align-items: center; justify-content: center; min-width: {{#var:min-w}}px; height: {{#var:max-h}}px;">{{icon | {{#var:icon}} | link = {{#var:link}} | caption = {{#var:text}} | w = {{#var:max-w}} | h = {{#var:max-h}} }}</span>&nbsp;[[{{#var:link}}|{{#var:text}}]]{{#if:  | </span> }}
}}<span style="display: inline-flex; align-items: center;"><span style="display: inline-flex; align-items: center; justify-content: center; min-width: {{#var:min-w}}px; height: {{#var:max-h}}px;">{{icon | {{#var:icon}} | link = {{#var:link}} | caption = {{#var:text}} | h = {{#var:max-h}} }}</span>&nbsp;[[{{#var:link}}|{{#var:text}}]]</span></includeonly><noinclude>[[Category:Templates]]
Use this template for approval ratings.
 
{{InfoBlob|<nowiki>{{Approval|Wyll|+1}}</nowiki>}} = {{Approval|Wyll|+1}}
 
{{InfoBlob|<nowiki>{{Approval|Halsin|+5}}</nowiki>}} = {{Approval|Halsin|+5}}
 
{{InfoBlob|<nowiki>{{Approval|Jaheira|+2}}</nowiki>}} = {{Approval|Jaheira|+2}}
 
{{InfoBlob|<nowiki>{{Approval|Lae'zel|-1}}</nowiki>}} = {{Approval|Lae'zel|-1}}
 
{{InfoBlob|<nowiki>{{Approval|Laezel|+1}}</nowiki>}} = {{Approval|Laezel|+1}} doesn't matter how you spell her

Revision as of 22:22, 31 August 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|Laezel|+1}} = Laezel approves +1 doesn't matter how you spell her