Template:ArkProjectsRow: Difference between revisions
From Mutant Year Zero
No edit summary Tag: Reverted |
mNo edit summary |
||
(33 intermediate revisions by 2 users not shown) | |||
Line 2: | Line 2: | ||
|- class="build{{{build|}}} | |- class="build{{{build|}}} | ||
| {{{requirement}}} | | {{{requirement}}} | ||
| | | data-sort-value="{{{build|-1}}}" | {{#switch: {{{build|}}} | ||
| 0 = ⚪ | | 0 = ⚪ | ||
| 1 = 🟡 | | 1 = 🟡 | ||
| 2 = 🟢 | | 2 = 🟢 | ||
| #default = 🚫 | | #default = 🚫 | ||
}} | }} | ||
| class="arkprojectname buildtext{{{build|}}}" | [[{{{name}}}]]<span class="tooltiptext">{{:{{{name}}}}}</span> | |||
| {{#if: {{{skill1|}}}|[[{{{skill1|}}}]]|}} {{#if: {{{skill2|}}}|or [[{{{skill2|}}}]]|}} | | {{#if: {{{skill1|}}}|[[{{{skill1|}}}]]|}} {{#if: {{{skill2|}}}|or [[{{{skill2|}}}]]|}} | ||
| {{#ifeq: {{ArkNumbers|{{{name}}}}} | work | {{{work|}}} | {{ArkNumbers|{{{name}}}}} }} | | {{#ifeq: {{ArkNumbers|{{{name}}}}} | work | {{{work|}}} | {{ArkNumbers|{{{name}}}}} }} | ||
| {{#if: {{{food|}}}|<span class="bonus food">{{{food|}}}</span>|}} | | data-sort-value="{{#replace:{{{food|}}}|d|0}}" | {{#if: {{{food|}}}|<span class="bonus food">{{{food|}}}</span>|}} | ||
| {{#if: {{{cult|}}}|<span class="bonus culture">{{{cult|}}}</span>|}} | | data-sort-value="{{#replace:{{{cult|}}}|d|0}}" | {{#if: {{{cult|}}}|<span class="bonus culture">{{{cult|}}}</span>|}} | ||
| {{#if: {{{tech|}}}|<span class="bonus tech">{{{tech|}}}</span>|}} | | data-sort-value="{{#replace:{{{tech|}}}|d|0}}" | {{#if: {{{tech|}}}|<span class="bonus tech">{{{tech|}}}</span>|}} | ||
| {{#if: {{{war|}}}|<span class="bonus warfare">{{{war|}}}</span>|}} | | data-sort-value="{{#replace:{{{war|}}}|d|0}}" | {{#if: {{{war|}}}|<span class="bonus warfare">{{{war|}}}</span>|}} | ||
| {{#ifeq:{{{special|0}}}|yes|★|}} | | {{#ifeq:{{{special|0}}}|yes|★|}} |