Difference between revisions of "Template:Test"

From War Thunder Wiki
Jump to: navigation, search
 
(One intermediate revision by the same user not shown)
Line 37: Line 37:
 
| {{#if:{{{rbMinHp|}}}|{{#expr:{{#replace:{{{rbMinHp}}}|,}}/{{#var:emptyweight}} round 2}}|__.__}}
 
| {{#if:{{{rbMinHp|}}}|{{#expr:{{#replace:{{{rbMinHp}}}|,}}/{{#var:emptyweight}} round 2}}|__.__}}
 
| {{#if:{{{rbMaxHp|{{Specs|engine|мощность|rb}}}}}|{{#expr:{{#replace:{{{rbMaxHp|{{Specs|engine|мощность|rb}}}}}}}/{{#replace:{{{weight|{{Specs|mass}}}}}}} round 2}}|__.__}}
 
| {{#if:{{{rbMaxHp|{{Specs|engine|мощность|rb}}}}}|{{#expr:{{#replace:{{{rbMaxHp|{{Specs|engine|мощность|rb}}}}}}}/{{#replace:{{{weight|{{Specs|mass}}}}}}} round 2}}|__.__}}
|}</includeonly><noinclude>{{User:U38088265/ammoTemplateTest|Type-83 HEAT|DTB-1|Type-83 HESH|GP105|Type-83 APDS|}}
+
|}</includeonly><noinclude>
{{Sp-begin|TemplateData}}
+
{{doc}}
<div style="text-align:left">
 
<templatedata>
 
{
 
    "params": {
 
        "1": {
 
            "label": "",
 
            "description": "",
 
            "type": "line",
 
            "required": true
 
        }
 
    },
 
    "description": "This template inserts a standardised ammunition characteristics table for the 105 mm WMA301. Enter ammunition name in numerical order (case sensitive), from a choice of: Type-83 HEAT, DTB-1, Type-83 HESH, GP105, Type-83 APDS."
 
}
 
</templatedata>
 
</div>
 
 
</noinclude>
 
</noinclude>

Latest revision as of 11:16, 27 June 2023