Difference between revisions of "Template:Apparel Table Row"
Jump to navigation
Jump to search
(Coverage, Value/Work, Value/Material) |
|||
Line 5: | Line 5: | ||
| {{#if: {{{HeatA}}} | {{%|{{{HeatA}}} }} | {{#if: {{{HeatA2}}} | {{{HeatA2}}}% | – }} }} | | {{#if: {{{HeatA}}} | {{%|{{{HeatA}}} }} | {{#if: {{{HeatA2}}} | {{{HeatA2}}}% | – }} }} | ||
| {{#if: {{{Sharp}}} | {{%|{{{Sharp}}} }} | {{#if: {{{Sharp2}}} | {{{Sharp2}}}% | – }} }} | | {{#if: {{{Sharp}}} | {{%|{{{Sharp}}} }} | {{#if: {{{Sharp2}}} | {{{Sharp2}}}% | – }} }} | ||
− | | {{#if: {{{Cold}}} | {{%|{{{Cold}}} }} | {{#if: {{{Cold2}}} | {{Temperature|{{{Cold2}}}||delta}} | – }} }} | + | | {{#if: {{{Coverage}}} | {{{Coverage}}} | – }} |
− | | {{#if: {{{HeatI}}} | {{%|{{{HeatI}}} }} | {{#if: {{{HeatI2}}} | {{Temperature|{{{HeatI2}}}||delta}} | – }} }} | + | | {{#if: {{{Cold}}} | {{%|{{{Cold}}} }} | {{#if: {{{Cold2}}} | +{{Temperature|{{{Cold2}}}||delta}} | – }} }} |
+ | | {{#if: {{{HeatI}}} | {{%|{{{HeatI}}} }} | {{#if: {{{HeatI2}}} | +{{Temperature|{{{HeatI2}}}||delta}} | – }} }} | ||
| {{#if: {{{Research}}} | [[Research#{{{Research}}}|{{{Research}}}]] | – }} | | {{#if: {{{Research}}} | [[Research#{{{Research}}}|{{{Research}}}]] | – }} | ||
| data-sort-value="{{formatnum:{{{Work}}}|R}}" | {{#if: {{{Work}}} | {{Ticks|{{{Work}}} }} | – }} | | data-sort-value="{{formatnum:{{{Work}}}|R}}" | {{#if: {{{Work}}} | {{Ticks|{{{Work}}} }} | – }} | ||
| data-sort-value="{{{R1a}}}" | {{#if: {{{R1}}} | {{Required Resources|{{{?Name}}}|simple=1}} | – }} | | data-sort-value="{{{R1a}}}" | {{#if: {{{R1}}} | {{Required Resources|{{{?Name}}}|simple=1}} | – }} | ||
| data-sort-value="{{#vardefineecho:value | {{#if: {{{Value}}} | {{formatnum:{{{Value}}}|R}} | {{#if: {{Market Value Calculator|{{{?Name}}}|wood}} | {{Market Value Calculator|{{{?Name}}}|wood}} }} }} }}" | {{#if: {{#var:value}} | {{Icon Small|Silver}} {{#var:value}} | – }} | | data-sort-value="{{#vardefineecho:value | {{#if: {{{Value}}} | {{formatnum:{{{Value}}}|R}} | {{#if: {{Market Value Calculator|{{{?Name}}}|wood}} | {{Market Value Calculator|{{{?Name}}}|wood}} }} }} }}" | {{#if: {{#var:value}} | {{Icon Small|Silver}} {{#var:value}} | – }} | ||
+ | | {{#if: {{{Work}}} | {{#ifexpr: {{formatnum:{{{Work}}}|R}} > 0 | {{#if: {{#var:value}} | {{#expr: {{#var:value}} / {{formatnum:{{{Work}}}|R}} round 3}} | – }} | – }} | – }} | ||
+ | | {{#if: {{#var:value}} | {{#if: {{{R1a}}} | {{#expr: {{#var:value}} / {{{R1a}}} round 2}} | – }} | – }} | ||
|- | |- | ||
</includeonly> | </includeonly> | ||
Line 16: | Line 19: | ||
<noinclude> | <noinclude> | ||
{| {{STDT| sortable c_01 text-center}} | {| {{STDT| sortable c_01 text-center}} | ||
− | ! Name !! {{HP}} !! Armor - Blunt !! Armor - Heat !! Armor - Sharp !! Insulation - Cold !! Insulation - Heat !! Research requirement !! Work to Make !! Material Cost !! Base Market Value | + | ! Name !! {{HP}} !! Armor - Blunt !! Armor - Heat !! Armor - Sharp !! Coverage !! Insulation - Cold !! Insulation - Heat !! Research requirement !! Work to Make !! Material Cost !! Base Market Value !! Value/Work !! Value/Material |
|- | |- | ||
{{#ask: [[Type2::Clothing]] [[Layer::Headgear]] | mainlabel = Name | format = template | template = Headgear Table Row | named args = yes | link = none | {{#ask: [[Type2::Clothing]] [[Layer::Headgear]] | mainlabel = Name | format = template | template = Headgear Table Row | named args = yes | link = none | ||
Line 32: | Line 35: | ||
| ?Insulation - Cold Base = Cold2 | | ?Insulation - Cold Base = Cold2 | ||
| ?Insulation - Heat Base = HeatI2 | | ?Insulation - Heat Base = HeatI2 | ||
+ | | ?Coverage = Coverage | ||
| ?Required Research = Research | | ?Required Research = Research | ||
| ?Work To Make = Work | | ?Work To Make = Work |
Revision as of 09:03, 8 July 2022
Name | HP | Armor - Blunt | Armor - Heat | Armor - Sharp | Coverage | Insulation - Cold | Insulation - Heat | Research requirement | Work to Make | Material Cost | Base Market Value | Value/Work | Value/Material |
---|