User:NamelessWonder/Sandbox/Template:CharacterInfo: Difference between revisions

From bg3.wiki
Jump to navigation Jump to search
No edit summary
No edit summary
 
(7 intermediate revisions by the same user not shown)
Line 77: Line 77:


<!-- passives -->
<!-- passives -->
{{#if:{{{passive1|}}}|
{{#if:{{{passive|}}}|
{{!}} colspan="2" align="center" style="font-size: 110%; background: #281C14; color: #C1A886;"  {{!}} '''Passive Features''' {{#vardefine: i | 0 }}{{#while:
{{!}} colspan="2" align="center" style="font-size: 110%; background: #281C14; color: #C1A886;"  {{!}} '''Passive Features'''
| {{{passive{{#var: i }} |}}}
{{!}}-
| {{#var: i}}{{#vardefine: i | {{#expr: {{#var: i }} + 1 }} }}
{{!}} colspan="2" style="padding-left: 38px; padding-right: 38px;" {{!}} {{{passive|}}}
}} | <!--blank--> }}
| {{#if:{{{passive1|}}}
  | {{!}} colspan="2" align="center" style="font-size: 110%; background: #281C14; color: #C1A886;"  {{!}} '''Passive Features''' {{#vardefine: i | 1 }}{{#while:
  | {{{passive{{#var: i }} |}}}
  | <nowiki></nowiki>
  {{!}}-
  {{!}} colspan="2" style="padding-left: {{#switch: {{{passive{{#var: i }}img|}}}
  | none=39px
  | {{#if:{{{passive{{#var: i }}img|}}}|8px|{{#ifexist: File:{{{passive{{#var: i }}}}} Icon.png|8px|39px}}}}
  }};" {{!}} {{#switch: {{{passive{{#var: i }}img|}}}
  | none=
  | {{#if:{{{passive{{#var: i }}img|}}} | {{Icon|{{{passive{{#var: i }}img}}}|24}}&nbsp; | {{#ifexist: File:{{{passive{{#var: i }}}}} Icon.png |{{Icon|{{{passive{{#var: i }}}}} Icon.png|24}}&nbsp;}}}}
  }} [[{{{passive{{#var: i }}link|{{#ifexist: {{{passive{{#var: i }}}}} (Passive Feature) | {{{passive{{#var: i }}}}} (Passive Feature) | {{{passive{{#var: i }}}}} }}}}}|{{{passive{{#var: i }}}}}]]
  {{#vardefine: i | {{#expr: {{#var: i }} + 1 }} }}
}} | <!--blank--> }} }}


<!-- resistances -->
<!-- resistances -->

Latest revision as of 21:37, 21 July 2023