User:NamelessWonder/Sandbox/Template:CharacterInfo: Difference between revisions
Jump to navigation
Jump to search
(Created page with "<includeonly>{| class="infobox"; style="margin-left: 16px; width: 350px; text-align: left; font-size: 90%; float: right; background-color: #1B1B1B; color: #C1A886; margin-bottom: 0px;" cellspacing="0" cellpadding="2" {{#if:{{{title|}}}| {{!}}- {{!}} colspan="2" align="center" style="padding-top:0.25em;" {{!}} {{{title|}}} }} |- ! colspan="2" align="center" style="font-size: 130%; background: #281C14; color: #C1A886;" | {{{name}}} {{#if:{{{image|}}}| {{!}}- {{!}} colspa...") |
No edit summary |
||
(11 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<includeonly>{| class="infobox"; style="margin-left: 16px; width: 350px; text-align: left; font-size: 90%; float: right; background-color: #1B1B1B; color: #C1A886; margin-bottom: 0px;" cellspacing="0" cellpadding="2" | <includeonly>{| class="infobox"; style="margin-left: 16px; width: 350px; text-align: left; font-size: 90%; float: right; background-color: #1B1B1B; color: #C1A886; margin-bottom: 0px;" cellspacing="0" cellpadding="2" | ||
Line 290: | Line 81: | ||
{{!}}- | {{!}}- | ||
{{!}} 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 }} |}}} | |||
| <nowiki></nowiki> | |||
{{!}}- | |||
{{!}} colspan="2" style="padding-left: {{#switch: {{{passive{{#var: i }}img|}}} | |||
| none=39px | | none=39px | ||
| {{#if:{{{passive{{#var: i }}img|}}}|8px|{{#ifexist: File:{{{passive{{#var: i }}}}} Icon.png|8px|39px}}}} | | {{#if:{{{passive{{#var: i }}img|}}}|8px|{{#ifexist: File:{{{passive{{#var: i }}}}} Icon.png|8px|39px}}}} | ||
}};" {{!}} {{#switch: {{{passive{{#var: i }}img|}}} | |||
| 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 }} }} | |||
}} | <!--blank--> }} }} | }} | <!--blank--> }} }} | ||