Difference between revisions of "User:Flame2512/Tree-Text"

From War Thunder Wiki
Jump to: navigation, search
(Undo revision 92249 by U13682523 (talk))
Line 1: Line 1:
<includeonly><div class="tree-item"><div class="tree-item-background">{{#ifeq: {{#unit:{{{1|}}}|premium}} | 1 | [[File:Item_prem.png|link={{#unit:{{{1|}}}|статья}}|class=tree-item-js]] | {{#ifeq: {{#unit:{{{1|}}}|squadron}} | 1 | [[File:Item_squad.png|link={{#unit:{{{1|}}}|article}}|class=tree-item-js]] | [[File:Item_own.png|link={{#unit:{{{1|}}}|article}}|class=tree-item-js]] }} }}</div><div class="tree-item-text"><span class="tree-item-text-scroll">{{#if:{{#unit:{{{1|}}}|pseudonym}}|{{#unit:{{{1|}}}|pseudonym}}|{{{1|}}}}}</span></div><div class="tree-item-img">{{#unit:{{{1|}}}|icon}}</div></div></includeonly>
+
<includeonly><div class="tree-item"><div class="tree-item-background">{{#switch: {{{colour}}}
 +
| premium = [[File:Item_prem.png|link={{{link|}}}|class=tree-item-js]]
 +
| squad = [[File:Item_squad.png|link={{{link|}}}|class=tree-item-js]]
 +
| #default = [[File:Item_own.png|link={{{link|}}}|class=tree-item-js]]
 +
}}</div><div class="tree-item-text"><span class="tree-item-text-scroll">{{#if:{{#unit:{{{1|}}}|pseudonym}}|{{#unit:{{{1|}}}|pseudonym}}|{{{1|}}}}}</span></div><div class="tree-item-img">{{#unit:{{{1|}}}|icon}}</div></div></includeonly>

Revision as of 20:47, 28 January 2021