71
editsMore actions
User:NamelessWonder/Sandbox/Template:CharacterInfo (edit)
Revision as of 21:36, 21 July 2023
, 21 July 2023no edit summary
No edit summary |
No edit summary |
||
Line 82: | Line 82: | ||
{{!}} colspan="2" style="padding-left: 38px; padding-right: 38px;" {{!}} {{{passive|}}} | {{!}} colspan="2" style="padding-left: 38px; padding-right: 38px;" {{!}} {{{passive|}}} | ||
| {{#if:{{{passive1|}}} | | {{#if:{{{passive1|}}} | ||
| {{!}} colspan="2" align="center" style="font-size: 110%; background: #281C14; color: #C1A886;" {{!}} '''Passive Features''' {{#vardefine: i | | | {{!}} colspan="2" align="center" style="font-size: 110%; background: #281C14; color: #C1A886;" {{!}} '''Passive Features''' {{#vardefine: i | 1 }}{{#while: | ||
| {{{passive{{#var: i }} |}}} | | {{{passive{{#var: i }} |}}} | ||
| | | | ||
{{!}}- | {{!}}- | ||
{{!}} colspan="2" style="padding-left: {{#switch: {{{passive{{#var: i }}img|}}} | {{!}} colspan="2" style="padding-left: {{#switch: {{{passive{{#var: i }}img|}}} | ||
Line 92: | Line 92: | ||
| none= | | none= | ||
| {{#if:{{{passive{{#var: i }}img|}}} | {{Icon|{{{passive{{#var: i }}img}}}|24}} | {{#ifexist: File:{{{passive{{#var: i }}}}} Icon.png |{{Icon|{{{passive{{#var: i }}}}} Icon.png|24}} }}}} | | {{#if:{{{passive{{#var: i }}img|}}} | {{Icon|{{{passive{{#var: i }}img}}}|24}} | {{#ifexist: File:{{{passive{{#var: i }}}}} Icon.png |{{Icon|{{{passive{{#var: i }}}}} Icon.png|24}} }}}} | ||
}} [[{{{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 }} }} | }} [[{{{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--> }} }} | }} | <!--blank--> }} }} | ||