Difference between revisions of "Template:Apparel Table Row"
Jump to navigation
Jump to search
(Coverage, Value/Work, Value/Material) |
(data-sort-values (a bit hacky), Layer) |
||
Line 2: | Line 2: | ||
! [[{{{?Name}}}]]{{#switch: {{{DLC}}} | Royalty (DLC) = {{RoyaltyIcon}} | Ideology (DLC) = {{IdeologyIcon}} | Royalty (DLC), Ideology (DLC) | Ideology (DLC), Royalty (DLC) = {{RoyaltyIcon}}{{IdeologyIcon}} }} | ! [[{{{?Name}}}]]{{#switch: {{{DLC}}} | Royalty (DLC) = {{RoyaltyIcon}} | Ideology (DLC) = {{IdeologyIcon}} | Royalty (DLC), Ideology (DLC) | Ideology (DLC), Royalty (DLC) = {{RoyaltyIcon}}{{IdeologyIcon}} }} | ||
| {{#if: {{{HP}}} | {{{HP}}} | – }} | | {{#if: {{{HP}}} | {{{HP}}} | – }} | ||
− | | {{#if: {{{Blunt}}} | {{%|{{{Blunt}}} }} | {{#if: {{{Blunt2}}} | {{{Blunt2}}}% | – }} }} | + | | data-sort-value="{{#if: {{{Blunt}}} | {{{Blunt}}} | {{#if: {{{Blunt2}}} | {{#expr:{{{Blunt2}}}-100}} }} }}" | {{#if: {{{Blunt}}} | ×{{%|{{{Blunt}}} }} | {{#if: {{{Blunt2}}} | {{{Blunt2}}}% | – }} }} |
− | | {{#if: {{{HeatA}}} | {{%|{{{HeatA}}} }} | {{#if: {{{HeatA2}}} | {{{HeatA2}}}% | – }} }} | + | | data-sort-value="{{#if: {{{HeatA}}} | {{{HeatA}}} | {{#if: {{{HeatA2}}} | {{#expr:{{{HeatA2}}}-100}} }} }}" | {{#if: {{{HeatA}}} | ×{{%|{{{HeatA}}} }} | {{#if: {{{HeatA2}}} | {{{HeatA2}}}% | – }} }} |
− | | {{#if: {{{Sharp}}} | {{%|{{{Sharp}}} }} | {{#if: {{{Sharp2}}} | {{{Sharp2}}}% | – }} }} | + | | data-sort-value="{{#if: {{{Sharp}}} | {{{Sharp}}} | {{#if: {{{Sharp2}}} | {{#expr:{{{Sharp2}}}-100}} }} }}" | {{#if: {{{Sharp}}} | ×{{%|{{{Sharp}}} }} | {{#if: {{{Sharp2}}} | {{{Sharp2}}}% | – }} }}<!-- |
+ | -->{{#ifeq: {{{Layer}}} | Headgear || {{!!}} {{{Layer}}} }} | ||
| {{#if: {{{Coverage}}} | {{{Coverage}}} | – }} | | {{#if: {{{Coverage}}} | {{{Coverage}}} | – }} | ||
− | | {{#if: {{{Cold}}} | {{%|{{{Cold}}} }} | {{#if: {{{Cold2}}} | | + | | data-sort-value="{{#if: {{{Cold}}} | {{{Cold}}} | {{#if: {{{Cold2}}} | {{#expr:{{{Cold2}}}-100}} }} }}" | {{#if: {{{Cold}}} | {{%|{{{Cold}}} }} | {{#if: {{{Cold2}}} | -{{Temperature|{{{Cold2}}}||delta}} | – }} }} |
− | | {{#if: {{{HeatI}}} | {{%|{{{HeatI}}} }} | {{#if: {{{HeatI2}}} | +{{Temperature|{{{HeatI2}}}||delta}} | – }} }} | + | | data-sort-value="{{#if: {{{HeatI}}} | {{{HeatI}}} | {{#if: {{{HeatI2}}} | {{#expr:{{{HeatI2}}}-100}} }} }}" | {{#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}}} }} | – }} | ||
Line 35: | Line 36: | ||
| ?Insulation - Cold Base = Cold2 | | ?Insulation - Cold Base = Cold2 | ||
| ?Insulation - Heat Base = HeatI2 | | ?Insulation - Heat Base = HeatI2 | ||
+ | | ?Layer = Layer | ||
+ | | ?Coverage = Coverage | ||
+ | | ?Required Research = Research | ||
+ | | ?Work To Make = Work | ||
+ | | ?Resource 1 = R1 | ||
+ | | ?Resource 1 Amount = R1a | ||
+ | | ?Market Value Base = Value | ||
+ | }} | ||
+ | |}</noinclude> | ||
+ | |||
+ | <noinclude> | ||
+ | {| {{STDT| sortable c_01 text-center}} | ||
+ | ! Name !! {{HP}} !! Armor - Blunt !! Armor - Heat !! Armor - Sharp !! Layer !! 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 | ||
+ | | ?Name = ?Name | ||
+ | | ?From DLC = DLC | ||
+ | | ?Max Hit Points Base = HP | ||
+ | | ?Armor Factor - Blunt = Blunt | ||
+ | | ?Armor Factor - Heat = HeatA | ||
+ | | ?Armor Factor - Sharp = Sharp | ||
+ | | ?Insulation Factor - Cold = Cold | ||
+ | | ?Insulation Factor - Heat = HeatI | ||
+ | | ?Armor - Blunt = Blunt2 | ||
+ | | ?Armor - Heat = HeatA2 | ||
+ | | ?Armor - Sharp = Sharp2 | ||
+ | | ?Insulation - Cold Base = Cold2 | ||
+ | | ?Insulation - Heat Base = HeatI2 | ||
+ | | ?Layer = Layer | ||
| ?Coverage = Coverage | | ?Coverage = Coverage | ||
| ?Required Research = Research | | ?Required Research = Research |
Revision as of 10:11, 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 |
---|
Name | HP | Armor - Blunt | Armor - Heat | Armor - Sharp | Layer | Coverage | Insulation - Cold | Insulation - Heat | Research requirement | Work to Make | Material Cost | Base Market Value | Value/Work | Value/Material |
---|