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

From War Thunder Wiki
Jump to: navigation, search
(A copy of the tree-unit template for now)
 
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">
 +
            {{#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">Test</span></div>
 +
        <div class="tree-item-img">{{#unit:{{{1|}}}|icon}}</div>
 +
    </div>
 +
</includeonly>

Revision as of 20:32, 28 January 2021