A Wiki in the Desert
Log in

Difference between revisions of "Template:LabResourceRow"

From A Wiki in the Desert
Line 1: Line 1:
|- {{#ifeq: {{{5}}}|✘|style="background-color:#FFCCCC;"|}}
+
|- {{#ifeq: {{{6}}}|✔|style="background-color:#2ECC71;"|{{#ifeq: {{{5}}}|✘|style="background-color:#FFCCCC;"|}}}}
 
| {{#ask: [[{{{1}}}]] |?Has number#= |mainlabel=- |format=plainlist}}
 
| {{#ask: [[{{{1}}}]] |?Has number#= |mainlabel=- |format=plainlist}}
 
| {{#vardefine:name|{{#ask: [[{{{1}}}]] |?Has name#= |mainlabel=- |format=plainlist}}}} [[{{{1}}}{{#if: {{#var:name}}|{{!}}{{#var:name}}}}]]
 
| {{#vardefine:name|{{#ask: [[{{{1}}}]] |?Has name#= |mainlabel=- |format=plainlist}}}} [[{{{1}}}{{#if: {{#var:name}}|{{!}}{{#var:name}}}}]]
Line 5: Line 5:
 
| [[{{{2}}}]]
 
| [[{{{2}}}]]
 
| {{#expr:{{{4}}} - {{{3}}}}}
 
| {{#expr:{{{4}}} - {{{3}}}}}
| {{{5}}}
+
| {{#ifeq: {{{5}}}|✘|{{{5}}}|{{{6}}}}}
 
|-
 
|-

Revision as of 21:09, 13 June 2021

|- | | [[{{{1}}}]] | | [[{{{2}}}]] | Expression error: Unrecognized punctuation character "{". | {{{6}}} |-