Difference between revisions of "Template:LabResourceRow"
From A Wiki in the Desert
Line 1: | Line 1: | ||
|- {{#ifeq: {{{6}}}|✔|style="background-color:#82e0aa;"|{{#ifeq: {{{5}}}|✘|style="background-color:#FFCCCC;"|}}}} | |- {{#ifeq: {{{6}}}|✔|style="background-color:#82e0aa;"|{{#ifeq: {{{5}}}|✘|style="background-color:#FFCCCC;"|}}}} | ||
− | | {{# | + | | {{#ifeq: {{{5}}}|✘|{{{5}}}|{{{6}}}}} |
| {{#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}}}}]] | ||
| {{#ask: [[{{{1}}}]] |?Has location#= |mainlabel=- |format=plainlist}} | | {{#ask: [[{{{1}}}]] |?Has location#= |mainlabel=- |format=plainlist}} | ||
| [[{{{2}}}]] | | [[{{{2}}}]] | ||
| {{#expr:{{{4}}} - {{{3}}}}} | | {{#expr:{{{4}}} - {{{3}}}}} | ||
− | | {{# | + | | {{#ask: [[{{{1}}}]] |?Has number#= |mainlabel=- |format=plainlist}} |
|- | |- |
Revision as of 02:19, 24 June 2021
|- | {{{6}}} | [[{{{1}}}]] | | [[{{{2}}}]] | Expression error: Unrecognized punctuation character "{". | |-