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

From War Thunder Wiki
Jump to: navigation, search
(Changed to nameless parameters)
 
(11 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly>
+
<includeonly><div class="tree-item"><div class="tree-item-background">{{#switch: {{{3}}}
    <div class="tree-item">
+
| premium = [[File:Item_prem.png|link={{{2|}}}|class=tree-item-js]]
        <div class="tree-item-background">
+
| squad = [[File:Item_squad.png|link={{{2|}}}|class=tree-item-js]]
            {{#ifeq: {{#unit:{{{1|}}}|premium}} | 1 | [[File:Item_prem.png|link={{#unit:{{{1|}}}|статья}}|class=tree-item-js]] | {{#ifeq: {{#unit:{{{1|}}}|squadron}} | 1 |
+
| #default = [[File:Item_own.png|link={{{2|}}}|class=tree-item-js]]
            [[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" style="float: none; text-align: center; display: table; height: 48px"><div style="display:table-cell;vertical-align:middle;">{{{1}}}</div></div></div></includeonly>
        </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>
 

Latest revision as of 14:42, 30 January 2021