A Wiki in the Desert
Log in

Difference between revisions of "Template:LabResourceRow"

From A Wiki in the Desert
 
(10 intermediate revisions by 3 users not shown)
Line 1: Line 1:
|- {{#ifeq: {{{5}}}|✘|style="background-color:#FFCCCC;"|}}
+
|- {{#ifeq: {{{6}}}|✔|style="background-color:#82e0aa;"|{{#ifeq: {{{5}}}|✘|style="background-color:#FFCCCC;"|}}}}
 +
| {{#ifeq: {{{5}}}|✘|{{{5}}}|{{{6}}}}}
 
| {{#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}}}}]]
 +
| {{#ask: [[{{{1}}}]] |?Has level#= |mainlabel=- |format=plainlist}}
 
| {{#ask: [[{{{1}}}]] |?Has location#= |mainlabel=- |format=plainlist}}
 
| {{#ask: [[{{{1}}}]] |?Has location#= |mainlabel=- |format=plainlist}}
 
| [[{{{2}}}]]
 
| [[{{{2}}}]]
 
| {{#expr:{{{4}}} - {{{3}}}}}
 
| {{#expr:{{{4}}} - {{{3}}}}}
| {{{5}}}
 
 
|-
 
|-

Latest revision as of 11:58, 5 August 2021

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